[R] calibration plot

Liaw, Andy andy_liaw at merck.com
Tue May 5 16:24:11 CEST 2009

I believe something like:

scatter.smooth(est.prob, as.numeric(y == "level of interest"))

would be close.  You may want to use a larger span than default.


From: abbas tavassoli
> Hi, 
> I have a binary variable and corresponding predicted 
> probability (using 
> logistic regression on some explanatoey variables); 
> I want to check that the model is well-calibrated using a 
> calibration plot.
> how can I have the calibration plot for my data?
> thanks.
> 	[[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.
Notice:  This e-mail message, together with any attachme...{{dropped:12}}

More information about the R-help mailing list