| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Confusion: To Dissimilarity (pdf)...</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 | Confusion: To Dissimilarity (pdf)... |
| 13 | </b></font></table></table> |
| 14 | <p>A command that creates a <a href="Dissimilarity.html">Dissimilarity</a> from every selected <a href="Confusion.html">Confusion</a>.</p> |
| 15 | <h2>Settings</h2> |
| 16 | <dl> |
| 17 | <dt><b>Symmetrize first</b> |
| 18 | <dd>when on, the confusion matrix is symmetrized before we calculate dissimilarities.</dd> |
| 19 | <dt><b>Maximum dissimilarity (units of sigma)</b> |
| 20 | <dd>specifies the dissimilarity from confusion matrix elements that are zero.</dd> |
| 21 | </dl> |
| 22 | <h2>Algorithm</h2> |
| 23 | <dl> |
| 24 | <dt>1. Normalize rows by dividing each row element by the row sum (optional). |
| 25 | <dt>2. Symmetrize the matrix by averaging <i>f</i><sub><i>ij</i></sub> and <i>f</i><sub><i>ji</i></sub>. |
| 26 | <dt>3. Transformation of the confusion measure which is a sort of <i>similarity</i> measure to the <i>dissimilarity</i> measure. |
| 27 | </dl> |
| 28 | <p>Similarity and dissimilarity have an inverse relationship: the greater the similarity, the smaller the dissimilarity and vice versa. Both have a monotonic relationship with distance. The most simple way to transform the similarities <i>f</i><sub><i>ij</i></sub> into dissimilarities is:</p> |
| 29 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>dissimilarity</i><sub><i>ij</i></sub> = <i>maximumSimilarity</i> – <i>similarity</i><sub><i>ij</i></sub></table> |
| 30 | <p>For ordinal analyses like Kruskal this transformation is fine because only order relations are important in this analysis. However, for metrical analyses like INDSCAL this is not optimal. In INDSCAL, distance is a linear function of dissimilarity. This means that, with the transformation above, you ultimately fit an INDSCAL model in which the distance between object <i>i</i> and <i>j</i> will be linearly related to the confusion between <i>i</i> and <i>j</i>.</p> |
| 31 | <p>For the relation between confusion and dissimilarity, the model implemented here, makes the assumption that the amount of confusion between objects <i>i</i> and <i>j</i> is related to the amount that their probability density functions, pdf's, overlap. Because we do not know these pdf's we make the assumption that both are normal, have equal <i>sigma</i> and are one-dimensional. The parameter to be determined is the distance between the centres of both pdf's. According to formula 26.2.23 in <a href="Abramowitz___Stegun__1970_.html">Abramowitz & Stegun (1970)</a>, for each fraction <i>f</i><sub><i>ij</i></sub>, we have to find an <i>x</i> that solves:</p> |
| 32 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>f</i><sub><i>ij</i></sub> = 1 / √(2<i>π</i>) ∫<sub><i>x</i></sub><sup>∞</sup> e<sup>-<i>t</i>·<i>t</i>/2</sup> <i>dt</i></table> |
| 33 | <p>This <i>x</i> will be used as the dissimilarity between <i>i</i> and <i>j</i>. The relation between <i>x</i> and <i>f</i><sub><i>ij</i></sub> is monotonic. This means that the results for a Kruskal analysis will not change much. For INDSCAL, in general, you will note a significantly better fit.</p> |
| 34 | <h3>Links to this page</h3> |
| 35 | <ul> |
| 36 | <li><a href="Distance.html">Distance</a> |
| 37 | <li><a href="INDSCAL_analysis.html">INDSCAL analysis</a> |
| 38 | </ul> |
| 39 | <hr> |
| 40 | <address> |
| 41 | <p>© djmw 20040407</p> |
| 42 | </address> |
| 43 | </body> |
| 44 | </html> |