Skip to content

PLS regression on near infrared (NIR) spectra data

4 messages · Paulo Ricardo Gherardi Hein, Andris Jankevics, Bjørn-Helge Mevik +1 more

#
Hi, take a look on pls package and it's documentation, there are
examples also for NIR data.

http://mevik.net/work/software/pls.html

Article form "Journal of Statistical Software"

http://www.jstatsoft.org/v18/i02

Also "Caret" package can be used to evaluate pls and other regreesion models:

http://caret.r-forge.r-project.org/Classification_and_Regression_Training.html

Best regards,

Andris

On Tue, Mar 3, 2009 at 4:49 PM, Paulo Ricardo Gherardi Hein
<phein1980 at gmail.com> wrote:
#
Paulo Ricardo Gherardi Hein <phein1980 at gmail.com> writes:
There is the package 'pls', with Principal Component Regression (PCR) and
Partial Least Squares Regression (PLSR).  It also contains a couple of
plots that are useful for princomp() or prcomp() analyses (PCA).
#
Hi Paulo,

You might also want to look at something like the glmnet package (Friedman,
Hastie, and Tibshirani). This carries out penalized regression, is designed
to work with high numbers of predictors/inputs/columns and relatively few
samples/obervations/rows, and is very fast.

See: http://www-stat.stanford.edu/~hastie/Papers/glmnet.pdf

HTH, Mark.
Paulo Ricardo Gherardi Hein wrote: