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]]
Dear Abbas, Take a look at the results of require(Hmisc) require(Design) apropos("calibrate") ?calibrate ?plot.calibrate HTH, Jorge On Tue, May 5, 2009 at 9:41 AM, abbas tavassoli <tavassoli_85@yahoo.com>wrote:> 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@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. >[[alternative HTML version deleted]]
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. Andy 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}}
Apparently Analagous Threads
- find the important inputs to the neural network model in "nnet" package
- [RFC 10/16] drm/nouveau/timer: skip calibration on GK20A
- [PATCH 02/12] drm/nouveau/timer: skip calibration on GK20A
- [PATCH 02/12] drm/nouveau/timer: skip calibration on GK20A
- Calibration score for survival probability