Jmlimit: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
imported>Scott
No edit summary
Line 1: Line 1:
===Purpose===
===Purpose===


Line 14: Line 13:
Inputs are the number of PCs used pc, the vector of eigenvalues s, and the confidence limit cl expressed as a fraction (e.g. 0.95). Note that for a PCA model structure, model, that the eigenvalues can be found in model.detail.ssq(:,2).
Inputs are the number of PCs used pc, the vector of eigenvalues s, and the confidence limit cl expressed as a fraction (e.g. 0.95). Note that for a PCA model structure, model, that the eigenvalues can be found in model.detail.ssq(:,2).


The output rescl is the confidence limit based on the method of Jackson and Mudholkar. See CHILIMIT for an alternate method of residual limit calculation based on chi squared.
The output <tt>rescl</tt> is the confidence limit based on the method of Jackson and Mudholkar. See [[chilimit]] for an alternate method of residual limit calculation based on chi squared.


===Examples===
===Examples===


rescl = jmlimit(2,ssq(:,2),0.95);
<pre>rescl = jmlimit(2,ssq(:,2),0.95);</pre>


For a PCA model contained in the structure model:
For a PCA model contained in the structure model:


rescl = jmlimit(4,model.detail.ssq(:,2),0.99);
<pre>rescl = jmlimit(4,model.detail.ssq(:,2),0.99);</pre>


===See Also===
===See Also===


[[chilimit]], [[analysis]], [[pca]], [[residuallimit]]
[[chilimit]], [[analysis]], [[pca]], [[residuallimit]]

Revision as of 17:14, 16 September 2008

Purpose

Confidence limits for Q residuals via Jackson-Mudholkar.

Synopsis

rescl = jmlimit(pc,s,cl)

Description

JMLIMIT estimates confidence limits for Q residuals based on the Jackson-Mudholkar method. See Jackson, J.E., "A User's Guide to Principal Components", John Wiley & Sons, New York, NY (1991), and the discussion in the Chemometrics Tutorial on PCA.

Inputs are the number of PCs used pc, the vector of eigenvalues s, and the confidence limit cl expressed as a fraction (e.g. 0.95). Note that for a PCA model structure, model, that the eigenvalues can be found in model.detail.ssq(:,2).

The output rescl is the confidence limit based on the method of Jackson and Mudholkar. See chilimit for an alternate method of residual limit calculation based on chi squared.

Examples

rescl = jmlimit(2,ssq(:,2),0.95);

For a PCA model contained in the structure model:

rescl = jmlimit(4,model.detail.ssq(:,2),0.99);

See Also

chilimit, analysis, pca, residuallimit