zhu yao
2011-Sep-01 09:51 UTC
[R] How to retrieve bias-corrected probability from calibrate.rms
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]]
Frank Harrell
2011-Sep-01 12:43 UTC
[R] How to retrieve bias-corrected probability from calibrate.rms
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. Frank 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.