| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>CCA & Correlation: Get variance fraction...</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 & Correlation: Get variance fraction... |
| 13 | </b></font></table></table> |
| 14 | <p>Determine from the selected <a href="CCA.html">CCA</a> and <a href="Correlation.html">Correlation</a> objects the fraction of the variance explained by the selected <a href="canonical_variate.html">canonical variate</a> range.</p> |
| 15 | <h2>Settings</h2> |
| 16 | <dl> |
| 17 | <dt><b>X or Y</b> |
| 18 | <dd>determines whether you select the dependent (y) or the independent (x) set.</dd> |
| 19 | <dt><b>Canonical variate range</b> |
| 20 | <dd>determines the canonical variates (or canonical variables).</dd> |
| 21 | </dl> |
| 22 | <h2>Remarks</h2> |
| 23 | <p>1. In general the variance fractions for a particular canonical variate in the dependent and in the independent set are not the same.</p> |
| 24 | <p>2. In general, the variance fractions for all canonical variates do not sum to 1. |
| 25 | (The technical reason is that for canonical correlation analysis in general the eigenvectors are not orthogonal, i.e. they overlap and therefore, necessarily, also the variance fractions overlap.) </p> |
| 26 | <h2>Algorithm</h2> |
| 27 | <p>The formulas can be found on page 170 of <a href="Cooley___Lohnes__1971_.html">Cooley & Lohnes (1971)</a>.</p> |
| 28 | <p>For example, the fraction of the variance explained by the <i>i</i><sup>th</sup> canonical variable in the dependent set is:</p> |
| 29 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>fractionVariance</i> = ((<b>y</b><sub>i</sub>′ <b>R</b><sub>yy</sub>′ <b>R</b><sub>yy</sub> <b>y</b><sub>i</sub>) / (<b>y</b><sub>i</sub>′ <b>R</b><sub>yy</sub> <b>y</b><sub>i</sub>)) / <i>n</i><sub><i>y</i></sub>,</table> |
| 30 | <p>where <b>y</b><sub><i>i</i></sub> is the eigenvector for dependent canonical variable <i>i</i> and <b>R</b><sub><i>yy</i></sub> is the correlation matrix for the <i>n</i><sub><i>y</i></sub> variables in the dependent set.</p> |
| 31 | <h3>Links to this page</h3> |
| 32 | <ul> |
| 33 | <li><a href="CCA___Correlation__Get_redundancy__sl____.html">CCA & Correlation: Get redundancy (sl)...</a> |
| 34 | </ul> |
| 35 | <hr> |
| 36 | <address> |
| 37 | <p>© djmw 20181112</p> |
| 38 | </address> |
| 39 | </body> |
| 40 | </html> |