| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>CCA: Get zero correlation probability...</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 | CCA: Get zero correlation probability... |
| 13 | </b></font></table></table> |
| 14 | <p>Get the probability that for the selected <a href="CCA.html">CCA</a> object the chosen canonical correlation coefficient is different from zero.</p> |
| 15 | <h2>Setting</h2> |
| 16 | <dl> |
| 17 | <dt><b>Index</b> |
| 18 | <dd>is the index of the canonical correlation coefficient that you want to test.</dd> |
| 19 | </dl> |
| 20 | <h2>Algorithm</h2> |
| 21 | <p>Wilks' statistic: the probability that coefficient ρ<sub><i>index</i></sub> differs from zero is </p> |
| 22 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle> <i>probability</i> = chiSquareQ (χ<sup>2</sup>, <i>ndf</i>),</table> |
| 23 | <p>where the <i>number of degrees of freedom</i> parameter equals</p> |
| 24 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>ndf</i> = (<i>n</i><sub>y</sub> - <i>index</i> +1)(<i>n</i><sub>x</sub> - <i>index</i> +1)</table> |
| 25 | <p>and the chi-squared parameter is</p> |
| 26 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>χ<sup>2</sup> = –(<i>numberOfObservations</i> - (<i>n</i><sub>y</sub> + <i>n</i><sub>x</sub> +3)/2) log (Λ<sub><i>index</i></sub>),</table> |
| 27 | <p>In the formulas above the variables <i>n</i><sub>y</sub> and <i>n</i><sub>x</sub> are the dimensions of the dependent and the independent data sets whose canonical correlations have been obtained, and Wilks' lambda is:</p> |
| 28 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>Λ<sub>index</sub> = Π<sub><i>i</i>=<i>index</i>..min(<i>ny</i>,<i>nx</i>)</sub> (1 – ρ<sub><i>i</i></sub><sup>2</sup>)</table> |
| 29 | <hr> |
| 30 | <address> |
| 31 | <p>© djmw 20040407</p> |
| 32 | </address> |
| 33 | </body> |
| 34 | </html> |