PLS_Toolbox Documentation: residuallimit | < rescale | reversebytes > |
residuallimit
Purpose
Esitmates confidence limits for sum squared residuals.
Synopsis
[rescl,s] = residuallimit(residuals,cl,options)
rescl = residuallimit(s,cl,options)
options = residuallimit('options');.
Description
Inputs are a matrix of residuals residuals, and the frational confidence limit cl where 0<cl<1 {default = 0.95}. For example, for a PCA model X = TPT + E, the input residuals is the matrix E which can be calculated using the datahat function. Optional input options is discussed below.
The output is the estimated residual limit rescl. An additional output containing eigenvalues of E s is returned when using the Jackson-Mudholkar algorithm. To improve speed, s can be used in place of residuals in subsequent calls to RESIDUALLIMIT for the same data.
See Jackson (1991) for the details of the calculation.
Options
The default options can be retreived using: options = residuallimit('options');.
Examples
For a model model caluclated using the PCA function
rescl = reslim(model.detail.ssq(:,2),0.95);
See Also
analysis, chilimit, datahat, jmlimit, pca
< rescale | reversebytes > |