| 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 variance ratio...</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 variance ratio... |
| 13 |
</b></font></table></table> |
| 14 |
<p>Gets the probability for the ratio of two variances from the selected <a href="Covariance.html">Covariance</a> object being different from a hypothesized ratio.</p> |
| 15 |
<h2>Settings</h2> |
| 16 |
<dl> |
| 17 |
<dt><b>Index1</b>, <b>Index2</b> |
| 18 |
<dd>determine the variances.</dd> |
| 19 |
<dt><b>Hypothesized ratio</b> |
| 20 |
<dd>the hypothesized ratio <i>F</i>.</dd> |
| 21 |
</dl> |
| 22 |
<h2>Behaviour</h2> |
| 23 |
<p>The test statistic</p> |
| 24 |
<table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>f</i> = <i>s</i><sub>1</sub><sup>2</sup> / <i>s</i><sub>2</sub><sup>2</sup> / <i>ratio</i></table> |
| 25 |
<p>is distributed as Fisher's F distribution with <i>ndf</i><sub>1</sub> = <i>N</i>-1 and <i>ndf</i><sub>2</sub> = <i>N</i>-1 degrees of freedom for the numerator and denominator terms, respectively.</p> |
| 26 |
<p>The returned probability <i>p</i> will be the <i>two-sided</i> probability</p> |
| 27 |
<table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>p</i> = 2 * fisherQ (<i>f</i>, <i>ndf</i><sub>1</sub>, <i>ndf</i><sub>2</sub>)</table> |
| 28 |
<p>If <i>s</i><sub>2</sub><sup>2</sup> > <i>s</i><sub>1</sub><sup>2</sup> we use 1/<i>f</i> to determine the probability.</p> |
| 29 |
<hr> |
| 30 |
<address> |
| 31 |
<p>© djmw 20040407</p> |
| 32 |
</address> |
| 33 |
</body> |
| 34 |
</html> |