[R] PLS predict

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Tue Mar 6 15:53:02 CET 2012


Thomas Möckel <thomas.mockel at nateko.lu.se> writes:

> I have a question about understanding PLS. If I use the predict function of R
> than it seems to me the function only uses the last latent variable to model
> new Y values. But should the function not use all latent variables to model
> new Y´s?

It should, and it definitely does.  The _effect_ of each latent variable
can vary a lot, though, but even then, the first ones usually have the
greatest effect.

Again, since you don't show what you did, it is hard to be more
specific.

-- 
B/H



More information about the R-help mailing list