![]() |
![]() |
|
PLS_Toolbox Documentation: purity | < preprouser | purityengine > |
purity
Purpose
Calculation of pure variables.
Synopsis
[purint,purspec] = purity(data,ncomp,options);
[model] = purity(data,ncomp);
[purint,purspec] = purity(data,ncomp,model);
[model] = purity(data,model);
Description
PURITY calculates pure variables and resolves data into ncomp spectra of the pure components (purspec) and their contributions (purint). For more information about the algorithm see PURITYENGINE. Data can be a matrix with the data or a dataset object.
The output arguments purity_values contains the purity values for all the variables and can be plotted as the “purity spectrum”. The argument length_values contains the purity_values multiplied by the length of the variables. This results in a “length spectrum” that is easier to relate to the original data than the purity spectrum
The optional input options is a structure with the following fields
Examples
Resolving 4 components in a data set:
[purint,purspec]=purity(data,4)
Algorithm
The core algorithm is the function purityengine.
See Also
< preprouser | purityengine > |