Re: [R] (Cross-)validating GLM including factors

2015-02-02 Thread Bert Gunter
This is not an r-help issue. Post on a statistics list like stats.stackexchange.com instead for a variety of opinions.* Cheers, Bert *Which will probably be useless given your paucity of data. But that's just *my* useless opinion. Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "

[R] (Cross-)validating GLM including factors

2015-02-02 Thread Roland Pape
Dear list, I would like to validate various GLMs, all of them containing (among others) several factors as predictors. I thought about using cv.glm from the boot package, but necessarily got the error "factor xy has new level z". Is there any function to easily cross validate LMs or GLMs contai