[R] function cv.glm in library 'boot'

Jun Ding dingjun_cn at yahoo.com
Thu Dec 29 19:38:46 CET 2005


Hi, everyone, 
I have a question regarding function cv.glm in library
'boot'. 
Basically cv.glm can  calculate the estimated K-fold
cross-validation prediction error for generalized
linear models. My question is this: if I am fitting a
logit model, what kind of threshold will it use to
calculate the prediction error (saved in 'delta')? It
will use 0.5 as the threshold or pick a threshold such
that the prediction error reaches its minimum?

Thank you!

Best wishes,
Jun




More information about the R-help mailing list