[R] How to plot bootstrap distribution in rms package?

Eddie Smith eddieatr at gmail.com
Mon Dec 8 05:38:27 CET 2014


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]]



More information about the R-help mailing list