Kjaere Bjørn-Helge, > > > can anyone give an example how to use cross-validation in the plsr > package. > > There are examples in the references cited on > http://mevik.net/work/software/pls.html > > > I miss to find the number of factors proposed by cross-validation as > > optimum. > > The cross-validation in the pls package does not propose a number of > factors as optimum, you have to select this yourself. (The reason for > this is that there is AFAIK no theoretically founded and widely accepted > way of doing this automatically. I'd be happy to learn otherwise.)
tusend takk. Vi i NIRS bruker CV for a bestemme antall faktorer i PLS, derfor lurer jeg paa en foreslag fra CV. Men klart vi er bare brukerer ikke statistiker i samenheng med PLS. Hilsen Peter ************************************************* Espenauer Str. 28, D-34246 Vellmar, Deutschland -- View this message in context: http://n4.nabble.com/cross-validation-in-plsr-package-tp1563815p1564131.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list 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.