<?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 residuals in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411991#M21592</link>
    <description>&lt;P&gt;Residuals are actuals - estimate.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2017 16:15:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-11-09T16:15:17Z</dc:date>
    <item>
      <title>Logistic regression residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411978#M21589</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset which has been created with both predicted and actual values from a logistic regression model (the only other information in the dataset are the original inputs into the model).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset was already created so no PROC LOGISTIC / GLM has been used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know all of the individual parameters in the model and their estimates, however I need to do some analysis on the residuals which are not included in the dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably a longshot, but does anyone know how I could compute the residuals from these logistic regression model estimates and actuals?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 15:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411978#M21589</guid>
      <dc:creator>nathanb_1993</dc:creator>
      <dc:date>2017-11-09T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411988#M21591</link>
      <description>&lt;P&gt;I assume when you say you have the predicted values these are not predicted probabilities but some kind of classification based on the predicted probability.&amp;nbsp; If it is actually the predicted probability then you should be able to compute the residual in a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my assumption is correct then you could put the parameter estimates into a data set that is in the correct format for use as input into Proc LOGISTIC with the INEST= option and MAXITER=0.&amp;nbsp; You could then use the OUTPUT statement to recreate the predicted probabilities/residuals.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also use one of the methods here as well&amp;nbsp;&lt;A href="http://support.sas.com/kb/33/307.html" target="_blank"&gt;http://support.sas.com/kb/33/307.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:13:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411988#M21591</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2017-11-09T16:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411991#M21592</link>
      <description>&lt;P&gt;Residuals are actuals - estimate.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411991#M21592</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-09T16:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411992#M21593</link>
      <description>&lt;P&gt;You say you have the actual response values and all the inputs, which suggests you can simply refit the model in PROC LOGISTIC and use the OUTPUT statement to generate the regression diagnostics of interest.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/411992#M21593</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-11-09T16:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/412015#M21597</link>
      <description>Hi Reeza,&lt;BR /&gt;&lt;BR /&gt;Agreed, though due to this being a logistic regression, rather than simple liner, can it be computed in a manner as simple as this?&lt;BR /&gt;&lt;BR /&gt;I actually think my statistical knowledge is getting all a bit confused!</description>
      <pubDate>Thu, 09 Nov 2017 16:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/412015#M21597</guid>
      <dc:creator>nathanb_1993</dc:creator>
      <dc:date>2017-11-09T16:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic regression residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/412020#M21598</link>
      <description>&lt;P&gt;I believe so, but if you're really, really concerned, test it. Run one of the demo codes for logistic regressions and see if the residuals are the same calculating it both ways.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-regression-residuals/m-p/412020#M21598</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-09T16:54:14Z</dc:date>
    </item>
  </channel>
</rss>

