[R] R squared from cv.lm

Andruit at web.de Andruit at web.de
Mon Jul 5 11:43:29 CEST 2010


   Hello,
   I used the cv.lm function to validate a linear regression model
   fit<-lm(y ~ x1+x2+x3+x4+0, data=mydata) without intercept
   I tried to validate the model by performing a leave one out cross validation
   procedure usinfg the cvlm function:
   CVlm(df=mydata, fit, m=196)
   But how can I get the adjusted R² from the output of this function.
   Or is there any other function to perform a leave one out cross validation
   procedure.
   Thank you very much in advance.
   A


   GRATIS für alle WEB.DE Nutzer: Die maxdome Movie-FLAT!
   Jetzt freischalten unter http://movieflat.web.de


More information about the R-help mailing list