Statistics Toolbox
  Go to function:
    Search    Help Desk 
pcares    Examples   See Also

Residuals from a Principal Components Analysis.

Syntax

Description

pcares(X,ndim) returns the residuals obtained by retaining ndim principal components of X. Note that ndim is a scalar and must be less than the number of columns in X. Use the data matrix, the covariance matrix, with this
function.

Example

This example shows the drop in the residuals from the first row of the Hald data as the number of component dimensions increase from one to three.

Reference

Jackson, J. E., A User's Guide to Principal Components, John Wiley and Sons, Inc. 1991. pp. 1-25.

See Also



[ Previous | Help Desk | Next ]