Message-ID: <39B6DDB9048D0F4DAD42CB26AAFF0AFA07380CB8@usctmx1106.merck.com>
Date: 2009-05-05T14:24:11Z
From: Liaw, Andy
Subject: calibration plot
In-Reply-To: <601718.14918.qm@web58407.mail.re3.yahoo.com>
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}}