| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Covariance: Get significance of one mean...</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 | Covariance: Get significance of one mean... |
| 13 | </b></font></table></table> |
| 14 | <p>Gets the level of significance for one mean from the selected <a href="Covariance.html">Covariance</a> object being different from a hypothesized mean.</p> |
| 15 | <h2>Settings</h2> |
| 16 | <dl> |
| 17 | <dt><b>Index</b> |
| 18 | <dd>the position of the element in the means vector (centroid) that you want to test. </dd> |
| 19 | <dt><b>Value</b> |
| 20 | <dd>the hypothesized mean <i>μ</i> (see below).</dd> |
| 21 | </dl> |
| 22 | <h2>Behaviour</h2> |
| 23 | <p>This is the standard test on means when the variance is unknown. The test statistic is</p> |
| 24 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>t</i> = (<i>mean</i> - <i>μ</i>) √<i></i>(N / <i>s</i><sup>2</sup>),</table> |
| 25 | <p>which has the Student <i>t</i> distribution with <i>ndf</i> = <i>N</i>-1 degrees of freedom.</p> |
| 26 | <p>In the formulas above, <i>mean</i> is the element of the mean vector at position <i>index</i>, <i>μ</i> is the hypothesized mean, <i>N</i> is the number of observations, <i>s</i><sup>2</sup> is the variance at position [<i>index</i>] [<i>index</i>] in the covariance matrix.</p> |
| 27 | <p>The returned probability <i>p</i> is the <i>two-sided</i> probability</p> |
| 28 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>p</i> = 2 * studentQ (<i>t</i>, <i>ndf</i>)</table> |
| 29 | <p>A low probability <i>p</i> means that the difference is significant.</p> |
| 30 | <h3>Links to this page</h3> |
| 31 | <ul> |
| 32 | <li><a href="T-test.html">T-test</a> |
| 33 | </ul> |
| 34 | <hr> |
| 35 | <address> |
| 36 | <p>© djmw 20040407</p> |
| 37 | </address> |
| 38 | </body> |
| 39 | </html> |