[R] question about cross-validation for mutivariate linear regression

From: <jz7_at_duke.edu>
Date: Thu 13 Jul 2006 - 11:28:26 EST

Dear all,

I am trying to do a standard mutivariate linear regression for my training set, and want to perform leave-one-out cross-validation to see how well the model is. I found several CV in R, such as cv.lm in DAAG, cv.glm in boot, and crossval in bootstrap. Which one should I use? And how can I get the squared correlation coefficient (q^2) for LOO-CV? I have tried the cv.lm in DAAG, but it seems that there is no option do give that output.

Thanks so much!

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 13 11:35:04 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 26 Jul 2006 - 08:23:44 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.