<?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 calculating stratum-specific ORs in logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/calculating-stratum-specific-ORs-in-logistic-regression/m-p/79807#M3806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I have the following model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=joe.extra2 order=formatted;&lt;/P&gt;&lt;P&gt;class tt (ref='&amp;lt;=2')/param=ref;&lt;/P&gt;&lt;P&gt;class race (ref='white')/param=ref;&lt;/P&gt;&lt;P&gt;class clinic (ref='austin')/param=ref;&lt;/P&gt;&lt;P&gt;class sex (ref='female')/param=ref;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;model a1ctri=tt race age clinic ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;strata sex;&lt;/P&gt;&lt;P&gt;where&amp;nbsp; sex ne . and race ne . and clinic ne . and age ne . and bmi ne . and smokingnew ne . and htn ne . and depression ne .&lt;/P&gt;&lt;P&gt;and dyslipidemia ne . and language ne . and insurance ne . and med ne . and visits ne . and years ne .;&lt;/P&gt;&lt;P&gt;format a1ctri a1ctri. tt tt. med med. sex sex. race race. clinic clinic. insurance insurance. &lt;/P&gt;&lt;P&gt;htn htn. dyslipidemia dyslipidemia. depression depression.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to get stratified results by SEX, with an odds ratio for each, how do I do it?&amp;nbsp; Just by specifying in the 'where' statement that sex=0?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 00:24:26 GMT</pubDate>
    <dc:creator>joebaker7</dc:creator>
    <dc:date>2013-07-16T00:24:26Z</dc:date>
    <item>
      <title>calculating stratum-specific ORs in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/calculating-stratum-specific-ORs-in-logistic-regression/m-p/79807#M3806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I have the following model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=joe.extra2 order=formatted;&lt;/P&gt;&lt;P&gt;class tt (ref='&amp;lt;=2')/param=ref;&lt;/P&gt;&lt;P&gt;class race (ref='white')/param=ref;&lt;/P&gt;&lt;P&gt;class clinic (ref='austin')/param=ref;&lt;/P&gt;&lt;P&gt;class sex (ref='female')/param=ref;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;model a1ctri=tt race age clinic ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;strata sex;&lt;/P&gt;&lt;P&gt;where&amp;nbsp; sex ne . and race ne . and clinic ne . and age ne . and bmi ne . and smokingnew ne . and htn ne . and depression ne .&lt;/P&gt;&lt;P&gt;and dyslipidemia ne . and language ne . and insurance ne . and med ne . and visits ne . and years ne .;&lt;/P&gt;&lt;P&gt;format a1ctri a1ctri. tt tt. med med. sex sex. race race. clinic clinic. insurance insurance. &lt;/P&gt;&lt;P&gt;htn htn. dyslipidemia dyslipidemia. depression depression.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to get stratified results by SEX, with an odds ratio for each, how do I do it?&amp;nbsp; Just by specifying in the 'where' statement that sex=0?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 00:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/calculating-stratum-specific-ORs-in-logistic-regression/m-p/79807#M3806</guid>
      <dc:creator>joebaker7</dc:creator>
      <dc:date>2013-07-16T00:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: calculating stratum-specific ORs in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/calculating-stratum-specific-ORs-in-logistic-regression/m-p/79808#M3807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use PROC SORT to sort by sex.&amp;nbsp; Then insert a&amp;nbsp;&amp;nbsp; BY sex; statement in your PROC LOGISTIC code.&amp;nbsp; Be sure to drop the STRATA statement because that has a different purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 12:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/calculating-stratum-specific-ORs-in-logistic-regression/m-p/79808#M3807</guid>
      <dc:creator>1zmm</dc:creator>
      <dc:date>2013-07-16T12:33:37Z</dc:date>
    </item>
  </channel>
</rss>

