| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>CANDECOMP</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 | CANDECOMP |
| 13 | </b></font></table></table> |
| 14 | <h2>An algorithm to solve the INDSCAL problem.</h2> |
| 15 | <p>In the analysis of the INDSCAL three-way data matrix (<i>numberOfPoints</i> × <i>numberOfDimensions</i> × <i>numberOfSources</i>) we seek to minimize the function: </p> |
| 16 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>f</i>(<i>X</i>, <i>W</i><sub>1</sub>,..., <i>W</i><sub><i>numberOfSources</i></sub>) = ∑<sub><i>i</i>=1..<i>numberOfSources</i></sub> | <i>S</i><sub><i>i</i></sub> – <i>X</i><i>W</i><sub><i>i</i></sub><i>X</i>′ |<sup>2</sup></table> |
| 17 | <p>where <i>S</i><sub><i>i</i></sub> is a known symmetric <i>numberOfPoints</i> × <i>numberOfPoints</i> matrix with scalar products of distances for source <i>i</i>, <i>X</i> is the unknown configuration <i>numberOfPoints</i> × <i>numberOfDimensions</i> matrix, <i>X</i>′ its transpose, and, <i>W</i><sub><i>i</i></sub> is the diagonal <i>numberOfDimensions</i> × <i>numberOfDimensions</i> weight matrix for source <i>i</i>. The function above has no analytical solution for <i>X</i> and the <i>W</i><sub><i>i</i></sub>. It can be solved, however, by an iterative procedure which Carroll & Chang have christened CANDECOMP (CANonical DECOMPosition). This method minimizes, instead of the function given above, the following function:</p> |
| 18 | <dl> |
| 19 | <dd style="position:relative;padding-left:1em;text-indent:-2em"><i>g</i>(<i>X</i>, <i>Y</i>, <i>W</i><sub>1</sub>,..., <i>W</i><sub><i>numberOfSources</i></sub>) = ∑<sub><i>i</i>=1..<i>numberOfSources</i></sub> | <i>S</i><sub><i>i</i></sub> – <i>X</i><i>W</i><sub><i>i</i></sub><i>Y</i>′ |<sup>2</sup></dd> |
| 20 | </dl> |
| 21 | <p>where <i>X</i> and <i>Y</i> are both <i>numberOfPoints</i> × <i>numberOfDimensions</i> configuration matrices.</p> |
| 22 | <p>The algorithm proceeds as follows:</p> |
| 23 | <p>1. Initialize the <code><font size=+1>W</font></code> matrices and the configuration matrix <i>X</i>. This can for example be done according to a procedure given in <a href="Young__Takane___Lewyckyj__1978_.html">Young, Takane & Lewyckyj (1978)</a>.</p> |
| 24 | <p>2. An alternating least squares minimization process is started as described that sequentially updates <i>Y</i>, <i>X</i> an <i>W</i> (<a href="Carroll___Chang__1970_.html">Carroll & Chang (1970)</a>):</p> |
| 25 | <dl> |
| 26 | <dd style="position:relative;padding-left:1em;text-indent:-2em">2.1. Solve for a new <i>Y</i> given <i>X</i> and the <i>W</i><sub><i>i</i></sub></dd> |
| 27 | <dd style="position:relative;padding-left:1em;text-indent:-2em">2.2. Solve for a new <i>X</i> given the <i>W</i><sub><i>i</i></sub> and the new <i>Y</i>.</dd> |
| 28 | <dd style="position:relative;padding-left:1em;text-indent:-2em">2.3. Solve for the <i>W</i><sub><i>i</i></sub> given the new <i>X</i> and <i>Y</i>.</dd> |
| 29 | </dl> |
| 30 | <p>Evaluate the goodness-of-fit criterion and either repeat the minimization sequence (2.1–2.3) or continue.</p> |
| 31 | <p>3. Done: make <i>Y</i> equal to <i>X</i> and solve a last time for the <i>W</i><sub><i>i</i></sub>.</p> |
| 32 | <p>Note: during the minimization the following constraints are effective:</p> |
| 33 | <dl> |
| 34 | <dd style="position:relative;padding-left:1em;text-indent:-2em">The configuration should be centered.</dd> |
| 35 | <dd style="position:relative;padding-left:1em;text-indent:-2em">The sum of squared coordinates in the configuration space is one for each dimension, i.e., the configuration always has unit variance in each dimension.</dd> |
| 36 | </dl> |
| 37 | <h3>Links to this page</h3> |
| 38 | <ul> |
| 39 | <li><a href="INDSCAL_analysis.html">INDSCAL analysis</a> |
| 40 | </ul> |
| 41 | <hr> |
| 42 | <address> |
| 43 | <p>© djmw 19971201</p> |
| 44 | </address> |
| 45 | </body> |
| 46 | </html> |