# Difference between revisions of "Vipnway"

Jump to navigation
Jump to search

imported>Scott (Created page with "===Purpose=== Calculate Variable Importance in Projection from NPLS model. ===Synopsis=== :vip_scores = vipnway(model) ===Description=== Variable Importance in Projection...") |
imported>Scott |
||

Line 17: | Line 17: | ||

====Outputs==== | ====Outputs==== | ||

− | * ''' | + | * '''vip_scores''' = a cell array with dimensions of: [modes 2 to n X # of columns in Y]. The first row in the cell array corresponds to VIP Scores for mode 2. The second row corresponds to VIP Scores for mode 3. |

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

− | |||

===See Also=== | ===See Also=== | ||

− | [[ | + | [[selectvars]], [[genalg]], [[ipls]], [[plotloads]], [[pls]], [[plsda]], [[sratio]], [[rpls]], [[vip]] |

## Revision as of 17:06, 18 December 2018

### Purpose

Calculate Variable Importance in Projection from NPLS model.

### Synopsis

- vip_scores = vipnway(model)

### Description

Variable Importance in Projection (VIP) scores estimate the importance of each variable in the projection used in a NPLS 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 works for X n-way and Y up to two-way and it assume samples are in the first mode.

#### Inputs

**model**= A NPLS model structure from a NPLS model.

#### Outputs

**vip_scores**= a cell array with dimensions of: [modes 2 to n X # of columns in Y]. The first row in the cell array corresponds to VIP Scores for mode 2. The second row corresponds to VIP Scores for mode 3.

### See Also

selectvars, genalg, ipls, plotloads, pls, plsda, sratio, rpls, vip