| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>SSCP: Get diagonality (bartlett)...</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 diagonality (bartlett)... |
| 13 | </b></font></table></table> |
| 14 | <p>Tests the hypothesis that the selected <a href="SSCP.html">SSCP</a> matrix object is diagonal.</p> |
| 15 | <h2>Setting</h2> |
| 16 | <dl> |
| 17 | <dt><b>Number of constraints</b> |
| 18 | <dd>modifies the number of independent observations. The default value is 1.</dd> |
| 19 | </dl> |
| 20 | <h2>Algorithm</h2> |
| 21 | <p>The test statistic is |<b>R</b>|<sup>N/2</sup>, the N/2-th power of the determinant of the correlation matrix. <a href="Bartlett__1954_.html">Bartlett (1954)</a> developed the following approximation to the limiting distribution:</p> |
| 22 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>χ<sup>2</sup> = -(<i>N</i> - <i>numberOfConstraints</i> - (2<i>p</i> + 5) /6) ln |<b>R</b>|</table> |
| 23 | <p>In the formulas above, <i>p</i> is the dimension of the correlation matrix, <i>N</i>-<i>numberOfConstraints</i> is the number of independent observations. Normally <i>numberOfConstraints</i> would equal 1, however, if the matrix has been computed in some other way, e.g., from within-group sums of squares and cross-products of <i>k</i> independent groups, <i>numberOfConstraints</i> would equal <i>k</i>.</p> |
| 24 | <p>We return the probability <i>α</i> as </p> |
| 25 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>α</i> = chiSquareQ (χ<sup>2</sup> , <i>p</i>(<i>p</i>-1)/2).</table> |
| 26 | <p>A very low <i>α</i> indicates that it is very improbable that the matrix is diagonal.</p> |
| 27 | <h3>Links to this page</h3> |
| 28 | <ul> |
| 29 | <li><a href="What_was_new_in_4_1_.html">What was new in 4.1?</a> |
| 30 | </ul> |
| 31 | <hr> |
| 32 | <address> |
| 33 | <p>© djmw 20011111</p> |
| 34 | </address> |
| 35 | </body> |
| 36 | </html> |