| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>SSCP: Get sigma ellipse area...</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
SSCP: Get sigma ellipse area... |
| 13 |
</b></font></table></table> |
| 14 |
<p>A command to query the selected <a href="SSCP.html">SSCP</a> object for the area of a sigma ellipse.</p> |
| 15 |
<h2>Algorithm</h2> |
| 16 |
<p>The algorithm proceeds as follows:</p> |
| 17 |
<dl> |
| 18 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">1. The four array elements in the SSCP-matrix that correspond to the chosen dimensions are copied into a two-dimensional matrix <b><i>S</i></b> (symmetric of course).</dd> |
| 19 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">2. The eigenvalues of <b><i>S</i></b> are determined, call them <i>s</i><sub>1</sub> and <i>s</i><sub>2</sub>.</dd> |
| 20 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">3. The lengths <i>l</i><sub><i>i</i></sub> of the axes of the ellipse can be obtained as the square root of the <i>s</i><sub>i</sub> multiplied by a scale factor: <i>l</i><sub><i>i</i></sub> = <i>scaleFactor</i> · √ (<i>s</i><sub><i>i</i></sub> ), where <i>scaleFactor</i> = <i>numberOfSigmas</i> / √(<i>numberOfObservations</i> – 1).</dd> |
| 21 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">4. The area of the ellipse will be <i>π</i>·<i>l</i><sub>1</sub>·<i>l</i><sub>2</sub>.</dd> |
| 22 |
</dl> |
| 23 |
<h3>Links to this page</h3> |
| 24 |
<ul> |
| 25 |
<li><a href="Discriminant__Get_concentration_ellipse_area___.html">Discriminant: Get concentration ellipse area...</a> |
| 26 |
<li><a href="What_was_new_in_3_9_.html">What was new in 3.9?</a> |
| 27 |
</ul> |
| 28 |
<hr> |
| 29 |
<address> |
| 30 |
<p>© djmw 20000525</p> |
| 31 |
</address> |
| 32 |
</body> |
| 33 |
</html> |