[R] Prediction Error Calculation
just.struttin at gmail.com
Mon Oct 26 21:21:09 CET 2009
> Hello List,
> I am fitting a logistic regression model for some presence/absence type
> data. I have numerous covariates I am fitting to explain variation, and I
> am using AIC to rank models. However, I would like to report how well my
> best model (s) do at prediction. I have looked over the archives and the
> web and have come up with something that gives me what I think is the mean
> prediction error, BUT I am not sure of that. I am sort of unfamiliar with
> these types of statistics. Here is my code:
> family=binomial, data=metrics)## ##Type is my binary response 0 or 1
> ##assigns the fitted values a name muhat
> ##creates a the diagnostic values
> ###calculates cv.err
> My main problem is I am unsure how to interpret what cv.err means for my
> model. I know that h is a leverage statistic for each observation. I
> would appreciate some interpretation clarification.
> Thank you.
View this message in context: http://www.nabble.com/Prediction-Error-Calculation-tp26031236p26066845.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help