Hi guys,

I am trying to familiar myself with bootstrapping using rms package and
stuck on how to plot the bootstrap distribution. Would appreciate if
somebody could help.

Thanks in advance.

From
http://stats.stackexchange.com/questions/64788/interpreting-a-logistic-regression-model-with-multiple-predictors

library(rms)
mydata <- read.csv("http://www.ats.ucla.edu/stat/data/binary.csv";)
mylogit <- lrm(admit ~ gre, x=TRUE, y=TRUE, data = mydata)
mylogit
my.valid <- validate(mylogit, method="boot", B=1000)
my.valid
my.calib <- calibrate(mylogit, method="boot", B=1000)
my.calib

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to