PLS_Toolbox Documentation: lwrpred< lsq2top lwrxy >

lwrpred

Purpose

Predictions based on locally weighted regression models.

Synopsis

 

ypred = lwrpred(xnew,xold,yold,lvs,npts,out)

Description

LWRPRED makes new sample predictions ypred for a new matrix of independent variables xnew based on an existing data set of independent variables xold, and a vector of dependent variables yold. Predictions are made using a locally weighted regression model defined by the number principal components used to model the independent variables lvs and the number of points defined as local npts.

Optional input out suppresses printing of the results when set to 0 {default = 1}.

Note: Be sure to use the same scaling on new and old samples i.e. xnew must be scaled the same as xold!

See Also

lwrxy, pls, polypls


< lsq2top lwrxy >