Re: [R] obtaining prediction intervals from lrm() in rms library

2014-03-08 Thread Greg Snow
Depending on how you use the logistic regression this can be a silly question. Remember that the prediction interval is where you predict new observations to be. If you fit your logistic regression on data that is 0 or 1 (or FALSE/TRUE, etc.) then predictions for new data will be predictions of 0

[R] obtaining prediction intervals from lrm() in rms library

2014-03-07 Thread David Paul
Hi, Apologies if this is a silly question -- I am just now learning how to use some of the basic functions in the rms library. I have been using foo.dist <- datadist(foo.frame) options(datadist='foo.dist') lrm.model <- lrm(binary.outcome ~ rcs(contin.var,5)+categ.var, data = foo.f