<?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: Logistic regression output interpretation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944557#M47189</link>
    <description>Maybe the refered level of Y variable is reversed.&lt;BR /&gt;model HHFS2_short(event='0')= SocIsoSS Age2 MarSta MinNum00_1;&lt;BR /&gt;and&lt;BR /&gt;model HHFS2_short(event='1')= SocIsoSS Age2 MarSta MinNum00_1;&lt;BR /&gt;has reverse result.&lt;BR /&gt;Make sure which level of Y you want to model.</description>
    <pubDate>Thu, 19 Sep 2024 06:28:00 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-09-19T06:28:00Z</dc:date>
    <item>
      <title>Logistic regression output interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944548#M47186</link>
      <description>&lt;P class="lia-align-left"&gt;Hello,&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I have this code:&lt;/P&gt;&lt;P class="lia-align-left"&gt;proc logistic data=home.finaldata;&lt;BR /&gt;class SocIsoSS Age2 MarSta MinNum00_1/ param=ref;&lt;BR /&gt;model HHFS2_short= SocIsoSS Age2 MarSta MinNum00_1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;HHFS2_short (secure) is coded as 0=yes 1=no while&amp;nbsp;SocIsoSS (isolation) 0=no, 1=yes.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;This is my output:&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class="lia-align-left"&gt;&lt;DIV align="center"&gt;Analysis of Maximum Likelihood EstimatesParameter &amp;nbsp; DF Estimate StandardError WaldChi-Square Pr&amp;nbsp;&amp;gt;&amp;nbsp;ChiSqIntercept &amp;nbsp;SocIsoSS 0Age2 1MarSta 1MinNum00_1 0&lt;/DIV&gt;&lt;DIV align="center"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="astudent_1-1726716358198.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100502iC3767AE8E6C15CED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="astudent_1-1726716358198.png" alt="astudent_1-1726716358198.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;What I think is the interpretation is that isolated individuals are more likely to be secure compared to those who are to isolated. since the probability being modeled is&amp;nbsp;HHFS2_short=0.&amp;nbsp; However, When I do a chisquare it looks like isolated individuals are more insecure than those who are not isolated which is the opposite of the logistics regression results.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;Here are the chisquare results:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV align="center"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="astudent_2-1726716427045.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/100503i0782A5EAAF86BAF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="astudent_2-1726716427045.png" alt="astudent_2-1726716427045.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the covariates in the logistic model to see if it made any difference, but the results are still the same. Is there something I am interpreting incorrectly?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Sep 2024 03:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944548#M47186</guid>
      <dc:creator>astudent</dc:creator>
      <dc:date>2024-09-19T03:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression output interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944557#M47189</link>
      <description>Maybe the refered level of Y variable is reversed.&lt;BR /&gt;model HHFS2_short(event='0')= SocIsoSS Age2 MarSta MinNum00_1;&lt;BR /&gt;and&lt;BR /&gt;model HHFS2_short(event='1')= SocIsoSS Age2 MarSta MinNum00_1;&lt;BR /&gt;has reverse result.&lt;BR /&gt;Make sure which level of Y you want to model.</description>
      <pubDate>Thu, 19 Sep 2024 06:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944557#M47189</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-19T06:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression output interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944579#M47190</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440104"&gt;@astudent&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440104"&gt;@astudent&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV class=""&gt;
&lt;DIV align="center"&gt;
&lt;P class="lia-align-left"&gt;What I think is the interpretation is that isolated individuals are more likely to be secure compared to those who are to isolated. since the probability being modeled is&amp;nbsp;HHFS2_short=0.&lt;/P&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why do you think that? The estimated odds ratio of 3.450 of "SocIsoSS 0 vs. 1" for being secure (&lt;SPAN&gt;HHFS2_short=0) and its lower confidence limit are clearly greater than one, so -- adjusted for the other covariates -- we would expect a significantly higher percentage of "secure" individuals in the subgroup "SocIsoSS=0" ("non-isolated") than in the subgroup&amp;nbsp;"SocIsoSS=1"&amp;nbsp;("isolated"). This is consistent with your cross tabulation of&amp;nbsp;SocIsoSS and HHFS2_short: The corresponding empirical odds ratio ignoring the other covariates is &lt;FONT face="courier new,courier"&gt;151*125/(58*79)=4.119&lt;/FONT&gt;... (again, clearly greater than 1) and the percentages of&amp;nbsp;"secure" individuals are 65.65 (among the "non-isolated") vs. 31.69&amp;nbsp;(among the "isolated").&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 11:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944579#M47190</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-09-19T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression output interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944601#M47191</link>
      <description>Notice that the parameter for SocisoSS is for the 0 level as indicated by the 0 immediately between the variable name and the DF column. So, this positive parameter means that no isoloation (SocisoSS=0) increases the log odds (and probability) of being secure (HHFS2_short=0). &lt;BR /&gt;&lt;BR /&gt;Whenever you model a binary response, either with PROC LOGISTIC or any of the other procedures that can fit such models, you should ALWAYS use the EVENT= response option to specifically set the level of the response that you are modeling. This will let you be sure of what you are modeling and to ease interpretation. It is also useful to use the REF= option following each CLASS variable to specify the reference level for that variable. So, interpretation might be more intuitive for you with this code (you might want to specify REF= for the other CLASS variables too):&lt;BR /&gt;&lt;BR /&gt;proc logistic data=home.finaldata;&lt;BR /&gt;class SocIsoSS(ref='0') Age2 MarSta MinNum00_1/ param=ref;&lt;BR /&gt;model HHFS2_short(event='0')= SocIsoSS Age2 MarSta MinNum00_1;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Alternatively for 0,1-coded predictors, it is easier to just remove them from the CLASS statement since they are already dummy variables and don't need the CLASS statement to make a new dummy variable for them.</description>
      <pubDate>Thu, 19 Sep 2024 14:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944601#M47191</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-09-19T14:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression output interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944674#M47196</link>
      <description>&lt;P&gt;This was very helpful. Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 21:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-output-interpretation/m-p/944674#M47196</guid>
      <dc:creator>astudent</dc:creator>
      <dc:date>2024-09-19T21:03:57Z</dc:date>
    </item>
  </channel>
</rss>

