Plsrsgn: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
(No difference)
|
Revision as of 08:21, 2 September 2008
Purpose
Generates a matrix used to calculate residuals from a single data block using partial least squares regression models.
Synopsis
- coeff = plsrsgn(data,lv,out)
Description
coeff = plsrsgn(data,lv) calculates a matrix coeff from a single data block data. plsrsgn calculates partial least squares regression models of each variable in the matrix data using the remaining variables and the number of latent variables lv. Multiplying a new data matrix by the matrix coeff yields a matrix whose values are the difference between the new data and it's prediction based on the PLS regressions created by plsrsgn.