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 containing factors that I have missed, or any other work around? - Having in mind that using cross validation on a small data set is not the best solution (I have 50-600 samples, but also three factors with up to 15 levels): Are there any other approaches?
Any help is greatly appreciated! Roland [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.