<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Class event parameter &amp;quot;1&amp;quot; not known error when running Logistic model in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551426#M8975</link>
    <description>&lt;P&gt;Hello ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me an example of what you mean? (how it can be handled another way).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, is it ok how I addressed it? (converting it?)&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 15:43:06 GMT</pubDate>
    <dc:creator>edasdfasdfasdfa</dc:creator>
    <dc:date>2019-04-16T15:43:06Z</dc:date>
    <item>
      <title>Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551147#M8925</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code. The response variable is L_Status and it is binary (0,1) but I keep getting an error in regards to event=1 and ref=1.&lt;/P&gt;&lt;P&gt;Error code is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;proc logistic data = traina;&lt;BR /&gt;class Gender Married N_Dependents Self_Employed Property Education (ref='1')/ param = ref;&lt;BR /&gt;model L_Status (event='1') = Credit_History N_Dependents Self_Employed L_Amount_Term Gender Married Property L_Amount Education Applicant Co_Applicant;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Class event parameter "1" not known.&lt;BR /&gt;NOTE: Procedure logistic step took :&lt;BR /&gt;real time : 0.002&lt;BR /&gt;cpu time : 0.000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;351 quit; run;&lt;BR /&gt;352 ODS _ALL_ CLOSE;&lt;BR /&gt;353 ODS _ALL_ CLOSE;&lt;BR /&gt;354 FILENAME WPSWBHTM TEMP;&lt;BR /&gt;NOTE: Writing HTML(WBHTML) BODY file C:\Users\ededic84\AppData\Local\Temp\WPS Temporary&lt;BR /&gt;Data\_TD576\#LN00015&lt;BR /&gt;355 ODS HTML(ID=WBHTML) BODY=WPSWBHTM GPATH="C:\Users\...&lt;BR /&gt;355 ! orary Data\_TD576";&lt;BR /&gt;356 proc logistic data = traina;&lt;BR /&gt;357 class Gender Married N_Dependents Self_Employed Property Education (ref='1')/ param =&lt;BR /&gt;357 ! ref;&lt;BR /&gt;358 model L_Status (event='1') = Credit_History N_Dependents Self_Employed L_Amount_Term&lt;BR /&gt;358 ! Gender Married Property L_Amount Education Applicant Co_Applicant;&lt;BR /&gt;359 run;&lt;BR /&gt;ERROR: Class event parameter "1" not known.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 17:48:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551147#M8925</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-15T17:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551194#M8931</link>
      <description>&lt;P&gt;The error, I suspect is for your 'Education' variable in the class statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 18:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551194#M8931</guid>
      <dc:creator>Rajesh3</dc:creator>
      <dc:date>2019-04-15T18:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551200#M8933</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is not it. I still get the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure why that would have been a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 18:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551200#M8933</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-15T18:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551209#M8934</link>
      <description>&lt;P&gt;You can also try this code instead if your outcome is coded as a numeric variable with 0 and 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; proc logistic data = traina desc;
class Gender Married N_Dependents Self_Employed Property Education (ref='1')/ param = ref;
model L_Status = Credit_History N_Dependents Self_Employed L_Amount_Term Gender Married Property L_Amount Education Applicant Co_Applicant;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 19:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551209#M8934</guid>
      <dc:creator>Rajesh3</dc:creator>
      <dc:date>2019-04-15T19:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551211#M8936</link>
      <description>Sorry. That does not work. That is tough pretty much the same as my code.</description>
      <pubDate>Mon, 15 Apr 2019 19:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551211#M8936</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-15T19:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551212#M8937</link>
      <description>&lt;P&gt;So you mean, you got the same error when using the code I posted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed event='1' from your code and added 'desc' option in the first statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 19:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551212#M8937</guid>
      <dc:creator>Rajesh3</dc:creator>
      <dc:date>2019-04-15T19:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551235#M8940</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/201537"&gt;@edasdfasdfasdfa&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code. The response variable is L_Status and it is binary (0,1) but I keep getting an error in regards to event=1 and ref=1.&lt;/P&gt;
&lt;P&gt;Error code is below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;proc logistic data = traina;&lt;BR /&gt;class Gender Married N_Dependents Self_Employed Property Education (ref='1')/ param = ref;&lt;BR /&gt;model L_Status (event='1') = Credit_History N_Dependents Self_Employed L_Amount_Term Gender Married Property L_Amount Education Applicant Co_Applicant;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Class event parameter "1" not known.&lt;BR /&gt;NOTE: Procedure logistic step took :&lt;BR /&gt;real time : 0.002&lt;BR /&gt;cpu time : 0.000&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;351 quit; run;&lt;BR /&gt;352 ODS _ALL_ CLOSE;&lt;BR /&gt;353 ODS _ALL_ CLOSE;&lt;BR /&gt;354 FILENAME WPSWBHTM TEMP;&lt;BR /&gt;NOTE: Writing HTML(WBHTML) BODY file C:\Users\ededic84\AppData\Local\Temp\WPS Temporary&lt;BR /&gt;Data\_TD576\#LN00015&lt;BR /&gt;355 ODS HTML(ID=WBHTML) BODY=WPSWBHTM GPATH="C:\Users\...&lt;BR /&gt;355 ! orary Data\_TD576";&lt;BR /&gt;356 proc logistic data = traina;&lt;BR /&gt;357 class Gender Married N_Dependents Self_Employed Property Education (ref='1')/ param =&lt;BR /&gt;357 ! ref;&lt;BR /&gt;358 model L_Status (event='1') = Credit_History N_Dependents Self_Employed L_Amount_Term&lt;BR /&gt;358 ! Gender Married Property L_Amount Education Applicant Co_Applicant;&lt;BR /&gt;359 run;&lt;BR /&gt;ERROR: Class event parameter "1" not known.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What are the actual values of your EDUCATION variable?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 20:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551235#M8940</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-15T20:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551263#M8949</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I remove&amp;nbsp;&lt;SPAN&gt;event='1'&amp;nbsp;it says&amp;nbsp;Class reference parameter 1 not known.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, it is now complaining about the&amp;nbsp; (ref='1')/ param =&lt;BR /&gt;ref; part&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 21:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551263#M8949</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-15T21:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551264#M8950</link>
      <description>&lt;P&gt;Graduate and Not Graduate&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 21:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551264#M8950</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-15T21:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551274#M8953</link>
      <description>&lt;P&gt;Figured it out. For some reason my response variable was still character. I just converted it to numeric.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 22:06:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551274#M8953</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-15T22:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551281#M8955</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/201537"&gt;@edasdfasdfasdfa&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Figured it out. For some reason my response variable was still character. I just converted it to numeric.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Class variables can be character you just need to address the reference level correctly, such as the full text of a value or use keywords FIRST or LAST, though sort order of character may not yield the desired order until familiar with character sorting.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 23:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551281#M8955</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-15T23:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Class event parameter "1" not known error when running Logistic model</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551426#M8975</link>
      <description>&lt;P&gt;Hello ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me an example of what you mean? (how it can be handled another way).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, is it ok how I addressed it? (converting it?)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 15:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Class-event-parameter-quot-1-quot-not-known-error-when-running/m-p/551426#M8975</guid>
      <dc:creator>edasdfasdfasdfa</dc:creator>
      <dc:date>2019-04-16T15:43:06Z</dc:date>
    </item>
  </channel>
</rss>

