Programming the statistical procedures from SAS

Prediction Interval for Logistic Regression

Reply
New Contributor
Posts: 3

Prediction Interval for Logistic Regression

I want to obtain the predition interval of the predictive value for an individual case from the logistic regression model. In Proc Logistic, is the confidence limit obtained from output statement the confidence interval for the mean preditive value or the prediction interval for an individual case? If it is not the prediction interval how can I obtain it? It does not have both options that we can choose like Proc Reg.

 

Thank you.

hm

Grand Advisor
Posts: 16,933

Re: Prediction Interval for Logistic Regression

It's the confidence interval for a specific case/value. 

 

You can get the standard errors and probably need to calculate the prediction interval on your own unfortunately. 

New Contributor
Posts: 3

Re: Prediction Interval for Logistic Regression

Thank you!
Grand Advisor
Posts: 9,466

Re: Prediction Interval for Logistic Regression

Check SCORE statement 's CLM option.


proc logistic data=sashelp.class;
model sex=age weight height;
score data=sashelp.class out=want clm fitstat;
run;
proc print;run;


New Contributor
Posts: 3

Re: Prediction Interval for Logistic Regression

Thank you. SCORE provides the posterior probabilities and confidence intervals which shall work for my objective.
Ask a Question
Discussion stats
  • 4 replies
  • 216 views
  • 2 likes
  • 3 in conversation