[R] How to retrieve bias-corrected probability from calibrate.rms

Frank Harrell f.harrell at vanderbilt.edu
Thu Sep 1 14:43:27 CEST 2011

cal <- calibrate(fit, ...); note that cal is a matrix.  colnames(cal) will
tell you what to pick, in this case cal[,'calibrated.corrected'].

Be sure to follow the posting guide.

yz wrote:
> Dear R users:
> In Prof. Harrell's library rms, calibrate.rms plot the Bias-corrected
> Probability and Apparent Probability.
> The latter one can be retrieved from class calibrate.default. But how to
> retrieve the former one.
> BW
> *Yao Zhu*
> *Department of Urology
> Fudan University Shanghai Cancer Center
> Shanghai, China*
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> 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.

Frank Harrell
Department of Biostatistics, Vanderbilt University
View this message in context: http://r.789695.n4.nabble.com/How-to-retrieve-bias-corrected-probability-from-calibrate-rms-tp3783160p3783420.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list