Nippls: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Scott |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Line 20: | Line 19: | ||
====Optional Inputs==== | ====Optional Inputs==== | ||
* | * '''nocomp''' = number of components {default = rank of X-block}, and | ||
*'''' | * '''options''' = discussed below. | ||
The default options can be | The default options can be retrieved using: options = nippls('options');. | ||
====Outputs==== | ====Outputs==== |
Revision as of 16:11, 7 October 2008
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.