[R] Question about validating predicted probabilities
noah at smartmediacorp.com
Fri Aug 21 21:36:04 CEST 2009
Frank was nice enough to point me to the val.prob function of the Design
It creates a beautiful graph that really helps me visualize how well my
model is predicting probabilities.
By default, there are two lines on the graph
1) fitted logistic calibration curve
2) nonparametric fit using lowess
Right now, the nonparametric line doesn't look very good.
The "fitted logistic" line looks great. It is right next to the "ideal"
If I am understanding the graph correctly, whatever transformation the
val.prob is doing to my predicted probability is making it really accurate.
Is there some standard function in R that will let me do the same
transformation? (I guess the long way around would be to tear into the
actual val.prob function and try to reverse engineer what he's doing.
But there must be something easier.)
Anybody have any suggestions?
More information about the R-help