| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>smacof</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 | smacof |
| 13 | </b></font></table></table> |
| 14 | <p>Scaling by Majorizing a Complicated Function, the iterative algorithm to find an optimal Configuration.</p> |
| 15 | <dl> |
| 16 | <dd style="position:relative;padding-left:1em;text-indent:-2em">1. Initialize</dd> |
| 17 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> 1.a. Get initial Configuration <b>Z</b></dd> |
| 18 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> 1.b. Set stress <i>σ</i><sub><i>n</i></sub><sup>[0]</sup> to a very large value.</dd> |
| 19 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> 1.c. Set iteration counter <i>k</i> = 0</dd> |
| 20 | <dd style="position:relative;padding-left:1em;text-indent:-2em">2. Increase iteration counter by one: <i>k</i> = <i>k</i> + 1</dd> |
| 21 | <dd style="position:relative;padding-left:1em;text-indent:-2em">3. Calculate distances <i>d</i><sub><i>ij</i></sub>(<b>Z</b>).</dd> |
| 22 | <dd style="position:relative;padding-left:1em;text-indent:-2em">4. Transform dissimilarities <i>δ</i><sub><i>ij</i></sub> into disparities <i>d</i>′<sub><i>ij</i></sub>.</dd> |
| 23 | <dd style="position:relative;padding-left:1em;text-indent:-2em">5. Standardize the disparities so that <i>η</i><sub><i>d</i>′</sub><sup>2</sup> = <i>n</i>(<i>n</i>–1)/2.</dd> |
| 24 | <dd style="position:relative;padding-left:1em;text-indent:-2em">6. Compute the Guttman transform <b>X</b><sup>[<i>k</i>]</sup> of <b>Z</b>.</dd> |
| 25 | <dd style="position:relative;padding-left:1em;text-indent:-2em">7. Compute new distances <i>d</i><sub><i>ij</i></sub>(<b>X</b><sup>[<i>k</i>]</sup>).</dd> |
| 26 | <dd style="position:relative;padding-left:1em;text-indent:-2em">8. Compute normalized stress <i>σ</i><sub><i>n</i></sub> (<b>d</b>′, <b>X</b><sup>[<i>k</i>]</sup>)</dd> |
| 27 | <dd style="position:relative;padding-left:1em;text-indent:-2em">9. If |<i>σ</i><sub><i>n</i></sub><sup>[<i>k</i>]</sup> – <i>σ</i><sub><i>n</i></sub><sup>[<i>k</i>–1]</sup>| / <i>σ</i><sub><i>n</i></sub><sup>[<i>k</i>–1]</sup> < <i>ε</i> or <i>k</i> > <i>maximumNumberOfIterations</i>, then stop</dd> |
| 28 | <dd style="position:relative;padding-left:1em;text-indent:-2em">10. Set <b>Z</b> = <b>X</b><sup>[<i>k</i>]</sup>, and go to 2.</dd> |
| 29 | </dl> |
| 30 | <p>This algorithm goes back to <a href="De_Leeuw__1977_.html">De Leeuw (1977)</a>.</p> |
| 31 | <hr> |
| 32 | <address> |
| 33 | <p>© djmw 19980119</p> |
| 34 | </address> |
| 35 | </body> |
| 36 | </html> |