<?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 Multilevel logistic regression oddsratio statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-logistic-regression-oddsratio-statement/m-p/479262#M25019</link>
    <description>&lt;P&gt;Can someone enlighten me as to why these different model statement specifications produce different results for some values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc glimmix data=deployments_and_dwells ic=pq;
	class randomid_adsaged dwellratio_cat(ref='low') officer2_begin marital_status_begin occupation_begin officer2_end marital_status_end occupation_end ;
	model ptsd (event="1") = dwellratio_cat dep_length_months count dwellratio_cat*count first_mos_begin waiver age sex 
		/ dist=binary link=logit ddfm=bw solution cl oddsratio;
	random intercept / subject = randomid_adsaged;
	covtest / wald;
	output out=nonmiss_data / nomiss;
	where prior_ptsd = 0;
run;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21850i04A49CD0CADE1438/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;proc glimmix data=deployments_and_dwells ic=pq oddsratio;
	class randomid_adsaged dwellratio_cat(ref='low') officer2_begin marital_status_begin occupation_begin officer2_end marital_status_end occupation_end ;
	model ptsd (event="1") = dwellratio_cat dep_length_months count dwellratio_cat*count first_mos_begin waiver age sex 
		/ dist=binary link=logit ddfm=bw solution cl oddsratio(label at count=1.6832 at dep_length_months=6.8143 at first_mos_begin=18.588 at waiver=0.5048 at age=19.791 at sex=0.9767);
	random intercept / subject = randomid_adsaged;
	covtest / wald;
	output out=nonmiss_data / nomiss;
	where prior_ptsd = 0;
run;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21852iAE829FA560785132/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 20:32:56 GMT</pubDate>
    <dc:creator>alevinrec</dc:creator>
    <dc:date>2018-07-18T20:32:56Z</dc:date>
    <item>
      <title>Multilevel logistic regression oddsratio statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-logistic-regression-oddsratio-statement/m-p/479262#M25019</link>
      <description>&lt;P&gt;Can someone enlighten me as to why these different model statement specifications produce different results for some values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc glimmix data=deployments_and_dwells ic=pq;
	class randomid_adsaged dwellratio_cat(ref='low') officer2_begin marital_status_begin occupation_begin officer2_end marital_status_end occupation_end ;
	model ptsd (event="1") = dwellratio_cat dep_length_months count dwellratio_cat*count first_mos_begin waiver age sex 
		/ dist=binary link=logit ddfm=bw solution cl oddsratio;
	random intercept / subject = randomid_adsaged;
	covtest / wald;
	output out=nonmiss_data / nomiss;
	where prior_ptsd = 0;
run;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21850i04A49CD0CADE1438/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;proc glimmix data=deployments_and_dwells ic=pq oddsratio;
	class randomid_adsaged dwellratio_cat(ref='low') officer2_begin marital_status_begin occupation_begin officer2_end marital_status_end occupation_end ;
	model ptsd (event="1") = dwellratio_cat dep_length_months count dwellratio_cat*count first_mos_begin waiver age sex 
		/ dist=binary link=logit ddfm=bw solution cl oddsratio(label at count=1.6832 at dep_length_months=6.8143 at first_mos_begin=18.588 at waiver=0.5048 at age=19.791 at sex=0.9767);
	random intercept / subject = randomid_adsaged;
	covtest / wald;
	output out=nonmiss_data / nomiss;
	where prior_ptsd = 0;
run;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21852iAE829FA560785132/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 20:32:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-logistic-regression-oddsratio-statement/m-p/479262#M25019</guid>
      <dc:creator>alevinrec</dc:creator>
      <dc:date>2018-07-18T20:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multilevel logistic regression oddsratio statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-logistic-regression-oddsratio-statement/m-p/480791#M25020</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first MODEL statement, the ODDSRATIO option evaluates the odds ratios where the continuous variables are set to their mean values.&amp;nbsp; In the second MODEL statement, the ODDSRATIO( at ... ) syntax evaluates the oddsratios at the specified values of the continuous variable. These are not the same values. For example,&amp;nbsp;first_mos_begin=18.588 and&amp;nbsp;age=19.791 are different values than in the first call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 13:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-logistic-regression-oddsratio-statement/m-p/480791#M25020</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-07-24T13:22:01Z</dc:date>
    </item>
  </channel>
</rss>

