| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>PCA: Get equality of eigenvalues...</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 | PCA: Get equality of eigenvalues... |
| 13 | </b></font></table></table> |
| 14 | <p>A command to get the probability that some of the eigenvalues of the selected <a href="PCA.html">PCA</a> object are equal. A low probability means that it is not very likely that that these numbers are equal.</p> |
| 15 | <p>We test the hypothesis <i>H</i><sub>0</sub>: <i>λ</i><sub><i>from</i></sub> = ... = <i>λ</i><sub><i>to</i></sub> that <i>r</i> (= <i>to</i>–<i>from</i>+1) of the eigenvalues λ of the covariance matrix are equal. The remaining eigenvalues are unrestricted as to their values and multiplicities. The alternative hypothesis to <i>H</i><sub>0</sub> is that some of the eigenvalues in the set are distinct.</p> |
| 16 | <h2>Settings</h2> |
| 17 | <dl> |
| 18 | <dt><b>Eigenvalue range</b> |
| 19 | <dd>define the range of eigenvalues to be tested for equality.</dd> |
| 20 | <dt><b>Conservative test</b> |
| 21 | <dd>when on, a more conservative estimate for <i>n</i> is chosen (see below).</dd> |
| 22 | </dl> |
| 23 | <h2>Details</h2> |
| 24 | <p>The test statistic is:</p> |
| 25 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>χ<sup>2</sup> = –<i>n</i> Σ<sub><i>j</i>=<i>from</i>..<i>to</i></sub> ln <i>eigenvalue</i>[<i>j</i>] + <i>n</i> <i>r</i> ln (Σ<sub><i>j</i>=<i>from</i>..<i>to</i></sub> <i>eigenvalue</i>[<i>j</i>] / <i>r</i>),</table> |
| 26 | <p>with <i>r</i>(<i>r</i>+1)/2 –1 degrees of freedom. Here <i>n</i> = <i>totalNumberOfCases</i> – 1.</p> |
| 27 | <p>A special case occurs when the variation in the last <i>r</i> dimensions is spherical. In a slightly more conservative test we may replace <i>n</i> by <i>n</i>–<i>from</i>–(2<i>r</i><sup>2</sup>+<i>r</i>+2)/6<i>r</i>.</p> |
| 28 | <p>Also see <a href="Morrison__1990_.html">Morrison (1990)</a>, page 336.</p> |
| 29 | <h3>Links to this page</h3> |
| 30 | <ul> |
| 31 | <li><a href="Principal_component_analysis.html">Principal component analysis</a> |
| 32 | </ul> |
| 33 | <hr> |
| 34 | <address> |
| 35 | <p>© djmw 19981102</p> |
| 36 | </address> |
| 37 | </body> |
| 38 | </html> |