Chilimit: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
imported>Jeremy
(Importing text file)
Line 7: Line 7:


:[lim,scl,dof] = chilimit(ssqr,''cl'')
:[lim,scl,dof] = chilimit(ssqr,''cl'')
:lim = chilimit(scl,dof,''cl'')
:lim = chilimit(scl,dof,''cl'')



Revision as of 16:32, 3 September 2008

Purpose

Chi-squared confidence limits from sum-of-squares residuals.

Synopsis

[lim,scl,dof] = chilimit(ssqr,cl)
lim = chilimit(scl,dof,cl)

Description

CHILIMIT determines a confidence limit for sum-of-squares residuals, ssqr, by fitting the residuals to the g Chi-squared h distribution. If the sum-squared residuals are reasonably approximated by a Chi-squared distribution this gives a very good estimate of the confidence level. However, it has been observed that outliers can significantly bias the estimate.

The standard call to CHILIMIT uses the sum of squares residuals ssqr, and the optional fractional confidence level requested, cl {default = 0.95}. Outputs are the calculated limit lim, the scaling determined from the residuals scl, and the degrees of freedom determined from the residuals dof.

The scaling, scl, and number of degrees of freedom, dof, returned from a previous call to CHILIMIT can be used in subsequent calls to CHILIMIT to obtain new limits without the original residuals.

See Also

jmlimit, pca, pcr, pls, residuallimit