Posted By

statsplank on 04/17/09


Tagged

proc sas reg predicted


Versions (?)

Predicted value and 95% CI for an individual prediction (PROC REG)


 / Published in: SAS
 

URL: http://support.sas.com/forums/thread.jspa?threadID=5453&tstart=0

  1. data source;
  2. input y x;
  3. datalines;
  4. 60 70
  5. 45 55
  6. 55 63
  7. 51 68
  8. . 73
  9. ;
  10.  
  11. proc reg data=source;
  12. model y=x;
  13. output out=predict
  14. p=y_pred
  15. LCL=y_95LCL
  16. UCL=y_95UCL ;
  17.  
  18. proc print data=predict(where=(y=.)) noobs;
  19. run;

Report this snippet  

You need to login to post a comment.