<?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 Proc Surveylogistic Link=Glogit: Are the &amp;quot;Odds Ratio Estimates&amp;quot; actually Relative Risk Ratios (RRRs) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/956741#M47892</link>
    <description>&lt;P&gt;Hi SAS Community,&lt;/P&gt;
&lt;P&gt;I am currently running a multinomial logistic regression analysis using &lt;CODE&gt;PROC SURVEYLOGISTIC&lt;/CODE&gt; with &lt;CODE&gt;LINK=GLOGIT&lt;/CODE&gt;. The dependent variable (&lt;CODE&gt;group&lt;/CODE&gt;) has 4 categories (1, 2, 3, 4), with category 4 as the reference group. All covariates are categorical except for age, which is continuous. Below is my SAS code and log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc surveylogistic data=mydata;
    class group(ref='4') RArace(ref=first) ragender(ref=last) 
          RAEDUC4(ref=last) HwATOTBcd(ref=last) RWSTROKE(ref=first) 
          RWDIABE(ref=first) RWHEARTE(ref=first) RWHIBPE(ref=first) 
          BMIcd(ref='2.18.5-24.9') flag_mixall_COH(ref=first) / param=ref;
    model group = flag_mixall_COH BLRAGEY RArace ragender RAEDUC4 HwATOTBcd 
                   RWSTROKE RWDIABE RWHEARTE RWHIBPE BMIcd / link=glogit df=infinity;
    weight RWTCRNH0_SD;
    cluster RAEHSAMP;
    strata RAESTRAT;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;NOTE: PROC SURVEYLOGISTIC is fitting the generalized logit&lt;BR /&gt;model. The logits modeled contrast each response category&lt;BR /&gt;against the reference category (GROUP=4).&lt;BR /&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;NOTE: Only one cluster in a stratum. The estimate of variance&lt;BR /&gt;will omit this stratum.&lt;BR /&gt;NOTE: Only one cluster in a stratum. The estimate of variance&lt;BR /&gt;will omit this stratum.&lt;BR /&gt;NOTE: Only one cluster in a stratum. The estimate of variance&lt;BR /&gt;will omit this stratum.&lt;BR /&gt;NOTE: PROCEDURE SURVEYLOGISTIC used (Total process time):&lt;BR /&gt;real time 0.61 seconds&lt;/CODE&gt;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;:&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Does the code look correct for my analysis, given that &lt;CODE&gt;group&lt;/CODE&gt; is nominal and I am accounting for survey design (weights, clusters, and strata)?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In the output, SAS provides a table titled "Odds Ratio Estimates." However, according to the SAS documentation, the generalized logit model for nominal outcomes is expressed as:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="_20250121072434.png" style="width: 862px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103876i5EF34E2010AAC080/image-size/large?v=v2&amp;amp;px=999" role="button" title="_20250121072434.png" alt="_20250121072434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Based on this formula, if I exponentiate the Maximum Likelihood Estimates, the resulting values should be &lt;STRONG&gt;Relative Risk Ratios (RRRs)&lt;/STRONG&gt;, not Odds Ratios (ORs), correct?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Could the "Odds Ratio Estimates" table in the SAS output be actually represent RRRs since I used &lt;CODE&gt;LINK=GLOGIT&lt;/CODE&gt;? If not, how can I compute RRRs?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Any other advice or clarifications about my code or understanding of the output?&lt;BR /&gt;&lt;BR /&gt;Thank you so much for your help! I want to ensure I am interpreting the results correctly and that my analysis setup is appropriate.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 12:31:54 GMT</pubDate>
    <dc:creator>YYK273</dc:creator>
    <dc:date>2025-01-21T12:31:54Z</dc:date>
    <item>
      <title>Proc Surveylogistic Link=Glogit: Are the "Odds Ratio Estimates" actually Relative Risk Ratios (RRRs)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/956741#M47892</link>
      <description>&lt;P&gt;Hi SAS Community,&lt;/P&gt;
&lt;P&gt;I am currently running a multinomial logistic regression analysis using &lt;CODE&gt;PROC SURVEYLOGISTIC&lt;/CODE&gt; with &lt;CODE&gt;LINK=GLOGIT&lt;/CODE&gt;. The dependent variable (&lt;CODE&gt;group&lt;/CODE&gt;) has 4 categories (1, 2, 3, 4), with category 4 as the reference group. All covariates are categorical except for age, which is continuous. Below is my SAS code and log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc surveylogistic data=mydata;
    class group(ref='4') RArace(ref=first) ragender(ref=last) 
          RAEDUC4(ref=last) HwATOTBcd(ref=last) RWSTROKE(ref=first) 
          RWDIABE(ref=first) RWHEARTE(ref=first) RWHIBPE(ref=first) 
          BMIcd(ref='2.18.5-24.9') flag_mixall_COH(ref=first) / param=ref;
    model group = flag_mixall_COH BLRAGEY RArace ragender RAEDUC4 HwATOTBcd 
                   RWSTROKE RWDIABE RWHEARTE RWHIBPE BMIcd / link=glogit df=infinity;
    weight RWTCRNH0_SD;
    cluster RAEHSAMP;
    strata RAESTRAT;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;NOTE: PROC SURVEYLOGISTIC is fitting the generalized logit&lt;BR /&gt;model. The logits modeled contrast each response category&lt;BR /&gt;against the reference category (GROUP=4).&lt;BR /&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;NOTE: Only one cluster in a stratum. The estimate of variance&lt;BR /&gt;will omit this stratum.&lt;BR /&gt;NOTE: Only one cluster in a stratum. The estimate of variance&lt;BR /&gt;will omit this stratum.&lt;BR /&gt;NOTE: Only one cluster in a stratum. The estimate of variance&lt;BR /&gt;will omit this stratum.&lt;BR /&gt;NOTE: PROCEDURE SURVEYLOGISTIC used (Total process time):&lt;BR /&gt;real time 0.61 seconds&lt;/CODE&gt;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;:&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Does the code look correct for my analysis, given that &lt;CODE&gt;group&lt;/CODE&gt; is nominal and I am accounting for survey design (weights, clusters, and strata)?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In the output, SAS provides a table titled "Odds Ratio Estimates." However, according to the SAS documentation, the generalized logit model for nominal outcomes is expressed as:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="_20250121072434.png" style="width: 862px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103876i5EF34E2010AAC080/image-size/large?v=v2&amp;amp;px=999" role="button" title="_20250121072434.png" alt="_20250121072434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Based on this formula, if I exponentiate the Maximum Likelihood Estimates, the resulting values should be &lt;STRONG&gt;Relative Risk Ratios (RRRs)&lt;/STRONG&gt;, not Odds Ratios (ORs), correct?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Could the "Odds Ratio Estimates" table in the SAS output be actually represent RRRs since I used &lt;CODE&gt;LINK=GLOGIT&lt;/CODE&gt;? If not, how can I compute RRRs?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Any other advice or clarifications about my code or understanding of the output?&lt;BR /&gt;&lt;BR /&gt;Thank you so much for your help! I want to ensure I am interpreting the results correctly and that my analysis setup is appropriate.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 12:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/956741#M47892</guid>
      <dc:creator>YYK273</dc:creator>
      <dc:date>2025-01-21T12:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic Link=Glogit: Are the "Odds Ratio Estimates" actually Relative Risk</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/956748#M47894</link>
      <description>&lt;P&gt;Based on the description you gave, the code appears to be correct.&lt;/P&gt;
&lt;P&gt;The reported odds ratios are actually odds ratios.&amp;nbsp; When you use the default effects coding for the CLASS variables then the OR are no longer calculated as Exp(Beta).&amp;nbsp; The LOGISTIC documentation has some further details on this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_logistic_details28.htm" target="_blank"&gt;SAS Help Center: Odds Ratio Estimation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as calculating the relative risk is concerned you should be able to use the approach detailed in this usage note.&amp;nbsp; The only difference would obviously be that you would use SURVEYLOGISTIC instead of LOGISTIC.&amp;nbsp; Using the STORE statement in SURVEYLOGISTIC should be sufficient for getting the MACRO all that it needs.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/57/798.html" target="_blank"&gt;57798 - Estimating relative risks in a multinomial response model&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:31:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/956748#M47894</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2025-01-21T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveylogistic Link=Glogit: Are the "Odds Ratio Estimates" actually Relative Risk</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/957119#M47936</link>
      <description>Thank you so much! Very helpful!</description>
      <pubDate>Fri, 24 Jan 2025 15:11:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveylogistic-Link-Glogit-Are-the-quot-Odds-Ratio/m-p/957119#M47936</guid>
      <dc:creator>YYK273</dc:creator>
      <dc:date>2025-01-24T15:11:54Z</dc:date>
    </item>
  </channel>
</rss>

