Filter methods for variable selection with Partial Least Squares.
Various filter methods extracting and using information from
mvr objects to assign importance to all included variables. Available
methods are Significance Multivariate Correlation (sMC), Selectivity Ratio (SR),
Variable Importance in Projections (VIP), Loading Weights (LW), Regression Coefficients (RC).
1 2 3 4 5 6 7 8 9
optimal number of components of PLS model.
number of variables in PLS model.
data matrix used as predictors in PLS modelling.
quantile significance for automatic selection of variables in
A vector having the same lenght as the number of variables in the associated PLS model. High values are associated with high importance, explained variance or relevance to the model.
Tahir Mehmood, Kristian Hovde Liland, Solve Sæbø.
T. Mehmood, K.H. Liland, L. Snipen, S. Sæbø, A review of variable selection methods in Partial Least Squares Regression, Chemometrics and Intelligent Laboratory Systems 118 (2012) 62-69.
1 2 3 4 5 6 7 8 9 10 11
data(gasoline, package = "pls") library(pls) pls <- plsr(octane ~ NIR, ncomp = 10, validation = "LOO", data = gasoline) comp <- which.min(pls$validation$PRESS) X <- gasoline$NIR vip <- VIP(pls, comp) sr <- SR (pls, comp, X) smc <- sMC(pls, comp, X) lw <- LW (pls, comp) rc <- RC (pls, comp) matplot(scale(cbind(vip, sr, smc, lw, rc)), type = 'l')
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.