<?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 Exact logistic in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635598#M21309</link>
    <description>&lt;P&gt;Hi there and good mrning from the Netherlands,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a novice user of the SAS University Edition and I have performed a logistic regression analysis with 176 cases, 1 dichotome dependent variable, of course, 5 categorical independent variables and 10 continuous independent variables. The results were, as expected, unreliable because of unusual high standard errors. So I decided to do a exact logistic procedure with the following code. However, after 2 1/2 hrs ths system had not yet replied with results. I could have waited for the default seven days but that would not be very practical.&lt;/P&gt;&lt;P&gt;My question is: which inefficiencies can be discovered in the code ?&lt;/P&gt;&lt;P&gt;Thank you very much for your suggestions.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nico Verhoef,&lt;/P&gt;&lt;P&gt;student&lt;/P&gt;&lt;P&gt;Open University.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods noproctitle;&lt;BR /&gt;ods graphics / imagemap=on;&lt;BR /&gt;&lt;BR /&gt;proc logistic data=WORK.IMPORT;&lt;BR /&gt;	class GENDER AGE PRACTYPE WORKHRS PRACYRS / param=glm;&lt;BR /&gt;	model EXC_PRES(event='1')=GENDER AGE PRACTYPE WORKHRS PRACYRS WAItot WAI1 WAI2 &lt;BR /&gt;		WAI3 WAI4 WAI5 WAI6 WAI7 EE DP / link=logit technique=fisher;&lt;BR /&gt;		exact GENDER AGE PRACTYPE WORKHRS PRACYRS WAItot WAI1 WAI2 &lt;BR /&gt;		WAI3 WAI4 WAI5 WAI6 WAI7 EE DP;&lt;BR /&gt;		exactoptions method=networkmc; &lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Mar 2020 09:28:16 GMT</pubDate>
    <dc:creator>nicophoenix</dc:creator>
    <dc:date>2020-03-29T09:28:16Z</dc:date>
    <item>
      <title>Exact logistic</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635598#M21309</link>
      <description>&lt;P&gt;Hi there and good mrning from the Netherlands,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a novice user of the SAS University Edition and I have performed a logistic regression analysis with 176 cases, 1 dichotome dependent variable, of course, 5 categorical independent variables and 10 continuous independent variables. The results were, as expected, unreliable because of unusual high standard errors. So I decided to do a exact logistic procedure with the following code. However, after 2 1/2 hrs ths system had not yet replied with results. I could have waited for the default seven days but that would not be very practical.&lt;/P&gt;&lt;P&gt;My question is: which inefficiencies can be discovered in the code ?&lt;/P&gt;&lt;P&gt;Thank you very much for your suggestions.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nico Verhoef,&lt;/P&gt;&lt;P&gt;student&lt;/P&gt;&lt;P&gt;Open University.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods noproctitle;&lt;BR /&gt;ods graphics / imagemap=on;&lt;BR /&gt;&lt;BR /&gt;proc logistic data=WORK.IMPORT;&lt;BR /&gt;	class GENDER AGE PRACTYPE WORKHRS PRACYRS / param=glm;&lt;BR /&gt;	model EXC_PRES(event='1')=GENDER AGE PRACTYPE WORKHRS PRACYRS WAItot WAI1 WAI2 &lt;BR /&gt;		WAI3 WAI4 WAI5 WAI6 WAI7 EE DP / link=logit technique=fisher;&lt;BR /&gt;		exact GENDER AGE PRACTYPE WORKHRS PRACYRS WAItot WAI1 WAI2 &lt;BR /&gt;		WAI3 WAI4 WAI5 WAI6 WAI7 EE DP;&lt;BR /&gt;		exactoptions method=networkmc; &lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 09:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635598#M21309</guid>
      <dc:creator>nicophoenix</dc:creator>
      <dc:date>2020-03-29T09:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exact logistic</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635611#M21311</link>
      <description>&lt;P&gt;You are using EXACT Logistic ,which is very expansive to build a model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;exact GENDER AGE PRACTYPE WORKHRS PRACYRS WAItot WAI1 WAI2 &lt;BR /&gt;		WAI3 WAI4 WAI5 WAI6 WAI7 EE DP;&lt;BR /&gt;		exactoptions method=networkmc;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Try another option .&lt;/P&gt;
&lt;P&gt;model y=x1 ........ /&amp;nbsp; FIRTH ;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 10:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635611#M21311</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-03-29T10:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exact logistic</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635673#M21318</link>
      <description>&lt;P&gt;You have too many variables for the number of observations in your data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You typically need 25 observations per variable as a general rule of thumb, which means you'd need at minimum 10*25 + 5*25 = 375 observations, assuming your categorical variables are binary. If they have more levels, then you need 25 observations for each level. So your estimates from this model will not be reliable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other options are to ensure you set your VM to two cores (the max you can specify) and as much RAM as possible from your system. I think the default is 1GB which would be slow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 17:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Exact-logistic/m-p/635673#M21318</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-29T17:50:55Z</dc:date>
    </item>
  </channel>
</rss>

