Logistic regression residuals

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Logistic regression residuals

Hello,

I would like to keep the residuals from a logistic regression. Is there an automated way or I have to construct them manually?

Thank you


Accepted Solutions
Solution
‎08-17-2014 12:40 PM
Trusted Advisor
Posts: 1,203

Re: Logistic regression residuals

Hi,

Add RESDEV option in output to keep residuals from logistic regression.

proc logistic data=have;

   model Y(event='1')=X;

output out=want(KEEP= Y pred dev) P=pred RESDEV=dev;

run;

View solution in original post


All Replies
Solution
‎08-17-2014 12:40 PM
Trusted Advisor
Posts: 1,203

Re: Logistic regression residuals

Hi,

Add RESDEV option in output to keep residuals from logistic regression.

proc logistic data=have;

   model Y(event='1')=X;

output out=want(KEEP= Y pred dev) P=pred RESDEV=dev;

run;

New Contributor
Posts: 2

Re: Logistic regression residuals

Thank you very much!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 189 views
  • 0 likes
  • 2 in conversation