<?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: Age as categorical Logistic regression in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513794#M73171</link>
    <description>&lt;P&gt;Does your log show any notes/warnings?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2018 06:54:35 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2018-11-16T06:54:35Z</dc:date>
    <item>
      <title>Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513785#M73170</link>
      <description>&lt;P&gt;Please i will appreciate if someone can help explain what happened here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran an adjusted model to get the Odds Ratio for these variables and i could not find the OR for age :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveylogistic data = second1;&lt;BR /&gt;weight fwc;&lt;BR /&gt;class sex (ref = '0') race(Ref = '0')age (ref= '0') premature(ref= '0') smokeInside (Ref= '0')&lt;BR /&gt;allergy(Ref = '0') AdultEducate (Ref = '0') ExclusiveBrstfd(Ref = '0') FPL (Ref='0');&lt;BR /&gt;Model asthma (event ='1') = age sex race premature allergy AdultEducate ExclusiveBrstFd FPL;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my initial Bivariate analysis, i got an OR for age.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I coded age groups "0-5", "6-11" "12-17" as 0, 1 and 2 respectively with 0 as my reference group.&lt;/P&gt;&lt;P&gt;Please can anyone explain what happened here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the output for the multivariate analysis without age.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 518px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24983iB19A78736529AADB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 542px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24984iFBC38EB8C4BA35A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 06:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513785#M73170</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2018-11-16T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513794#M73171</link>
      <description>&lt;P&gt;Does your log show any notes/warnings?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 06:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513794#M73171</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-11-16T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513797#M73172</link>
      <description>&lt;P&gt;NO. The Log did not show any warnings.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 07:10:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513797#M73172</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2018-11-16T07:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513890#M73175</link>
      <description>&lt;P&gt;Use PROC FREQ to doublecheck the levels of the AGE variable. Is it possible that AGE is continuous and that you named the recoded (binned) variable something else?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513890#M73175</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-11-16T14:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513932#M73178</link>
      <description>Show all the output, specifically, check the number of observations used as well as the design matrix.</description>
      <pubDate>Fri, 16 Nov 2018 15:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513932#M73178</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-16T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513949#M73179</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be a good idea to show HOW you created your age categories.&lt;/P&gt;
&lt;P&gt;I have seen this behavior when someone uses&amp;nbsp;code similar to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; if age in (1 2 3 4 5) then age=0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;similar for the other age groups&amp;gt;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for some reason ran that data step more than once, perhaps adding other recodes. The first pass would reduce the age range to 0,1,2. The second would then turn the 1 and 2 "groups" to the 0 group. So all values of "age" are now 0 and with one value 0 DF&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 16:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/513949#M73179</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-11-16T16:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Age as categorical Logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/514110#M73197</link>
      <description>&lt;P&gt;Thank you very much.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 07:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Age-as-categorical-Logistic-regression/m-p/514110#M73197</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2018-11-17T07:02:56Z</dc:date>
    </item>
  </channel>
</rss>

