Vip: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
imported>Donal
No edit summary
Line 6: Line 6:


:vip_scores = vip(model)
:vip_scores = vip(model)
:vip_scores = vip(xscrs,xlds,wts,reg)


===Description===
===Description===
Line 13: Line 14:
It should be noted that the nature of the VIP calculation is such that when the model is rebuilt, new variables will always be below the threshold so this approach does not lend itself to repeated variable exclusion.
It should be noted that the nature of the VIP calculation is such that when the model is rebuilt, new variables will always be below the threshold so this approach does not lend itself to repeated variable exclusion.


The input is a PLS model structure (<tt>model</tt>). The output (<tt>vip_scores</tt>) is a set of column vectors equal in length to the number of variables included in the model. It contains one column of VIP scores for each column of the original calibration y-block.
The input is a PLS model structure (<tt>model</tt>) or the outputs from SIMPLS or NIPPLS. The output (<tt>vip_scores</tt>) is a set of column vectors equal in length to the number of variables included in the model. It contains one column of VIP scores for each column of the original calibration y-block.


See Chong & Jun, Chemo. Intell. Lab. Sys. 78 (2005) 103-112.
See Chong & Jun, Chemo. Intell. Lab. Sys. 78 (2005) 103-112.
====Inputs====
Standard input is:
* '''model''' = PLS model structure from a PLS model,
Alternative input format is the outputs of the SIMPLS or NIPPLS:
* '''xscrs''' = X-block scores,
* '''xlds''' = X-block loadings,
* '''wts''' = X-block weights,
* '''reg''' = regression vectors for each column of y and each number of latent variables (reg).
====Outputs====
* '''vip_scores''' = a set of column vectors equal in length to the number of variables included in the model. It contains one column of VIP scores for each predicted y-block column.


===See Also===
===See Also===


[[genalg]], [[ipls]], [[plotloads]], [[pls]], [[plsda]], [[sratio]]
[[genalg]], [[ipls]], [[plotloads]], [[pls]], [[plsda]], [[sratio]]

Revision as of 12:20, 25 September 2013

Purpose

Calculate Variable Importance in Projection from regression model.

Synopsis

vip_scores = vip(model)
vip_scores = vip(xscrs,xlds,wts,reg)

Description

Variable Importance in Projection (VIP) scores estimate the importance of each variable in the projection used in a PLS model and is often used for variable selection. A variable with a VIP Score close to or greater than 1 (one) can be considered important in given model. Variables with VIP scores significantly less than 1 (one) are less important and might be good candidates for exclusion from the model.

It should be noted that the nature of the VIP calculation is such that when the model is rebuilt, new variables will always be below the threshold so this approach does not lend itself to repeated variable exclusion.

The input is a PLS model structure (model) or the outputs from SIMPLS or NIPPLS. The output (vip_scores) is a set of column vectors equal in length to the number of variables included in the model. It contains one column of VIP scores for each column of the original calibration y-block.

See Chong & Jun, Chemo. Intell. Lab. Sys. 78 (2005) 103-112.

Inputs

Standard input is:

  • model = PLS model structure from a PLS model,

Alternative input format is the outputs of the SIMPLS or NIPPLS:

  • xscrs = X-block scores,
  • xlds = X-block loadings,
  • wts = X-block weights,
  • reg = regression vectors for each column of y and each number of latent variables (reg).

Outputs

  • vip_scores = a set of column vectors equal in length to the number of variables included in the model. It contains one column of VIP scores for each predicted y-block column.

See Also

genalg, ipls, plotloads, pls, plsda, sratio