Subgroupcl: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
imported>Jeremy
No edit summary
 
Line 1: Line 1:
===Purpose===
===Purpose===


Displays a confidence ellipse for points in a two-dimensional plot.
Displays a confidence ellipse for points or groups of points in a two-dimensional plot.


===Synopsis===
===Synopsis===
Line 15: Line 15:


===See Also===
===See Also===
[[ellps], [[pcaengine]], [[tsqlim]]
[[ellps]], [[pcaengine]], [[tsqlim]]

Latest revision as of 13:17, 31 October 2011

Purpose

Displays a confidence ellipse for points or groups of points in a two-dimensional plot.

Synopsis

subgroupcl(fig,cl)
subgroupcl(scrs,cl)

Description

Draws an ellipse around a group of points on a two-dimensional plot. A 2-component PCA model is calculated to get the orientation and size of the ellipse and this is plotted on the current figure.

First input is either fig the figure number on which ellipses should be drawn for all line objects on the currently selected axes, or scrs the two-column matrix of values of the points. An optional input is the confidence limit cl which defaults to 95 (= 95%).

See Also

ellps, pcaengine, tsqlim