Vip: Difference between revisions
imported>Jeremy (Importing text file) |
imported>Jeremy No edit summary |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Line 10: | Line 9: | ||
===Description=== | ===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. | 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). 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. | 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. | ||
See Chong & Jun, Chemo. Intell. Lab. Sys. 78 (2005) 103-112. | See Chong & Jun, Chemo. Intell. Lab. Sys. 78 (2005) 103-112. |
Revision as of 10:21, 10 October 2008
Purpose
Calculate Variable Importance in Projection from regression model.
Synopsis
- vip_scores = vip(mode)
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). 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.