Nippls: Difference between revisions
Jump to navigation
Jump to search
imported>Scott |
imported>Scott |
||
Line 53: | Line 53: | ||
===See Also=== | ===See Also=== | ||
[[ | [[analysis]], [[dspls]], [[pls]], [[plsnipal]], [[simpls]] |
Revision as of 09:25, 21 September 2011
Purpose
NIPALS Partial Least Squares computational engine.
Synopsis
- [reg,ssq,xlds,ylds,wts,xscrs,yscrs,bin] = nippls(x,y,ncomp,options)
Description
Performs PLS regression using NIPALS algorithm.
Inputs
- x = X-block (M by Nx) and
- y = Y-block (M by Ny).
Optional Inputs
- nocomp = number of components {default = rank of X-block}, and
- options = discussed below.
The default options can be retrieved using: options = nippls('options');.
Outputs
- reg = matrix of regression vectors,
- ssq = the sum of squares captured (ssq),
- xlds = X-block loadings,
- ylds = Y-block loadings,
- wts = X-block weights,
- xscrs = X-block scores,
- yscrs = Y-block scores, and
- bin = the inner relation coefficients.
Note: The regression matrices are ordered in reg such that each Ny (number of y variables) rows correspond to the regression matrix for that particular number of latent variables.
Options
- options = a structure containing the fields:
- display: [ 'off' |{'on'}], governs display to command window.