<?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 questions about my logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31610#M1294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While it is strictly true that logistic regression does not give you an r-squared calculated the same as in ordinary least squares regression, you can get a pseudo- R2 using proc logistic. See here for example and a good explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman',serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; background-color: #ffffff; font-size: medium; display: inline ! important; float: none;"&gt;SAS gives the likelihood-based pseudo R-square measure and its rescaled measure.&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="color: #000000; font-family: 'Times New Roman',serif; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; background-color: #ffffff; font-size: medium;"&gt;&lt;A href="https://support.sas.com/pubscat/bookdetails.jsp?pc=57998"&gt;Categorical Data Analysis Using The SAS System&lt;/A&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman',serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; background-color: #ffffff; font-size: medium; display: inline ! important; float: none;"&gt;, by M. Stokes, C. Davis and G. Koch offers more details on how the generalized R-square measures that you can request are constructed and how to interpret them.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="font-family: 'Courier New',Courier,monospace; color: #000000; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; background-color: #ffffff; font-size: medium;"&gt;&lt;STRONG&gt;proc logistic data = hsb2;&lt;BR /&gt;&amp;nbsp; class prog(ref='1') /param = ref;&lt;BR /&gt;&amp;nbsp; model hiwrite(event='1') = female prog read math / rsq lackfit;&lt;BR /&gt;run;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ats.ucla.edu/stat/sas/seminars/sas_logistic/logistic1.htm"&gt;http://www.ats.ucla.edu/stat/sas/seminars/sas_logistic/logistic1.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2012 06:09:42 GMT</pubDate>
    <dc:creator>DrAnnmaria</dc:creator>
    <dc:date>2012-01-18T06:09:42Z</dc:date>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31607#M1291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I performed logistic regression on my data. The results show that Hosmer and Lemeshow Goodness-of-Fit Test, Global Null Hypothesis test and Analysis of Parameter Estimates are all significant. But the value of R^square is only 0.176. What does that means? Is My regression model valid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 03:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31607#M1291</guid>
      <dc:creator>MikeTurner</dc:creator>
      <dc:date>2012-01-18T03:14:26Z</dc:date>
    </item>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31608#M1292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The null hypothesis you are testing is that the parameter estimate = 0. That is all statistical significance means, that if the population value is 0 you would be expected to get these results less than 5% of the time. Significance is a function of both your sample size and variance. In brief, if you have a large number of people or a small population variance, your obtained value can be very close to zero and still statistically significant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, significant does not mean large, it just means probably not zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also interested that you consider .176 a small value for explained variance. How many variables do you have in your equation? What is your dependent variable? For most things in life, if I could explain 18% of the variance through a few variables I'd be so happy I would be tap-dancing. In reality, what four variables predicted your decision to post on this forum (oh, excuse me, community) or my decision to answer it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is certainly nothing to say that a model cannot have a pseudo-R2 of .176 and significant goodness of fit tests.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 04:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31608#M1292</guid>
      <dc:creator>DrAnnmaria</dc:creator>
      <dc:date>2012-01-18T04:57:39Z</dc:date>
    </item>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31609#M1293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my opinion.&lt;/P&gt;&lt;P&gt;R^square means nothing for logistic model.&lt;/P&gt;&lt;P&gt;Because R^square is calculated based on Normal Distribution, &lt;/P&gt;&lt;P&gt;whereas logistic model use logistic Distribution.&lt;/P&gt;&lt;P&gt;Also you can't do some Regression Test like Linear Regression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 05:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31609#M1293</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-01-18T05:12:34Z</dc:date>
    </item>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31610#M1294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While it is strictly true that logistic regression does not give you an r-squared calculated the same as in ordinary least squares regression, you can get a pseudo- R2 using proc logistic. See here for example and a good explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman',serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; background-color: #ffffff; font-size: medium; display: inline ! important; float: none;"&gt;SAS gives the likelihood-based pseudo R-square measure and its rescaled measure.&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="color: #000000; font-family: 'Times New Roman',serif; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; background-color: #ffffff; font-size: medium;"&gt;&lt;A href="https://support.sas.com/pubscat/bookdetails.jsp?pc=57998"&gt;Categorical Data Analysis Using The SAS System&lt;/A&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman',serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; background-color: #ffffff; font-size: medium; display: inline ! important; float: none;"&gt;, by M. Stokes, C. Davis and G. Koch offers more details on how the generalized R-square measures that you can request are constructed and how to interpret them.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="font-family: 'Courier New',Courier,monospace; color: #000000; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; background-color: #ffffff; font-size: medium;"&gt;&lt;STRONG&gt;proc logistic data = hsb2;&lt;BR /&gt;&amp;nbsp; class prog(ref='1') /param = ref;&lt;BR /&gt;&amp;nbsp; model hiwrite(event='1') = female prog read math / rsq lackfit;&lt;BR /&gt;run;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.ats.ucla.edu/stat/sas/seminars/sas_logistic/logistic1.htm"&gt;http://www.ats.ucla.edu/stat/sas/seminars/sas_logistic/logistic1.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 06:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31610#M1294</guid>
      <dc:creator>DrAnnmaria</dc:creator>
      <dc:date>2012-01-18T06:09:42Z</dc:date>
    </item>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31611#M1295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; DrAnnmaria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 06:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31611#M1295</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-01-18T06:41:47Z</dc:date>
    </item>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31612#M1296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is&amp;nbsp; "R-Square 0.1239&amp;nbsp;&amp;nbsp;&amp;nbsp; Max-rescaled R-Square 0.1654" in my results &lt;SPAN style="background-color: #ffffff;"&gt;pseudo- R2 you mentioned here?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 09:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31612#M1296</guid>
      <dc:creator>MikeTurner</dc:creator>
      <dc:date>2012-01-18T09:05:45Z</dc:date>
    </item>
    <item>
      <title>questions about my logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31613#M1297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The H-L goodness of fit test tests something different from the overall model fit test.&amp;nbsp; You want the H-L test to be non-significant, or, more precisely, you want it to be small. A large value of H-L indicates a problem with your model. SAS prints a table with details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The overall model test says whether your null can be rejected.&amp;nbsp; But be careful; statistical significance does NOT mean what many think it means. It is NOT the likelihood of the parameters being 0, it is the probability of getting results as extreme or more extreme as you got in a sample of your size drawn from a population where the parameter is 0. This is rarely a useful question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether a pseudo R2 of .18 is "large" depends on the field. In social sciences, it is pretty darn good. In physics, it would be lousy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of which illustrates the point that it is hard to answer a question like this sensibly without context. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 11:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/questions-about-my-logistic-regression/m-p/31613#M1297</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2012-01-23T11:41:02Z</dc:date>
    </item>
  </channel>
</rss>

