| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>TableOfReal: Draw biplot...</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 | TableOfReal: Draw biplot... |
| 13 | </b></font></table></table> |
| 14 | <p>A command to draw a biplot for each column in the selected <a href="TableOfReal.html">TableOfReal</a> object.</p> |
| 15 | <h2>Settings</h2> |
| 16 | <dl> |
| 17 | <dt><b>Xmin</b>, <b>Xmax</b>, <b>Ymin</b>, <b>Ymax</b> |
| 18 | <dd>determine the drawing boundaries.</dd> |
| 19 | <dt><b>Split factor</b> |
| 20 | <dd>determines the weighing of the row and column structure (see below).</dd> |
| 21 | </dl> |
| 22 | <h2>Behaviour</h2> |
| 23 | <dl> |
| 24 | <dd style="position:relative;padding-left:1em;text-indent:-2em">1. Get the <a href="singular_value_decomposition.html">singular value decomposition</a> <b>U</b> <b>D</b> <b>V</b>′ of the table.</dd> |
| 25 | <dd style="position:relative;padding-left:1em;text-indent:-2em">2. Calculate weighing factors <i>λ</i> for row and columns</dd> |
| 26 | </dl> |
| 27 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>λ</i><sub>r,1</sub> = <i>σ</i><sub>1</sub><sup><i>splitFactor</i></sup></table> |
| 28 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>λ</i><sub>c,1</sub> = <i>σ</i><sub>1</sub><sup>1-<i>splitFactor</i></sup></table> |
| 29 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>λ</i><sub>r,2</sub> = <i>σ</i><sub>2</sub><sup><i>splitFactor</i></sup></table> |
| 30 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>λ</i><sub>c,2</sub> = <i>σ</i><sub>2</sub><sup>1-<i>splitFactor</i></sup></table> |
| 31 | <dl> |
| 32 | <dd>where <i>σ</i><sub>1</sub> and <i>σ</i><sub>2</sub> are the first and the second singular values</dd> |
| 33 | <dd style="position:relative;padding-left:1em;text-indent:-2em">3. For the rows (<i>i</i> from 1..<i>numberOfRows</i>) form:</dd> |
| 34 | </dl> |
| 35 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>xr</i><sub><i>i</i></sub> = <i>U</i><sub><i>i1</i></sub> <i>λ</i><sub><i>r</i>,1</sub></table> |
| 36 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>yr</i><sub><i>i</i></sub> = <i>U</i><sub><i>i2</i></sub> <i>λ</i><sub><i>r</i>,2</sub></table> |
| 37 | <dl> |
| 38 | <dd style="position:relative;padding-left:1em;text-indent:-2em">4. For the columns (<i>i</i> from 1..<i>numberOfColumns</i>) form:</dd> |
| 39 | </dl> |
| 40 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>xc</i><sub><i>i</i></sub> = <i>V</i><sub><i>i1</i></sub> <i>λ</i><sub><i>c</i>,1</sub></table> |
| 41 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>yc</i><sub><i>i</i></sub> = <i>V</i><sub><i>i2</i></sub> <i>λ</i><sub><i>c</i>,2</sub></table> |
| 42 | <dl> |
| 43 | <dd style="position:relative;padding-left:1em;text-indent:-2em">5. Plot the points (<i>xr</i><sub><i>i</i></sub>, yr<sub><i>i</i></sub>) and (<i>xc</i><sub><i>i</i></sub>, yc<sub><i>i</i></sub>) in the same figure with the corresponding row and column labels.</dd> |
| 44 | </dl> |
| 45 | <hr> |
| 46 | <address> |
| 47 | <p>© djmw 20020603</p> |
| 48 | </address> |
| 49 | </body> |
| 50 | </html> |