| 1 |
/* manual_MDS.cpp |
| 2 |
* |
| 3 |
* Copyright (C) 1993-2019,2023,2025 David Weenink |
| 4 |
* |
| 5 |
* This code is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License as published by |
| 7 |
* the Free Software Foundation; either version 3 of the License, or (at |
| 8 |
* your option) any later version. |
| 9 |
* |
| 10 |
* This code is distributed in the hope that it will be useful, but |
| 11 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
|
| 19 |
/* |
| 20 |
djmw 20020422 GPL + removed "C syntax" part of manpage |
| 21 |
djmw 20030317 Latest modification. |
| 22 |
djmw 20030825 Spelling corrections. |
| 23 |
djmw 20040118 Procrustes modifications. |
| 24 |
djmw 20040214 Removed last link to @praat program@. |
| 25 |
djmw 20040407 Change Arguments -> Settings. |
| 26 |
djmw 20040513 Spelling. |
| 27 |
djmw 20070108 Latest modification. |
| 28 |
*/ |
| 29 |
|
| 30 |
#include "ManPagesM.h" |
| 31 |
#include "MDS.h" |
| 32 |
|
| 33 |
static void drawLetterRConfigurationExample (Graphics g) |
| 34 |
{ |
| 35 |
autoConfiguration me = Configuration_createLetterRExample (1); |
| 36 |
Graphics_setWindow (g, -6, 4, -7, 5); |
| 37 |
Configuration_draw (me.get(), g, 1, 2, -6, 4, -7, 5, 0, 1, U"", true); |
| 38 |
} |
| 39 |
|
| 40 |
static void drawLetterRConfigurationExample2 (Graphics g) |
| 41 |
{ |
| 42 |
autoConfiguration me = Configuration_createLetterRExample (2); |
| 43 |
Configuration_draw (me.get(), g, 1, 2, -0.8, 1.2, -0.8, 0.7, 0, 1, U"", true); |
| 44 |
} |
| 45 |
|
| 46 |
static void drawLetterRShepard (Graphics g) |
| 47 |
{ |
| 48 |
autoDissimilarity d = Dissimilarity_createLetterRExample (32.5); |
| 49 |
autoConfiguration c = Configuration_createLetterRExample (2); |
| 50 |
Dissimilarity_Configuration_drawShepardDiagram (d.get(), c.get(), g, 0, 200, 0, 2.2, 1, U"+", true); |
| 51 |
} |
| 52 |
|
| 53 |
static void drawLetterRRegression (Graphics g) |
| 54 |
{ |
| 55 |
autoDissimilarity d = Dissimilarity_createLetterRExample (32.5); |
| 56 |
autoConfiguration c = Configuration_createLetterRExample (2); |
| 57 |
Dissimilarity_Configuration_drawMonotoneRegression (d.get(), c.get(), g, kMDS_TiesHandling::PRIMARY_APPROACH, 0, 200, 0, 2.2, 1, U"+", true); |
| 58 |
} |
| 59 |
|
| 60 |
static void drawCarrollWishConfigurationExample (Graphics g) |
| 61 |
{ |
| 62 |
autoConfiguration me = Configuration_createCarrollWishExample (); |
| 63 |
Graphics_setWindow (g, -2, 2, -2, 2); |
| 64 |
Configuration_draw (me.get(), g, 1, 2, -2, 2, -2, 2, 0, 1, U"", true); |
| 65 |
} |
| 66 |
|
| 67 |
static void drawCarrollWishSalienceExample (Graphics g) |
| 68 |
{ |
| 69 |
autoSalience me = Salience_createCarrollWishExample (); |
| 70 |
Salience_draw (me.get(), g, 1, 2, true); |
| 71 |
} |
| 72 |
|
| 73 |
static void drawMsplineExample (Graphics g) |
| 74 |
{ |
| 75 |
drawSplines (g, 0, 1, 0, 10, kMDS_splineType::M_SPLINE, 3, U"0.3 0.5 0.6", true); |
| 76 |
} |
| 77 |
|
| 78 |
static void drawIsplineExample (Graphics g) |
| 79 |
{ |
| 80 |
drawSplines (g, 0, 1, 0, 1.5, kMDS_splineType::I_SPLINE, 3, U"0.3 0.5 0.6", true); |
| 81 |
} |
| 82 |
|
| 83 |
void manual_MDS_init (ManPages me); |
| 84 |
void manual_MDS_init (ManPages me) |
| 85 |
{ |
| 86 |
|
| 87 |
MAN_BEGIN (U"CANDECOMP", U"djmw", 19971201) |
| 88 |
ENTRY (U"An algorithm to solve the INDSCAL problem.") |
| 89 |
NORMAL (U"In the analysis of the INDSCAL three-way data matrix (%numberOfPoints " |
| 90 |
"\\xx %numberOfDimensions \\xx %numberOfSources) we seek to minimize the " |
| 91 |
"function: ") |
| 92 |
EQUATION (U"%f(%X, %W__1_,..., %W__%numberOfSources_) = " |
| 93 |
"\\su__%i=1..%numberOfSources_ | %S__%i_ \\-- %X%W__%i_%X\\'p |^2") |
| 94 |
NORMAL (U"where %S__%i_ is a known symmetric %numberOfPoints \\xx %numberOfPoints " |
| 95 |
"matrix with scalar products of distances for source %i, %X is the unknown configuration " |
| 96 |
"%numberOfPoints \\xx %numberOfDimensions matrix, %X\\'p its transpose, and, %W__%i_ is " |
| 97 |
"the diagonal %numberOfDimensions \\xx %numberOfDimensions weight matrix for source %i. The function " |
| 98 |
"above has no analytical solution for %X and the %W__%i_. It can be solved, however, " |
| 99 |
"by an iterative procedure which Carroll & Chang have christened CANDECOMP " |
| 100 |
"(CANonical DECOMPosition). This method minimizes, instead of the function " |
| 101 |
"given above, the following function:") |
| 102 |
LIST_ITEM (U"%g(%X, %Y, %W__1_,..., %W__%numberOfSources_) = \\su__%i=1..%numberOfSources_ " |
| 103 |
"| %S__%i_ \\-- %X%W__%i_%Y\\'p |^2") |
| 104 |
NORMAL (U"where %X and %Y are both %numberOfPoints \\xx %numberOfDimensions configuration matrices.") |
| 105 |
NORMAL (U"The algorithm proceeds as follows:") |
| 106 |
NORMAL (U"1. Initialize the $W matrices and the configuration matrix %X. This can for example be " |
| 107 |
"done according to a procedure given in @@Young, Takane & Lewyckyj (1978)@.") |
| 108 |
NORMAL (U"2. An alternating least squares minimization process is started as described that " |
| 109 |
"sequentially updates %Y, %X an %W (@@Carroll & Chang (1970)@):") |
| 110 |
LIST_ITEM (U"2.1. Solve for a new %Y given %X and the %W__%i_") |
| 111 |
LIST_ITEM (U"2.2. Solve for a new %X given the %W__%i_ and the new %Y.") |
| 112 |
LIST_ITEM (U"2.3. Solve for the %W__%i_ given the new %X and %Y.") |
| 113 |
NORMAL (U"Evaluate the goodness-of-fit criterion and either repeat the minimization sequence " |
| 114 |
"(2.1\\--2.3) or continue.") |
| 115 |
NORMAL (U"3. Done: make %Y equal to %X and solve a last time for the %W__%i_.") |
| 116 |
NORMAL (U"Note: during the minimization the following constraints are effective:") |
| 117 |
LIST_ITEM (U"The configuration should be centered.") |
| 118 |
LIST_ITEM (U"The sum of squared coordinates in the configuration space is one for " |
| 119 |
"each dimension, i.e., the configuration always has unit variance in each dimension.") |
| 120 |
MAN_END |
| 121 |
|
| 122 |
MAN_BEGIN (U"Configuration", U"djmw", 20101102) |
| 123 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 124 |
NORMAL (U"An object of type Configuration represents the positions of a number " |
| 125 |
"of labelled points in a multidimensional space.") |
| 126 |
ENTRY (U"How to create a Configuration") |
| 127 |
NORMAL (U"From the New menu:") |
| 128 |
LIST_ITEM (U" \\bu @@Create Configuration...") |
| 129 |
NORMAL (U"By multidimensional scaling:") |
| 130 |
LIST_ITEM (U" \\bu @@Dissimilarity: To Configuration (monotone mds)...") |
| 131 |
LIST_ITEM (U" \\bu @@Dissimilarity: To Configuration (i-spline mds)...") |
| 132 |
LIST_ITEM (U" \\bu @@Dissimilarity: To Configuration (interval mds)...") |
| 133 |
LIST_ITEM (U" \\bu @@Dissimilarity: To Configuration (ratio mds)...") |
| 134 |
LIST_ITEM (U" \\bu @@Dissimilarity: To Configuration (absolute mds)...") |
| 135 |
NORMAL (U"By multidimensional scaling with weights (@@Dissimilarity & Weight: To Configuration...@):") |
| 136 |
LIST_ITEM (U" \\bu ##Dissimilarity & Weight: To Configuration (monotone mds)...") |
| 137 |
LIST_ITEM (U" \\bu ##Dissimilarity & Weight: To Configuration (i-spline mds)...") |
| 138 |
LIST_ITEM (U" \\bu ##Dissimilarity & Weight: To Configuration (interval mds)...") |
| 139 |
LIST_ITEM (U" \\bu ##Dissimilarity & Weight: To Configuration (ratio mds)...") |
| 140 |
LIST_ITEM (U" \\bu ##Dissimilarity & Weight: To Configuration (absolute mds)...") |
| 141 |
NORMAL (U"By multidimensional scaling with a start Configuration:") |
| 142 |
LIST_ITEM (U" \\bu @@Dissimilarity & Configuration: To Configuration (monotone mds)...") |
| 143 |
LIST_ITEM (U" \\bu @@Dissimilarity & Configuration: To Configuration (i-spline mds)...") |
| 144 |
LIST_ITEM (U" \\bu @@Dissimilarity & Configuration: To Configuration (interval mds)...") |
| 145 |
LIST_ITEM (U" \\bu @@Dissimilarity & Configuration: To Configuration (ratio mds)...") |
| 146 |
LIST_ITEM (U" \\bu @@Dissimilarity & Configuration: To Configuration (absolute mds)...") |
| 147 |
NORMAL (U"By transforming an existing Configuration:") |
| 148 |
LIST_ITEM (U" \\bu @@Configuration: To Configuration (varimax)...") |
| 149 |
LIST_ITEM (U" \\bu @@Configuration & AffineTransform: To Configuration") |
| 150 |
LIST_ITEM (U" \\bu @@Configuration & Procrustes: To Configuration") |
| 151 |
NORMAL (U"From @@Principal component analysis@:") |
| 152 |
LIST_ITEM (U" \\bu @@TableOfReal: To Configuration (pca)...") |
| 153 |
LIST_ITEM (U" \\bu @@PCA & TableOfReal: To Configuration...") |
| 154 |
NORMAL (U"From @@Discriminant analysis@:") |
| 155 |
LIST_ITEM (U"@@TableOfReal: To Configuration (lda)...") |
| 156 |
LIST_ITEM (U" \\bu @@Discriminant & TableOfReal: To Configuration...") |
| 157 |
ENTRY (U"How to draw a Configuration") |
| 158 |
LIST_ITEM (U"\\bu @@Configuration: Draw...") |
| 159 |
LIST_ITEM (U"\\bu ##Configuration: Draw as numbers...") |
| 160 |
LIST_ITEM (U"\\bu ##Configuration: Draw as squares...") |
| 161 |
ENTRY (U"How to modify a Configuration") |
| 162 |
LIST_ITEM (U"\\bu @@Configuration: Randomize") |
| 163 |
LIST_ITEM (U"\\bu @@Configuration: Rotate (pc)@ (to principal directions)") |
| 164 |
LIST_ITEM (U"\\bu @@Configuration: Rotate...@ (in a plane around the origin)") |
| 165 |
LIST_ITEM (U"\\bu @@Configuration: Invert dimension...") |
| 166 |
LIST_ITEM (U"\\bu @@Configuration: Normalize...") |
| 167 |
ENTRY (U"Inside a Configuration") |
| 168 |
NORMAL (U"With @Inspect you will see the following attributes:") |
| 169 |
TERM (U"%numberOfRows") |
| 170 |
DEFINITION (U"the number of points (%numberOfPoints\\>_1).") |
| 171 |
TERM (U"%numberOfColumns") |
| 172 |
DEFINITION (U"the dimension of the space (%numberOfDimensions\\>_1).") |
| 173 |
TERM (U"%rowLabels") |
| 174 |
DEFINITION (U"the names associated with the points.") |
| 175 |
TERM (U"%columnLabels") |
| 176 |
DEFINITION (U"the names for the dimensions.") |
| 177 |
TERM (U"%data [1..%numberOfPoints] [1..%numberOfDimensions]") |
| 178 |
DEFINITION (U"the coordinates of the points.") |
| 179 |
TERM (U"%metric") |
| 180 |
DEFINITION (U"determines the way distances between points are measured. In general " |
| 181 |
"the distance between points #x__%i_ and #x__%j_ is:") |
| 182 |
EQUATION (U"%d__%ij_ = " |
| 183 |
"(\\su__%k=1..%numberOfDimensions_ %w__%k_ |%x__%ik_ \\-- " |
| 184 |
"%x__%jk_|^^%metric^)^^1/%metric^") |
| 185 |
DEFINITION (U"For Euclidean distances %metric is 2.") |
| 186 |
TERM (U"%w [1..%numberOfDimensions]") |
| 187 |
DEFINITION (U"weight given to each dimension in the distance calculation.") |
| 188 |
MAN_END |
| 189 |
|
| 190 |
MAN_BEGIN (U"Configuration: Centralize", U"djmw", 19980413) |
| 191 |
INTRO (U"Makes the centre of the selected @Configuration equal to the origin.") |
| 192 |
NORMAL (U"") |
| 193 |
MAN_END |
| 194 |
|
| 195 |
MAN_BEGIN (U"Configuration: Draw...", U"djmw", 20040407) |
| 196 |
INTRO (U"Draws a projection of the selected @Configuration on a coordinate plane.") |
| 197 |
ENTRY (U"Settings") |
| 198 |
TERM (U"##X-coordinate#, ##Y-coordinate#") |
| 199 |
DEFINITION (U"control the dimensions that will show in the plot.") |
| 200 |
TERM (U"##xmin#, ##xmax#; ##ymin#, ##ymax#") |
| 201 |
DEFINITION (U"range for horizontal and vertical axes, respectively.") |
| 202 |
TERM (U"##Garnish") |
| 203 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 204 |
MAN_END |
| 205 |
|
| 206 |
MAN_BEGIN (U"Configuration: Invert dimension...", U"djmw", 20040407) |
| 207 |
INTRO (U"Inverts one dimension of a @Configuration.") |
| 208 |
NORMAL (U"Setting") |
| 209 |
TERM (U"##Dimension") |
| 210 |
DEFINITION (U"the dimension that has to be inverted.") |
| 211 |
ENTRY (U"Behaviour") |
| 212 |
NORMAL (U"For all points %i=1..%numberOfPoints: if %j == %dimension then %x__%ij_ " |
| 213 |
"= \\--%x__%ij_.") |
| 214 |
MAN_END |
| 215 |
|
| 216 |
MAN_BEGIN (U"Configuration: Normalize...", U"djmw", 20040407) |
| 217 |
INTRO (U"Normalizes the selected @Configuration.") |
| 218 |
ENTRY (U"Settings") |
| 219 |
TERM (U"##Sum of squares# (standard value: 0.0)") |
| 220 |
DEFINITION (U"The desired value for the variance.") |
| 221 |
TERM (U"##Each dimension separately") |
| 222 |
DEFINITION (U"When on, the sum of squares in each dimension (column) will be scaled to %sumOfSquares " |
| 223 |
"When off, the sum of squares of all the matrix elements will equal %sumOfSquares.") |
| 224 |
NORMAL (U"With the default value (0.0) for %sumOfSquares, and %eachDimensionSeparately chosen, " |
| 225 |
"an INDSCAL-like normalization is applied: the sum of squares for each column is scaled to " |
| 226 |
"equal 1.0. When %eachDimensionSeparately is off, a Kruskal-like normalization is applied: " |
| 227 |
"the sum of squares of the whole matrix is scaled equal to %numberOfRows.") |
| 228 |
ENTRY (U"Behaviour") |
| 229 |
NORMAL (U"Before the normalization will be applied, however, we first translate the centre of the " |
| 230 |
"configuration to the origin by subtracting the mean for each dimension. " |
| 231 |
"The sum of squares than equals variance.") |
| 232 |
MAN_END |
| 233 |
|
| 234 |
MAN_BEGIN (U"Configuration: Randomize", U"djmw", 19971201) |
| 235 |
INTRO (U"Changes all coordinates of the points #%x__%i_ in the @Configuration according to:") |
| 236 |
LIST_ITEM (U"%x__%ij_ = randomUniform (-1, 1)") |
| 237 |
MAN_END |
| 238 |
|
| 239 |
MAN_BEGIN (U"Configuration: Rotate...", U"djmw", 20100303) |
| 240 |
INTRO (U"Rotates the @Configuration in a plane around the origin.") |
| 241 |
NORMAL (U"Settings") |
| 242 |
TERM (U"##Dimension 1#, ##Dimension 2#") |
| 243 |
DEFINITION (U"the dimensions that span the plane. The order of dimension 1 and dimension 2 is not important: " |
| 244 |
"the lowest number always determines the first dimension.") |
| 245 |
TERM (U"##Angle") |
| 246 |
DEFINITION (U"the counter-clockwise rotation angle in degrees.") |
| 247 |
MAN_END |
| 248 |
|
| 249 |
MAN_BEGIN (U"Configuration: Rotate (pc)", U"djmw", 19971201) |
| 250 |
INTRO (U"Rotates the @Configuration to principal directions. The principal directions " |
| 251 |
"correspond to the principal components.") |
| 252 |
MAN_END |
| 253 |
|
| 254 |
MAN_BEGIN (U"Configuration: To Configuration (procrustes)", U"djmw", 19971219) |
| 255 |
INTRO (U"A command that transforms the second selected @Configuration object " |
| 256 |
"to match the first selected Configuration object as closely as possible." |
| 257 |
"This problem of fitting one configuration (testee) to another (target) " |
| 258 |
"as closely as possible is called the Procrustes problem. We use a " |
| 259 |
"special @@Procrustes transform@ algorithm that does not " |
| 260 |
"mutilate or distort the testee configuration.") |
| 261 |
NORMAL (U"Both Configuration objects must have the same dimensions.") |
| 262 |
MAN_END |
| 263 |
|
| 264 |
MAN_BEGIN (U"Configuration: To Configuration (varimax)...", U"djmw", 20040407) |
| 265 |
INTRO (U"A command that rotates the selected @Configuration object to a new " |
| 266 |
"Configuration object whose coordinates have maximum %squared variance. ") |
| 267 |
ENTRY (U"Settings") |
| 268 |
TERM (U"##Normalize rows") |
| 269 |
DEFINITION (U"when selected, the distances of all points to the origin will " |
| 270 |
"be made equal before iteration starts. We remember these scale factors " |
| 271 |
"and restore the original distances after the iteration process has " |
| 272 |
"stopped.") |
| 273 |
TERM (U"##Quartimax") |
| 274 |
DEFINITION (U"when selected, the sum of fourth powers, normalized or raw, " |
| 275 |
"will be maximized. ") |
| 276 |
TERM (U"##Maximum number of iterations") |
| 277 |
DEFINITION (U"sets a limit to the number of iterations. One iteration consists " |
| 278 |
"of %numberOfDimensions\\.c (%numberOfDimensions\\--1)/2 planar rotations " |
| 279 |
"of all pairs of dimensions.") |
| 280 |
TERM (U"##Tolerance") |
| 281 |
DEFINITION (U"also determines when the iteration stops. This happens if " |
| 282 |
"|%v__%i_\\--%v__%i+1_| < %tolerance \\.c %v__%i_, where %v__%i_ is the " |
| 283 |
"squared variance for the %i^^th^ iteration.") |
| 284 |
NORMAL (U"The iteration process stops when either the %%maximum number of " |
| 285 |
"iterations% is reached or the %tolerance criterion is met, which ever " |
| 286 |
"one is first.") |
| 287 |
ENTRY (U"Algorithm") |
| 288 |
NORMAL (U"The Varimax rotation procedure was first proposed by @@Kaiser " |
| 289 |
"(1958)@. Given a %numberOfPoints \\xx %numberOfDimensions configuration " |
| 290 |
"#A, the procedure tries to find an orthonormal rotation matrix #T such " |
| 291 |
"that the sum of variances of the columns of #B*#B is a maximum, where #B " |
| 292 |
"= #A#T and * is the element wise (Hadamard) product of matrices. A direct " |
| 293 |
"solution for the optimal #T is not available, except for the case when " |
| 294 |
"%numberOfDimensions equals two. Kaiser suggested an iterative " |
| 295 |
"algorithm based on planar rotations, i.e., alternate rotations of all " |
| 296 |
"pairs of columns of #A.") |
| 297 |
NORMAL (U"However, this procedure is not without problems: the varimax function " |
| 298 |
"may have stationary points that are not even local maxima. We have " |
| 299 |
"incorporated an algorithm of @@Ten Berge (1995)@ " |
| 300 |
"that prevents this unpleasant situation from happening.") |
| 301 |
MAN_END |
| 302 |
|
| 303 |
MAN_BEGIN (U"Configuration: To Distance", U"djmw", 19971207) |
| 304 |
INTRO (U"A command that computes a @Distance object for each selected " |
| 305 |
"@Configuration.") |
| 306 |
ENTRY (U"Algorithm") |
| 307 |
NORMAL (U"The distance %d__%ij_ between objects %i and %j is calculated as:") |
| 308 |
EQUATION (U"%d__%ij_ = %d__%ji_ = (\\su__%k=1..%numberOfDimensions_ |%x__%ik_ " |
| 309 |
"\\-- %x__%jk_|^2)^^1/2^") |
| 310 |
MAN_END |
| 311 |
|
| 312 |
MAN_BEGIN (U"Configuration: To Similarity (cc)", U"djmw", 19980130) |
| 313 |
INTRO (U"A command that create one @Similarity object from the selected " |
| 314 |
"@Configuration objects.") |
| 315 |
NORMAL (U"In the Similarity object entry %s__%ij_ equals the @@congruence " |
| 316 |
"coefficient@ for the %i-th and %j-th selected Configuration object.") |
| 317 |
NORMAL (U"All Configuration objects must have the same number of points and " |
| 318 |
"the same dimensions.") |
| 319 |
MAN_END |
| 320 |
|
| 321 |
MAN_BEGIN (U"Configuration & AffineTransform: To Configuration", U"djmw", 20011008) |
| 322 |
INTRO (U"A command that transforms the selected @Configuration to a new " |
| 323 |
"Configuration object according to the specifications in the selected " |
| 324 |
"@AffineTransform object.") |
| 325 |
MAN_END |
| 326 |
|
| 327 |
MAN_BEGIN (U"Configuration & Procrustes: To Configuration", U"djmw", 20011008) |
| 328 |
INTRO (U"A command that transforms the selected @Configuration to a new " |
| 329 |
"Configuration object according to the specifications in the selected " |
| 330 |
"@Procrustes object.") |
| 331 |
MAN_END |
| 332 |
|
| 333 |
MAN_BEGIN (U"Configurations: To AffineTransform (congruence)...", U"djmw", 20040407) |
| 334 |
INTRO (U"A command that creates an @AffineTransform object from two selected " |
| 335 |
"@Configuration objects.") |
| 336 |
NORMAL (U"We calculate the affine transform that transforms the second " |
| 337 |
"selected Configuration object to match the first selected Configuration " |
| 338 |
"object as closely as possible. " |
| 339 |
"The degree of proportionality is the congruence between corresponding " |
| 340 |
"dimensions.") |
| 341 |
ENTRY (U"Settings") |
| 342 |
TERM (U"##Maximum number of iterations") |
| 343 |
DEFINITION (U"sets a limit to the number of iterations.") |
| 344 |
TERM (U"##Tolerance") |
| 345 |
DEFINITION (U"also determines when the iteration stops. This happens if " |
| 346 |
"|%f(#T__%i_)\\--%f(#T__%i+1_)| < %tolerance \\.c %f(#T__%i_), where " |
| 347 |
"%f(#T__%i_) is the sum of the congruences for the %i^^th^ " |
| 348 |
"iteration (see below).") |
| 349 |
NORMAL (U"The iteration process stops when either the %%maximum number of " |
| 350 |
"iterations% is reached or the %tolerance criterion is met, which ever " |
| 351 |
"one is first.") |
| 352 |
ENTRY (U"Algorithm") |
| 353 |
NORMAL (U"Sometimes the criterion used in a @@Procrustes transform@ is too " |
| 354 |
"restrictive for comparing two configurations. This criterion is only " |
| 355 |
"zero when the positions in the rotated configuration (#A#T) equal the " |
| 356 |
"positions in the other configuration (#B). @@Brokken (1983)@ proposed an " |
| 357 |
"algorithm to maximize instead the sum of congruences between " |
| 358 |
"corresponding dimensions of #AT and #B. " |
| 359 |
"Specifically he proposed to maximize") |
| 360 |
EQUATION (U"%f(#T) = \\su__%i=1..%numberOfDimensions_ #t\\'p__%i_#A\\'p#b__%i_ /" |
| 361 |
" ((#t\\'p__%i_#A\\'p#A#t__%i_)^^1/2^(#b\\'p__%i_#b__%i_)^^1/2^),") |
| 362 |
NORMAL (U"where #t\\'p__%i_ and #b\\'p__%i_ are the %i^^th^ column of #T and " |
| 363 |
"#B, respectively. A direct solution for #T is not available, it can only " |
| 364 |
"be obtained by an iterative procedure. The implemented algorithm is from " |
| 365 |
"@@Kiers & Groenen (1996)@ and shows excellent convergence properties.") |
| 366 |
MAN_END |
| 367 |
|
| 368 |
MAN_BEGIN (U"Configuration & Configuration: To Procrustes...", U"djmw", 20011008) |
| 369 |
INTRO (U"A command that creates a @Procrustes object from two selected " |
| 370 |
"@Configuration objects.") |
| 371 |
ENTRY (U"Setting") |
| 372 |
TERM (U"##Orthogonal transform") |
| 373 |
DEFINITION (U"determines whether or not a translation and a scaling are allowed in the transform.") |
| 374 |
NORMAL (U"We calculate the @@Procrustes transform@ that transforms the second " |
| 375 |
"selected Configuration object to match the first selected Configuration " |
| 376 |
"object as closely as possible.") |
| 377 |
MAN_END |
| 378 |
|
| 379 |
MAN_BEGIN (U"Confusion: To Dissimilarity...", U"djmw", 20040407) |
| 380 |
INTRO (U"A command that creates a @Dissimilarity from every selected " |
| 381 |
"@Confusion.") |
| 382 |
ENTRY (U"Settings") |
| 383 |
TERM (U"##Normalize") |
| 384 |
DEFINITION (U"when on, normalize rows by dividing each row element by the row " |
| 385 |
"sum. In this way you correct for unequal stimulus numbers.") |
| 386 |
TERM (U"##No symmetrization#, #Average, #Houtgast") |
| 387 |
DEFINITION (U"determine the symmetrization procedure. See " |
| 388 |
"@@Confusion: To Similarity...") |
| 389 |
TERM (U"##Maximum dissimilarity") |
| 390 |
DEFINITION (U"determines the maximum dissimilarity possible. When the default " |
| 391 |
"value, 0.0, is chosen, %maximumDissimilarity " |
| 392 |
"is calculated as the maximum element in the Similarity object.") |
| 393 |
ENTRY (U"Algorithm") |
| 394 |
NORMAL (U"We first transform the Confusion to a Similarity. See " |
| 395 |
"@@Confusion: To Similarity...") |
| 396 |
NORMAL (U"To obtain dissimilarities from similarities we \"reverse\" the " |
| 397 |
"latter:") |
| 398 |
EQUATION (U"%%dissimilarity__%ij_ = %maximumDissimilarity \\-- %similarity__%ij_") |
| 399 |
MAN_END |
| 400 |
|
| 401 |
MAN_BEGIN (U"Confusion: To Dissimilarity (pdf)...", U"djmw", 20040407) |
| 402 |
INTRO (U"A command that creates a @Dissimilarity from every selected " |
| 403 |
"@Confusion.") |
| 404 |
ENTRY (U"Settings") |
| 405 |
TERM (U"##Symmetrize first") |
| 406 |
DEFINITION (U"when on, the confusion matrix is symmetrized before we calculate " |
| 407 |
"dissimilarities.") |
| 408 |
TERM (U"##Maximum dissimilarity (units of sigma)") |
| 409 |
DEFINITION (U"specifies the dissimilarity from confusion matrix elements that " |
| 410 |
"are zero.") |
| 411 |
ENTRY (U"Algorithm") |
| 412 |
TERM (U"1. Normalize rows by dividing each row element by the row sum (optional).") |
| 413 |
TERM (U"2. Symmetrize the matrix by averaging %f__%ij_ and %f__%ji_.") |
| 414 |
TERM (U"3. Transformation of the confusion measure which is a sort of " |
| 415 |
"%similarity measure to the %dissimilarity measure.") |
| 416 |
NORMAL (U"Similarity and dissimilarity have an inverse relationship: the " |
| 417 |
"greater the similarity, the smaller the dissimilarity and vice versa. " |
| 418 |
"Both have a monotonic relationship with distance. " |
| 419 |
"The most simple way to transform the similarities %f__%ij_ into " |
| 420 |
"dissimilarities is:") |
| 421 |
EQUATION (U"%dissimilarity__%ij_ = %maximumSimilarity \\-- %similarity__%ij_") |
| 422 |
NORMAL (U"For ordinal analyses like Kruskal this transformation is fine because " |
| 423 |
"only order relations are important in this analysis. However, for " |
| 424 |
"metrical analyses like INDSCAL this is not optimal. " |
| 425 |
"In INDSCAL, distance is a linear function of dissimilarity. This means " |
| 426 |
"that, with the transformation " |
| 427 |
"above, you ultimately fit an INDSCAL model in which the distance " |
| 428 |
"between object %i and %j will be linearly related to the confusion " |
| 429 |
"between %i and %j.") |
| 430 |
NORMAL (U"For the relation between confusion and dissimilarity, the model " |
| 431 |
"implemented here, makes the assumption that the amount of confusion " |
| 432 |
"between objects %i and %j is related to the amount that their " |
| 433 |
"probability density functions, pdf's, overlap. Because we do not know " |
| 434 |
"these pdf's we make the assumption that both are normal, have equal " |
| 435 |
"%sigma and are one-dimensional. The parameter to be determined is the " |
| 436 |
"distance between the centres of both pdf's. " |
| 437 |
"According to formula 26.2.23 in @@Abramowitz & Stegun (1970)@, for each " |
| 438 |
"fraction %f__%ij_, we have to find an %x that solves:") |
| 439 |
EQUATION (U"%f__%ij_ = 1 / \\Vr(2%\\pi) \\in__%x_^^\\oo^ e^^-%t\\.c%t/2^ %dt") |
| 440 |
NORMAL (U"This %x will be used as the dissimilarity between %i and %j. The " |
| 441 |
"relation between %x and %f__%ij_ is monotonic. This means that the " |
| 442 |
"results for a Kruskal analysis will not change much. For INDSCAL, in " |
| 443 |
"general, you will note a significantly better fit.") |
| 444 |
MAN_END |
| 445 |
|
| 446 |
MAN_BEGIN (U"Confusion: To Similarity...", U"djmw", 20040407) |
| 447 |
INTRO (U"A command that creates a @Similarity from every selected @Confusion.") |
| 448 |
ENTRY (U"Settings") |
| 449 |
TERM (U"##Normalize") |
| 450 |
DEFINITION (U"when on, normalize rows by dividing each row element by the row " |
| 451 |
"sum. In this way you correct for unequal stimulus numbers.") |
| 452 |
TERM (U"##No symmetrization#, #Average, #Houtgast") |
| 453 |
DEFINITION (U"determine the symmetrization procedure.") |
| 454 |
ENTRY (U"Algorithm") |
| 455 |
NORMAL (U"The %Average procedure averages:") |
| 456 |
EQUATION (U"%similarity__%ij_= %similarity__%ji_ = (%confusion__%ij_ + " |
| 457 |
"%confusion__%ji_) / 2") |
| 458 |
NORMAL (U"The %Houtgast procedure as described in the paper by @@Klein, Plomp " |
| 459 |
"& Pols (1970)@, expresses similarity between stimuli %i and %j by the " |
| 460 |
"number of times that stimulus %i and %j have " |
| 461 |
"resulted in the same response, summated over all response categories.") |
| 462 |
NORMAL (U"We use the following formula to calculate the %Houtgast " |
| 463 |
"dissimilarities:") |
| 464 |
EQUATION (U"%similarity__%ij_ = \\su__%k=1..%numberOfColumns_ min " |
| 465 |
"(%confusion__%ik_, %confusion__%jk_)") |
| 466 |
NORMAL (U"which is equivalent to the formula in the Klein et al. paper:") |
| 467 |
EQUATION (U"%similarity__%ij_ = \\su__%k=1..%numberOfColumns_ (%confusion__%ik_ " |
| 468 |
"+ %confusion__%jk_ \\-- |%confusion__%ik_ \\-- %confusion__%jk_|)") |
| 469 |
MAN_END |
| 470 |
|
| 471 |
MAN_BEGIN (U"congruence coefficient", U"djmw", 20040407) |
| 472 |
INTRO (U"The %%congruence coefficient% is a measure of similarity between two " |
| 473 |
"@@Configuration@s.") |
| 474 |
NORMAL (U"The congruence coefficient %c(#X, #Y) for the configurations #X and " |
| 475 |
"#Y is defined as:") |
| 476 |
EQUATION (U"%c(%X, %Y) = \\su__%i<%j_ %w__%ij_ %d__%ij_(#X) %d__%ij_(#Y) / " |
| 477 |
"([\\su__%i<%j_ %w__%ij_ %d^2__%ij_(#X)]^^1/2^ [\\su__%i<%j_ %w__%ij_ " |
| 478 |
"%d^2__%ij_(#Y)]^^1/2^),") |
| 479 |
NORMAL (U"where %d__%ij_(#X) is the distance between the points %i and %j in " |
| 480 |
"configuration #X and %w__%ij_ are nonnegative weights (default: %w__%ij_" |
| 481 |
" = 1).") |
| 482 |
NORMAL (U"Since distances are nonnegative, the congruence coefficient has a " |
| 483 |
"value between 0 and 1.") |
| 484 |
NORMAL (U"The %%congruence coefficient% is a better measure of the similarity " |
| 485 |
"between configurations than the %%correlation coefficient% of the " |
| 486 |
"distances. @@Borg & Groenen (1997)@ give a simple example where things " |
| 487 |
"go wrong with correlation coefficients: two configurations #X and #Y with three points each, have " |
| 488 |
"distances %d__12_(#X) = 1, %d__13_(#X) = 2, %d__23_(#X) = 3 and " |
| 489 |
"%d__12_(#Y) = 2, %d__13_(#Y) = 3, %d__23_(#Y) = 4. " |
| 490 |
"These distances have a correlation coefficient of 1. " |
| 491 |
"However, in #X the three points lie on a straight line and in #Y the " |
| 492 |
"points form a triangle. This unwanted situation occurs because " |
| 493 |
"in the calculation of the correlation coefficient the mean is subtracted " |
| 494 |
"from the distances and the resulting values are no longer distances " |
| 495 |
"(they may become negative). In calculating the correlation " |
| 496 |
"between the distances we should not subtract the mean. " |
| 497 |
"In fact, the congruence coefficient is exactly this correlation " |
| 498 |
"coefficient calculated with respect to the origin and " |
| 499 |
"not with respect to the centroid position (the \"mean\").") |
| 500 |
NORMAL (U"For further information on how well one number can assess the " |
| 501 |
"similarity between two configurations see @@Borg & Groenen (1997)@ " |
| 502 |
"section 19.7.") |
| 503 |
MAN_END |
| 504 |
|
| 505 |
MAN_BEGIN (U"ContingencyTable", U"djmw", 19971216) |
| 506 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 507 |
NORMAL (U"In a two-way contingency table, cell %f__%ij_ contains the frequency " |
| 508 |
"with which row category %i co-occurs with column category %j. " |
| 509 |
"Necessarily, all %f__%ij_ \\>_ 0.") |
| 510 |
ENTRY (U"Commands") |
| 511 |
NORMAL (U"Creation") |
| 512 |
LIST_ITEM (U"\\bu ##TableOfReal: To ##ContingencyTable") |
| 513 |
NORMAL (U"Query") |
| 514 |
LIST_ITEM (U"\\bu ##ContingencyTable: Get chi squared probability") |
| 515 |
LIST_ITEM (U"\\bu ##ContingencyTable: Get Cramer's statistic") |
| 516 |
LIST_ITEM (U"\\bu ##ContingencyTable: Get contingency coefficient") |
| 517 |
NORMAL (U"Analysis") |
| 518 |
LIST_ITEM (U"\\bu @@ContingencyTable: To Configuration (ca)...") |
| 519 |
MAN_END |
| 520 |
|
| 521 |
MAN_BEGIN (U"ContingencyTable: To Configuration (ca)...", U"djmw", 20040407) |
| 522 |
INTRO (U"A command that creates a @Configuration object from the selected " |
| 523 |
"@ContingencyTable object by means of @@Correspondence analysis@.") |
| 524 |
ENTRY (U"Settings") |
| 525 |
TERM (U"##Number of dimensions") |
| 526 |
DEFINITION (U"The dimensionality of the Configuration.") |
| 527 |
TERM (U"##Scaling of the final configuration") |
| 528 |
DEFINITION (U"determines whether row points are in the centre of gravity of " |
| 529 |
"column points, or, column points are in the centre of gravity of row " |
| 530 |
"points, or, whether roes and columns are treated symmetrically.") |
| 531 |
ENTRY (U"Algorithm") |
| 532 |
NORMAL (U"1. We start with the following transformation of the entries " |
| 533 |
"%f__%ij_:") |
| 534 |
EQUATION (U"%h__%ij_ = %f__%ij_ / \\Vr (%f__%i+_%f__+%j_) - \\Vr " |
| 535 |
"(%f__%i+_%f__+%j_) / %N,") |
| 536 |
NORMAL (U"where %h__%ij_ is the entry for a cell in the matrix #H with " |
| 537 |
"transformed data, %f__%i+_ " |
| 538 |
"is the total count for row %i, %f__+%j_ is the total count for column %j " |
| 539 |
"and %N is the grand total. " |
| 540 |
"This can be written in matrix form as:") |
| 541 |
EQUATION (U"#H = #R^^\\--1/2^#F#C^^\\--1/2^ \\-- #R^^1/2^#uu\\'p#C^^1/2^ / %N,") |
| 542 |
NORMAL (U"where #R and #C are diagonal matrices with the row and column totals, " |
| 543 |
"respectively and #u a column vector with all elements equal to 1. ") |
| 544 |
NORMAL (U"2. Next the singular value decomposition of matrix #H is performed:") |
| 545 |
EQUATION (U"#H = #K #\\La #L\\'p,") |
| 546 |
NORMAL (U"where #K\\'p#K = #I, #L\\'p#L = #I, and #\\La is a diagonal matrix " |
| 547 |
"with singular values.") |
| 548 |
NORMAL (U"3. Now the row (#X) and column points (#Y) can be determined. " |
| 549 |
"Three normalizations are possible:") |
| 550 |
TERM (U"\\bu Scale row points in the centre of gravity of column points") |
| 551 |
DEFINITION (U"#X = \\Vr%N #R^^\\--1/2^#K#\\La") |
| 552 |
DEFINITION (U"#Y = \\Vr%N #C^^\\--1/2^#U") |
| 553 |
TERM (U"\\bu Scale column points in the centre of gravity of row points") |
| 554 |
DEFINITION (U"#X = \\Vr%N #R^^\\--1/2^#K") |
| 555 |
DEFINITION (U"#Y = \\Vr%N #C^^\\--1/2^#L#\\La") |
| 556 |
TERM (U"\\bu Treat row points and column points symmetrically") |
| 557 |
DEFINITION (U"#X = \\Vr%N #R^^\\--1/2^#K#\\La^^\\--1/2^") |
| 558 |
DEFINITION (U"#Y = \\Vr%N #C^^\\--1/2^#L\\La^^\\--1/2^") |
| 559 |
NORMAL (U"For more details see @@Gifi (1990)@, chapter 8.") |
| 560 |
MAN_END |
| 561 |
|
| 562 |
MAN_BEGIN (U"Correspondence analysis", U"djmw", 19971216) |
| 563 |
INTRO (U"Correspondence analysis provides a method for representing data in " |
| 564 |
"an Euclidean space so that the results can be visually examined for " |
| 565 |
"structure. For data in a typical two-way @ContingencyTable both the row " |
| 566 |
"variables and the column variables are represented in the same space. " |
| 567 |
"This means that one can examine relations not only among row " |
| 568 |
"or column variables but also between row and column variables.") |
| 569 |
NORMAL (U"In correspondence analysis the data matrix is first transformed by " |
| 570 |
"dividing each cell by the square root of the corresponding row and column " |
| 571 |
"totals. " |
| 572 |
"The transformed matrix is then decomposed with singular value " |
| 573 |
"decomposition resulting in the singular values (which in this case are " |
| 574 |
"canonical correlations) and a set of row vectors and column vectors. " |
| 575 |
"Next the row and column vectors are rescaled with the original total " |
| 576 |
"frequencies to obtain optimal scores. " |
| 577 |
"These optimal scores are weighted by the square root of the singular " |
| 578 |
"values and become the coordinates of the points in the @Configuration.") |
| 579 |
NORMAL (U"Examples can be found in the books by @@Weller & Romney (1990)@ and " |
| 580 |
"@@Gifi (1990)@.") |
| 581 |
MAN_END |
| 582 |
|
| 583 |
MAN_BEGIN (U"Create Configuration...", U"djmw", 19980413) |
| 584 |
INTRO (U"A command to create a @Configuration with the specified number of " |
| 585 |
"points and number of dimensions. The location of the points will be " |
| 586 |
"determined by the formula (see @@Formulas@ for more " |
| 587 |
"information about possible formulas).") |
| 588 |
MAN_END |
| 589 |
|
| 590 |
MAN_BEGIN (U"Create INDSCAL Carroll & Wish example...", U"djmw", 19971201) |
| 591 |
INTRO (U"Creates eight @Dissimilarity objects that bear names \"1\" ... \"8\".") |
| 592 |
NORMAL (U"These objects contain the interpoint distances for a twodimensional " |
| 593 |
"3\\xx3 @Configuration of points, labelled A, B, C, ... I. " |
| 594 |
"All Dissimilarity objects are based on the following underlying configuration.") |
| 595 |
PICTURE (4.0, 4.0, drawCarrollWishConfigurationExample) |
| 596 |
NORMAL (U"The eight sources weigh this configuration in the following manner:") |
| 597 |
PICTURE (4.0, 4.0, drawCarrollWishSalienceExample) |
| 598 |
NORMAL (U"For each source, the distances were subjected to the transformation: ") |
| 599 |
EQUATION (U"%dissimilarity__%ij_ = %distance__%ij_ + %noiseRange \\.c #u, ") |
| 600 |
NORMAL (U"where #u is a uniform random variable between 0 and 1.") |
| 601 |
NORMAL (U"Now you can do the following for example:") |
| 602 |
TERM (U"Select all the Dissimilarity objects and choose @@Dissimilarity: To Distance...|" |
| 603 |
"To Distance...@.") |
| 604 |
DEFINITION (U"Uncheck scale (add \"additive constant\").") |
| 605 |
TERM (U"Select all the Distance objects and choose @@Distance: To Configuration (indscal)...|" |
| 606 |
"To Configuration (indscal)...@.") |
| 607 |
DEFINITION (U"and an @@INDSCAL analysis@ will be performed. In order to reproduce the saliences, " |
| 608 |
"you have to uncheck the \"Normalize scalar products\" option.") |
| 609 |
NORMAL (U"This example was adapted from @@Carroll & Wish (1974)@.") |
| 610 |
MAN_END |
| 611 |
|
| 612 |
MAN_BEGIN (U"Create letter R example...", U"djmw", 19971201) |
| 613 |
INTRO (U"Creates a @Dissimilarity object that bears the name %R. The " |
| 614 |
"dissimilarities in this object were chosen to be a monotone " |
| 615 |
"transformation of the distances between the 32 two-dimensional points " |
| 616 |
"that make up the capital letter #R.") |
| 617 |
PICTURE (4.0, 4.0, drawLetterRConfigurationExample) |
| 618 |
NORMAL (U"All 32 \\.c (32-1)/2 interpoint distances were subjected to the " |
| 619 |
"transformation: ") |
| 620 |
EQUATION (U"%dissimilarity__%ij_^ = %distance__%ij_^2 + 5 + %noiseRange \\.c #u, ") |
| 621 |
NORMAL (U"where #u is a uniform random variable between 0 and 1.") |
| 622 |
NORMAL (U"This example was chosen from @@Green, Carmone & Smith (1989)@.") |
| 623 |
MAN_END |
| 624 |
|
| 625 |
MAN_BEGIN (U"disparities", U"djmw", 19980111) |
| 626 |
INTRO (U"The numbers %d\\'p__%ij_ that result from applying an admissible " |
| 627 |
"transformation %f on the dissimilarities %\\de__%ij_, i.e., %d\\'p__%ij_ " |
| 628 |
"= %f (%\\de__%ij_). Disparities have the same dimension as distances. " |
| 629 |
"Other names for disparities are %%pseudo distances% and %%target " |
| 630 |
"distances%.") |
| 631 |
MAN_END |
| 632 |
|
| 633 |
MAN_BEGIN (U"Dissimilarity", U"djmw", 20010327) |
| 634 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 635 |
NORMAL (U"It represents a one-way table with " |
| 636 |
"dissimilarities between \"objects\".") |
| 637 |
ENTRY (U"Creating a Dissimilarity from data in a text file") |
| 638 |
NORMAL (U"Suppose you have three objects A, B and C. " |
| 639 |
"In one way or another, you have acquired the following (symmetric) " |
| 640 |
"dissimilarities: %\\de__%AB_ = 2 (= %\\de__%BA_) , %\\de__%AC_ = 1 " |
| 641 |
"(= %\\de__%CA_), and %\\de__%BC_ = 1.4 (= %\\de__CB_), where %\\de__%AB_" |
| 642 |
" represents the dissimilarity between object A and object B.") |
| 643 |
NORMAL (U"You can create a simple text file like the following:") |
| 644 |
CODE (U"\"ooTextFile\" ! The line by which Praat can recognize your file") |
| 645 |
CODE (U"\"Dissimilarity\" ! The line that tells Praat about the contents") |
| 646 |
CODE (U"3 \"A\" \"B\" \"C\" ! Number of columns, and column labels") |
| 647 |
CODE (U"3 ! Number of rows") |
| 648 |
CODE (U"\"A\" 0 2 1 ! Row label (A), A-B value, A-C value") |
| 649 |
CODE (U"\"B\" 2 0 1.4 ! Row label (B), B-A value, B-C value") |
| 650 |
CODE (U"\"C\" 1 1.4 0 ! Row label (C), C-A value, C-B value") |
| 651 |
NORMAL (U"Notice that:") |
| 652 |
LIST_ITEM (U"\\bu the row and column labels are identical.") |
| 653 |
LIST_ITEM (U"\\bu the matrix elements on the diagonal are zero.") |
| 654 |
LIST_ITEM (U"\\bu the matrix is symmetrical.") |
| 655 |
NORMAL (U"This text file can be read with the @@Read from file...@ command. " |
| 656 |
"Since a Dissimilarity object has the data structure of a square " |
| 657 |
"symmetrical TableOfReal, you could also start from an appropriate " |
| 658 |
"@TableOfReal object and cast it to a Dissimilarity object.") |
| 659 |
ENTRY (U"Commands") |
| 660 |
NORMAL (U"Creation") |
| 661 |
LIST_ITEM (U"\\bu @@Confusion: To Dissimilarity...") |
| 662 |
NORMAL (U"Drawing") |
| 663 |
LIST_ITEM (U"\\bu ##Draw as numbers...") |
| 664 |
LIST_ITEM (U"\\bu ##Draw as squares...") |
| 665 |
NORMAL (U"Query") |
| 666 |
LIST_ITEM (U"\\bu ##Get column mean (index)...") |
| 667 |
LIST_ITEM (U"\\bu ##Get column mean (label)...") |
| 668 |
LIST_ITEM (U"\\bu ##Get column stdev (index)...") |
| 669 |
LIST_ITEM (U"\\bu ##Get column stdev (label)...") |
| 670 |
LIST_ITEM (U"\\bu @@Dissimilarity: Get additive constant") |
| 671 |
NORMAL (U"Modification") |
| 672 |
LIST_ITEM (U"\\bu @@Formula...") |
| 673 |
LIST_ITEM (U"\\bu ##Set value...") |
| 674 |
LIST_ITEM (U"\\bu ##Remove column (index)...") |
| 675 |
LIST_ITEM (U"\\bu ##Insert column (index)...") |
| 676 |
LIST_ITEM (U"\\bu ##Set row label (index)...") |
| 677 |
LIST_ITEM (U"\\bu ##Set row label (label)...") |
| 678 |
LIST_ITEM (U"\\bu ##Set column label (index)...") |
| 679 |
LIST_ITEM (U"\\bu ##Set column label (label)...") |
| 680 |
NORMAL (U"Multidimensional scaling analysis") |
| 681 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (monotone mds)...") |
| 682 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (i-spline mds)...") |
| 683 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (interval mds)...") |
| 684 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (ratio mds)...") |
| 685 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (absolute mds)...") |
| 686 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (kruskal)...") |
| 687 |
LIST_ITEM (U"Transformations") |
| 688 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Distance...") |
| 689 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Weight") |
| 690 |
MAN_END |
| 691 |
|
| 692 |
MAN_BEGIN (U"Dissimilarity: Get additive constant", U"djmw", 19971201) |
| 693 |
INTRO (U"A command that calculates the \"additive constant\" from the selected @Dissimilarity.") |
| 694 |
NORMAL (U"Distances %d__%ij_ will be obtained from dissimilarities %\\de__%ij_ according to:") |
| 695 |
EQUATION (U" %distance__%ij_ = %dissimilarity__%ij_ + %additiveConstant") |
| 696 |
NORMAL (U"We use a procedure by @@Cailliez (1983)@ to solve the \"additive constant problem\", i.e. " |
| 697 |
"find the smallest %additiveConstant such that all %distance__%ij_ in the above equation " |
| 698 |
" have a Euclidean representation.") |
| 699 |
MAN_END |
| 700 |
|
| 701 |
MAN_BEGIN (U"Dissimilarity: To Configuration (absolute mds)...", U"djmw", 19980105) |
| 702 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity object.") |
| 703 |
NORMAL (U"The @disparities %d\\'p__%ij_ will be obtained from dissimilarities %\\de__%ij_ according to:") |
| 704 |
EQUATION (U"%d\\'p__%ij_ = %\\de__%ij_") |
| 705 |
MAN_END |
| 706 |
|
| 707 |
MAN_BEGIN (U"Dissimilarity: To Configuration (interval mds)...", U"djmw", 19980105) |
| 708 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity object.") |
| 709 |
NORMAL (U"The @disparities %d\\'p__%ij_ will be obtained from dissimilarities %\\de__%ij_ according to:") |
| 710 |
EQUATION (U"%d\\'p__%ij_ = %a + %b \\.c %\\de__%ij_") |
| 711 |
MAN_END |
| 712 |
|
| 713 |
MAN_BEGIN (U"Dissimilarity: To Configuration (i-spline mds)...", U"djmw", 20040407) |
| 714 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity object.") |
| 715 |
NORMAL (U"Dissimilarities %\\de__%ij_ and @disparities %d\\'p__%ij_ will be related by a @spline function:") |
| 716 |
EQUATION (U"%d\\'p__%ij_ = \\su__%k=1..(%%numberOfInteriorKnots%+%order)_ spline__%k_ (%knots, %order, %\\de__%ij_),") |
| 717 |
NORMAL (U"where spline__%k_ (\\.c) is the value of the %k^^th^ I-spline of order %order and knot sequence " |
| 718 |
"%knot evaluated at %\\de__%ij_.") |
| 719 |
ENTRY (U"Settings") |
| 720 |
TERM (U"##Number of dimensions") |
| 721 |
DEFINITION (U"determines the dimensionality of the configuration.") |
| 722 |
TERM (U"##Number of interior knots") |
| 723 |
DEFINITION (U"determines the number of segment boundaries. Each interior knot " |
| 724 |
"is the boundary between two segments. The splines in each segment will " |
| 725 |
"be joined as continuously as possible.") |
| 726 |
TERM (U"##Order of I-spline") |
| 727 |
DEFINITION (U"The order of the polynomial basis of the I-spline.") |
| 728 |
NORMAL (U"Finding the optimal Configuration involves a minimization process:") |
| 729 |
TERM (U"##Tolerance") |
| 730 |
DEFINITION (U"When successive values for the stress differ by less than " |
| 731 |
"#Tolerance, the minimization process stops.") |
| 732 |
TERM (U"##Maximum number of iterations") |
| 733 |
DEFINITION (U"Minimization stops after this number of iterations has been " |
| 734 |
"reached.") |
| 735 |
TERM (U"##Number of repetitions") |
| 736 |
DEFINITION (U"If chosen larger than 1, the minimization process will be " |
| 737 |
"repeated, each time with another random start configuration. " |
| 738 |
"The configuration that results in minimum stress, will be saved.") |
| 739 |
ENTRY (U"Hints") |
| 740 |
NORMAL (U"If %numberOfInteriorKnots is zero, polynomial regression will be " |
| 741 |
"performed. Therefore , the combination %numberOfInteriorKnots = 0 and " |
| 742 |
"%order = 1 also gives interval " |
| 743 |
"scaling (in fact, it is the implementation in this program).") |
| 744 |
NORMAL (U"In the limit when %order = 0 and %numberOfInteriorKnots = " |
| 745 |
"%numberOfDissimilarities, monotone regression is performed.") |
| 746 |
MAN_END |
| 747 |
|
| 748 |
MAN_BEGIN (U"Dissimilarity: To Configuration (kruskal)...", U"djmw", 20230801) |
| 749 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 750 |
"object.") |
| 751 |
ENTRY (U"Settings") |
| 752 |
TERM (U"##Number of dimensions# (standard value: 2)") |
| 753 |
DEFINITION (U"The dimensionality of the Configuration.") |
| 754 |
TERM (U"##Distance metric% (standard value: 2, i.e. Euclidean)") |
| 755 |
DEFINITION (U"the general distance between points #x_%i and #x_%j (%i, %j " |
| 756 |
"= 1..%numberOfPoints) is:") |
| 757 |
DEFINITION (U"(\\su__%k=1..%numberOfDimensions_ |%x__%ik_ \\-m %x__%jk_|" |
| 758 |
"^^%metric^)^^1/%metric^") |
| 759 |
TERM (U"##Handling of ties") |
| 760 |
DEFINITION (U"determines the handling of ties in the data. In the %%primary approach%, whenever " |
| 761 |
"two or more dissimilarities are equal we do not care whether the fitted " |
| 762 |
"distances are equal or not. " |
| 763 |
"Consequently, no constraints are imposed on the fitted distances. " |
| 764 |
"For the %%secondary approach%, however, we impose the constraint that the fitted distances be " |
| 765 |
"equal whenever the dissimilarities are equal.") |
| 766 |
NORMAL (U"For the calculation of stress:") |
| 767 |
TERM (U"##Kruskal's stress-1 (Formula1, the default)") // ?? |
| 768 |
EQUATION (U"%stress = \\Vr(\\su(%distance_%k \\-m %fittedDistance_%k)^2 / " |
| 769 |
"\\su %distance__%k_^2)") |
| 770 |
TERM (U"##Kruskal's stress-2 (Formula2)") |
| 771 |
EQUATION (U"%stress = \\Vr(\\su(%distance_%k \\-m %fittedDistance_%k)^2 / " |
| 772 |
"\\su (%distance__%k_ \\-m %averageDistance)^2)") |
| 773 |
DEFINITION (U"Note that values of stress-2 are generally more than double those " |
| 774 |
"of stress-1 for the same degree of fit.") |
| 775 |
NORMAL (U"Finding the optimal Configuration involves a minimization process:") |
| 776 |
TERM (U"##Tolerance") |
| 777 |
DEFINITION (U"When successive values for the stress differ less than %Tolerance " |
| 778 |
"the minimization process stops.") |
| 779 |
TERM (U"##Maximum number of iterations") |
| 780 |
DEFINITION (U"Minimization stops after this number of iterations has been " |
| 781 |
"reached.") |
| 782 |
TERM (U"##Number of repetitions") |
| 783 |
DEFINITION (U"When chosen larger than 1, the minimalization process will be " |
| 784 |
"repeated, each time with another random start configuration. " |
| 785 |
"The configuration that results in minimum stress will be saved.") |
| 786 |
ENTRY (U"Precautions") |
| 787 |
NORMAL (U"When there are few objects it is impossible to recover many " |
| 788 |
"dimensions. A rough rule of thumb is that there should be at least twice " |
| 789 |
"as many number of observations, i.e. the %numberOfPoints \\.c " |
| 790 |
"(%numberOfPoints \\-m 1) / 2 (dis)similarities, than parameters " |
| 791 |
"to be estimated, i.e. the %numberOfPoints \\.c %numberOfDimensions " |
| 792 |
"position coordinates. A practical guide is:") |
| 793 |
LIST_ITEM (U"for %numberOfDimensions = 1 you need \\>_ 5 objects") |
| 794 |
LIST_ITEM (U"for %numberOfDimensions = 2 you need \\>_ 9 objects") |
| 795 |
LIST_ITEM (U"for %numberOfDimensions = 3 you need \\>_ 13 objects") |
| 796 |
NORMAL (U"There is no feasible way to be certain that you have found the " |
| 797 |
"true global minimum. However, by using a great number of different " |
| 798 |
"random starting configurations to scale the same data it is often " |
| 799 |
"possible to obtain practical certainty. " |
| 800 |
"Although the procedure for obtaining an initial configuration is based " |
| 801 |
"on a %linear relation between distance and (dis)similarity, it gives a " |
| 802 |
"very good approximation of the optimal #Configuration and " |
| 803 |
"the #Minimizer practically always finds the global minimum from it " |
| 804 |
"(I guess...). A way to find out is to try the %numberOfRepetitions " |
| 805 |
"parameter which gives you the possibility to fit many times and each " |
| 806 |
"time start with another random initial configuration.") |
| 807 |
ENTRY (U"Algorithm") |
| 808 |
LIST_ITEM (U"1. The Dissimilarity object is converted to a Distance object in " |
| 809 |
"the same way as in @@Dissimilarity: To Distance...@.)") |
| 810 |
LIST_ITEM (U"2. From the Distance object an initial Configuration is found by " |
| 811 |
"first transforming the Distance object to a matrix with scalar products " |
| 812 |
"of distances and subsequently solving for the first %numberOfDimensions " |
| 813 |
"eigenvectors of this matrix.") |
| 814 |
LIST_ITEM (U"3. A minimalization algorithm is started that tries to minimize a " |
| 815 |
"function. In this function:") |
| 816 |
LIST_ITEM (U"\\bu 3.1 We normalize the current Configuration from the minimizer") |
| 817 |
LIST_ITEM (U"\\bu 3.2 Calculate a new Distance object from the configuration") |
| 818 |
LIST_ITEM (U"\\bu 3.3 Do a monotone regression of this Distance on the " |
| 819 |
"Dissimilarity. This results in a new Distance object.") |
| 820 |
LIST_ITEM (U"\\bu 3.4 Calculate stress from this Distance and the Distance " |
| 821 |
"obtained from Dissimilarity.") |
| 822 |
NORMAL (U"The optimization process is controlled by a conjugate gradient " |
| 823 |
"minimization algorithm that tries to minimize the %stress function. " |
| 824 |
"In @@Kruskal (1964)@, a steepest descent " |
| 825 |
"algorithm is used, which is less efficient.") |
| 826 |
MAN_END |
| 827 |
|
| 828 |
MAN_BEGIN (U"Dissimilarity: To Configuration (monotone mds)...", U"djmw", 20190510) |
| 829 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 830 |
"object.") |
| 831 |
NORMAL (U"Dissimilarities %\\de__%ij_ and @disparities %d\\'p__%ij_ are " |
| 832 |
"related by:") |
| 833 |
EQUATION (U"%d\\'p__%ij_ \\<_ %d\\'p__%kl_ if %\\de__%ij_ \\<_ %\\de__%kl_") |
| 834 |
ENTRY (U"Settings") |
| 835 |
TERM (U"##Number of dimensions") |
| 836 |
DEFINITION (U"determines the number of dimensions of the configuration.") |
| 837 |
TERM (U"##Handling of ties") |
| 838 |
DEFINITION (U"When dissimilarities are equal, i.e., %\\de__%ij_ = %\\de__%kl_, " |
| 839 |
"the primary approach imposes no conditions on the corresponding " |
| 840 |
"@disparities %d\\'p__%ij_ and %d\\'p__%kl_, while the %secondary " |
| 841 |
"approach demands that also %d\\'p__%ij_ = %d\\'p__%kl_.") |
| 842 |
NORMAL (U"Finding the optimal Configuration involves a minimization process:") |
| 843 |
TERM (U"##Tolerance") |
| 844 |
DEFINITION (U"When successive values for the stress differ less than %Tolerance " |
| 845 |
"the minimization process stops.") |
| 846 |
TERM (U"##Maximum number of iterations") |
| 847 |
DEFINITION (U"Minimization stops after this number of iterations has been reached.") |
| 848 |
TERM (U"##Number of repetitions") |
| 849 |
DEFINITION (U"When chosen larger than 1, the minimalization process will be " |
| 850 |
"repeated, each time with another random start configuration. " |
| 851 |
"The configuration that results in minimum stress will be saved.") |
| 852 |
MAN_END |
| 853 |
|
| 854 |
MAN_BEGIN (U"Dissimilarity: To Configuration (ratio mds)...", U"djmw", 19980105) |
| 855 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 856 |
"object.") |
| 857 |
NORMAL (U"The @disparities %d\\'p__%ij_ will be obtained from dissimilarities " |
| 858 |
"%\\de__%ij_ according to:") |
| 859 |
EQUATION (U"%d\\'p__%ij_ = %b \\.c %\\de__%ij_") |
| 860 |
MAN_END |
| 861 |
|
| 862 |
MAN_BEGIN (U"Dissimilarity: To Distance...", U"djmw", 20040407) |
| 863 |
INTRO (U"A command that creates a @Distance object from a selected " |
| 864 |
"@Dissimilarity object.") |
| 865 |
ENTRY (U"Settings") |
| 866 |
TERM (U"##Scale") |
| 867 |
DEFINITION (U"when on, the @@Dissimilarity: Get additive constant|" |
| 868 |
"additiveConstant@ is determined, when off the %additiveConstant = 0.") |
| 869 |
NORMAL (U"dissimilarities are transformed to distances according to:") |
| 870 |
EQUATION (U" %distance__%ij_ = %dissimilarity__%ij_ + %additiveConstant.") |
| 871 |
MAN_END |
| 872 |
|
| 873 |
MAN_BEGIN (U"Dissimilarity: To Weight", U"djmw", 19980108) |
| 874 |
INTRO (U"Creates an object of type @Weight for each selected @Dissimilarity " |
| 875 |
"object.") |
| 876 |
NORMAL (U"The values in the weight matrix will be:") |
| 877 |
LIST_ITEM (U"%w__%ii_ = 0") |
| 878 |
LIST_ITEM (U"%w__%ij_ = 1 if %\\de__%ij_ > 0") |
| 879 |
MAN_END |
| 880 |
|
| 881 |
MAN_BEGIN (U"Dissimilarity & Configuration: Draw regression (absolute mds)...", |
| 882 |
U"djmw", 20040407) |
| 883 |
INTRO (U"Draws a scatterplot of the dissimilarities %\\de__%ij_ from the " |
| 884 |
"selected @Dissimilarity object versus @disparities %d\\'p__%ij_ obtained " |
| 885 |
"from the \"regression\" of distances %d__%ij_ " |
| 886 |
"from @Configuration on the dissimilarities %\\de__%ij_.") |
| 887 |
EQUATION (U"%d\\'p__%ij_ = %\\de__%ij_") |
| 888 |
ENTRY (U"Settings") |
| 889 |
TERM (U"##Minimum proximity#, ##Maximum proximity#") |
| 890 |
DEFINITION (U"minimum and maximum values for the proximities (horizontal axis).") |
| 891 |
TERM (U"##Minimum distance#, ##Maximum distance#") |
| 892 |
DEFINITION (U"minimum and maximum values for the distances (vertical axis).") |
| 893 |
TERM (U"##Mark size (mm)#, ##Mark string#") |
| 894 |
DEFINITION (U"size and kind of the marks in the plot.") |
| 895 |
TERM (U"##Garnish") |
| 896 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 897 |
MAN_END |
| 898 |
|
| 899 |
MAN_BEGIN (U"Dissimilarity & Configuration: Draw regression (interval mds)...", |
| 900 |
U"djmw", 20040407) |
| 901 |
INTRO (U"Draws a scatterplot of the dissimilarities %\\de__%ij_ from the " |
| 902 |
"selected @Dissimilarity versus @disparities %d\\'p__%ij_ obtained " |
| 903 |
"from the regression of distances %d__%ij_ " |
| 904 |
"from @Configuration on the dissimilarities %\\de__%ij_.") |
| 905 |
EQUATION (U"%d\\'p__%ij_ = %a + %b \\.c %\\de__%ij_,") |
| 906 |
NORMAL (U"where the values of %a and %b are determined by regression.") |
| 907 |
ENTRY (U"Settings") |
| 908 |
TERM (U"##Minimum proximity#, ##Maximum proximity#") |
| 909 |
DEFINITION (U"minimum and maximum values for the proximities (horizontal axis).") |
| 910 |
TERM (U"##Minimum distance#, ##Maximum distance#") |
| 911 |
DEFINITION (U"minimum and maximum values for the distances (vertical axis).") |
| 912 |
TERM (U"##Mark size (mm)#, ##Mark string#") |
| 913 |
DEFINITION (U"size and kind of the marks in the plot.") |
| 914 |
TERM (U"##Garnish") |
| 915 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 916 |
MAN_END |
| 917 |
|
| 918 |
MAN_BEGIN (U"Dissimilarity & Configuration: Draw regression (i-spline mds)...", U"djmw", 20040407) |
| 919 |
INTRO (U"Draws a scatterplot of the dissimilarities %\\de__%ij_ from the " |
| 920 |
"selected @Dissimilarity versus @disparities %d\\'p__%ij_ obtained " |
| 921 |
"from the regression of distances %d__%ij_ from @Configuration on the " |
| 922 |
"@spline transformed dissimilarities %\\de__%ij_.") |
| 923 |
ENTRY (U"Settings") |
| 924 |
TERM (U"##Number of interior knots") |
| 925 |
DEFINITION (U"determines the number of segments.") |
| 926 |
TERM (U"##Order of I-spline") |
| 927 |
DEFINITION (U"The order of the polynomial basis of the I-spline.") |
| 928 |
TERM (U"##Minimum proximity#, ##Maximum proximity#") |
| 929 |
DEFINITION (U"minimum and maximum values for the proximities (horizontal axis).") |
| 930 |
TERM (U"##Minimum distance#, ##Maximum distance#") |
| 931 |
DEFINITION (U"minimum and maximum values for the distances (vertical axis).") |
| 932 |
TERM (U"##Mark size (mm)#, ##Mark string#") |
| 933 |
DEFINITION (U"size and kind of the marks in the plot.") |
| 934 |
TERM (U"##Garnish") |
| 935 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 936 |
MAN_END |
| 937 |
|
| 938 |
MAN_BEGIN (U"Dissimilarity & Configuration: Draw regression (monotone mds)...", U"djmw", 20190510) |
| 939 |
INTRO (U"Draws a scatterplot of the dissimilarities %\\de__%ij_ from the " |
| 940 |
"selected @Dissimilarity versus @disparities %d\\'p__%ij_ obtained " |
| 941 |
"from the monotone regression of distances %d__%ij_ " |
| 942 |
"from @Configuration on the dissimilarities %\\de__%ij_.") |
| 943 |
ENTRY (U"Settings") |
| 944 |
TERM (U"##Handling of ties") |
| 945 |
DEFINITION (U"When dissimilarities are equal, i.e., %\\de__%ij_ = %\\de__%kl_ " |
| 946 |
"the primary approach imposes no conditions on the corresponding distances " |
| 947 |
"%d__%ij_ and %d__%kl_, while the %secondary approach demands that also " |
| 948 |
"%d__%ij_ = %d__%kl_.") |
| 949 |
TERM (U"##Minimum proximity#, ##Maximum proximity#") |
| 950 |
DEFINITION (U"minimum and maximum values for the proximities (horizontal axis).") |
| 951 |
TERM (U"##Minimum distance#, ##Maximum distance#") |
| 952 |
DEFINITION (U"minimum and maximum values for the distances (vertical axis).") |
| 953 |
TERM (U"##Mark size (mm)#, ##Mark string#") |
| 954 |
DEFINITION (U"size and kind of the marks in the plot.") |
| 955 |
TERM (U"##Garnish") |
| 956 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 957 |
MAN_END |
| 958 |
|
| 959 |
MAN_BEGIN (U"Dissimilarity & Configuration: Draw regression (ratio mds)...", U"djmw", 20040407) |
| 960 |
INTRO (U"Draws a scatterplot of the dissimilarities %\\de__%ij_ from the " |
| 961 |
"selected @Dissimilarity versus @disparities %d\\'p__%ij_ obtained " |
| 962 |
"from the \"regression\" of distances %d__%ij_ " |
| 963 |
"from @Configuration on the dissimilarities %\\de__%ij_.") |
| 964 |
EQUATION (U"%d\\'p__%ij_ = %b \\.c %\\de__%ij_,") |
| 965 |
NORMAL (U"where the value of %b is determined by regression.") |
| 966 |
ENTRY (U"Settings") |
| 967 |
TERM (U"##Minimum proximity#, ##Maximum proximity#") |
| 968 |
DEFINITION (U"minimum and maximum values for the proximities (horizontal axis).") |
| 969 |
TERM (U"##Minimum distance#, ##Maximum distance#") |
| 970 |
DEFINITION (U"minimum and maximum values for the distances (vertical axis).") |
| 971 |
TERM (U"##Mark size (mm)#, ##Mark string#") |
| 972 |
DEFINITION (U"size and kind of the marks in the plot.") |
| 973 |
TERM (U"##Garnish") |
| 974 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 975 |
MAN_END |
| 976 |
|
| 977 |
MAN_BEGIN (U"Dissimilarity & Configuration: Draw Shepard diagram...", U"djmw", 20040407) |
| 978 |
INTRO (U"Draws the Shepard diagram. This is a scatterplot of the " |
| 979 |
"dissimilarities from the @Dissimilarity object versus distances (as " |
| 980 |
"calculated from the @Configuration).") |
| 981 |
ENTRY (U"Settings") |
| 982 |
TERM (U"##Minimum proximity#, ##Maximum proximity#") |
| 983 |
DEFINITION (U"minimum and maximum values for the proximities (horizontal axis).") |
| 984 |
TERM (U"##Minimum distance#, ##Maximum distance#") |
| 985 |
DEFINITION (U"minimum and maximum values for the distances (vertical axis).") |
| 986 |
TERM (U"##Mark size (mm)#, ##Mark string#") |
| 987 |
DEFINITION (U"size and kind of the marks in the plot.") |
| 988 |
TERM (U"##Garnish") |
| 989 |
DEFINITION (U"when on, draws a bounding box with decoration.") |
| 990 |
MAN_END |
| 991 |
|
| 992 |
MAN_BEGIN (U"Dissimilarity & Configuration: Get stress (absolute mds)...", |
| 993 |
U"djmw", 19980119) |
| 994 |
INTRO (U"A command to obtain the @stress value for the selected @Dissimilarity " |
| 995 |
"and @Configuration object.") |
| 996 |
ENTRY (U"Behaviour") |
| 997 |
NORMAL (U"Stress formulas are #dependent of the scale of the Configuration: " |
| 998 |
"you will get #another stress value if you had pre-multiplied the " |
| 999 |
"selected Configuration with any number greater than zero.") |
| 1000 |
MAN_END |
| 1001 |
|
| 1002 |
MAN_BEGIN (U"Dissimilarity & Configuration: Get stress (interval mds)...", |
| 1003 |
U"djmw", 19980119) |
| 1004 |
INTRO (U"A command to obtain the @stress value for the selected @Dissimilarity " |
| 1005 |
"and @Configuration object.") |
| 1006 |
ENTRY (U"Behaviour") |
| 1007 |
NORMAL (U"We use stress formulas that are independent of the scale of the " |
| 1008 |
"Configuration: you would have got the same stress value if you had " |
| 1009 |
"pre-multiplied the selected Configuration with any number greater " |
| 1010 |
"than zero.") |
| 1011 |
MAN_END |
| 1012 |
|
| 1013 |
MAN_BEGIN (U"Dissimilarity & Configuration: Get stress (i-spline mds)...", |
| 1014 |
U"djmw", 19980119) |
| 1015 |
INTRO (U"A command to obtain the @stress value for the selected @Dissimilarity " |
| 1016 |
"and @Configuration object.") |
| 1017 |
ENTRY (U"Behaviour") |
| 1018 |
NORMAL (U"We use stress formulas that are independent of the scale " |
| 1019 |
"of the Configuration: you would have got the same stress value if " |
| 1020 |
"you had pre-multiplied the selected Configuration with any number " |
| 1021 |
"greater than zero.") |
| 1022 |
MAN_END |
| 1023 |
|
| 1024 |
MAN_BEGIN (U"Dissimilarity & Configuration: Get stress (monotone mds)...", |
| 1025 |
U"djmw", 19980119) |
| 1026 |
INTRO (U"A command to obtain the @stress value for the selected @Dissimilarity " |
| 1027 |
"and @Configuration object.") |
| 1028 |
ENTRY (U"Behaviour") |
| 1029 |
NORMAL (U"We use stress formulas that are independent of the scale " |
| 1030 |
"of the Configuration: you would have got the same stress value if " |
| 1031 |
"you had pre-multiplied the selected Configuration with any number " |
| 1032 |
"greater than zero.") |
| 1033 |
MAN_END |
| 1034 |
|
| 1035 |
MAN_BEGIN (U"Dissimilarity & Configuration: Get stress (ratio mds)...", |
| 1036 |
U"djmw", 19980119) |
| 1037 |
INTRO (U"A command to obtain the @stress value for the selected @Dissimilarity " |
| 1038 |
"and @Configuration object.") |
| 1039 |
ENTRY (U"Behaviour") |
| 1040 |
NORMAL (U"We use stress formulas that are independent of the scale " |
| 1041 |
"of the Configuration: you would have got the same stress value if " |
| 1042 |
"you had pre-multiplied the selected Configuration with any number " |
| 1043 |
"greater than zero.") |
| 1044 |
MAN_END |
| 1045 |
|
| 1046 |
MAN_BEGIN (U"Dissimilarity & Configuration: To Configuration (absolute mds)...", |
| 1047 |
U"djmw", 19980119) |
| 1048 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1049 |
"object. The selected Configuration object serves as a starting " |
| 1050 |
"configuration for the minimization process.") |
| 1051 |
MAN_END |
| 1052 |
|
| 1053 |
MAN_BEGIN (U"Dissimilarity & Configuration: To Configuration (interval mds)...", |
| 1054 |
U"djmw", 19980119) |
| 1055 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1056 |
"object. The selected Configuration object serves as a starting " |
| 1057 |
"configuration for the minimization process.") |
| 1058 |
MAN_END |
| 1059 |
|
| 1060 |
MAN_BEGIN (U"Dissimilarity & Configuration: To Configuration (i-spline mds)...", |
| 1061 |
U"djmw", 19980119) |
| 1062 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1063 |
"object. The selected Configuration object serves as a starting " |
| 1064 |
"configuration for the minimization process.") |
| 1065 |
MAN_END |
| 1066 |
|
| 1067 |
MAN_BEGIN (U"Dissimilarity & Configuration: To Configuration (kruskal)...", |
| 1068 |
U"djmw", 19971201) |
| 1069 |
INTRO (U"A command to fit an optimal @Configuration for the selected " |
| 1070 |
"@Dissimilarity object. The selected @Configuration will be used as the " |
| 1071 |
"starting configuration in the kruskal analysis.") |
| 1072 |
MAN_END |
| 1073 |
|
| 1074 |
MAN_BEGIN (U"Dissimilarity & Configuration: To Configuration (monotone mds)...", |
| 1075 |
U"djmw", 19980119) |
| 1076 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1077 |
"object. The selected Configuration object serves as a starting " |
| 1078 |
"configuration for the minimization process.") |
| 1079 |
MAN_END |
| 1080 |
|
| 1081 |
MAN_BEGIN (U"Dissimilarity & Configuration: To Configuration (ratio mds)...", |
| 1082 |
U"djmw", 19980119) |
| 1083 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1084 |
"object. The selected Configuration object serves as a starting " |
| 1085 |
"configuration for the minimization process.") |
| 1086 |
MAN_END |
| 1087 |
|
| 1088 |
MAN_BEGIN (U"Dissimilarity & Configuration & Weight: Get stress...", U"djmw", 20190509) |
| 1089 |
INTRO (U"A command that calculates the @stress between distances %d__%ij_ " |
| 1090 |
"derived from the selected @Configuration object and @disparities " |
| 1091 |
"%d\\'p__%ij_ derived from the selected @Dissimilarity object. " |
| 1092 |
"With the selected @Weight object the evaluation of the influence " |
| 1093 |
"of each dissimilarity on stress can be influenced.") |
| 1094 |
ENTRY (U"Settings") |
| 1095 |
LIST_ITEM (U"%%Normalized stress%, %%Kruskal's stress-1%, %%Kruskal's " |
| 1096 |
"stress-2% or %Raw stress%") |
| 1097 |
ENTRY (U"Behaviour") |
| 1098 |
NORMAL (U"Except for %absolute %mds, we use stress formulas that are " |
| 1099 |
"independent of the scale of the Configuration (see @stress): you would " |
| 1100 |
"have got the same stress value if you had pre-multiplied the selected " |
| 1101 |
"Configuration with any number greater than zero.") |
| 1102 |
MAN_END |
| 1103 |
|
| 1104 |
MAN_BEGIN (U"Dissimilarity & Configuration & Weight: To Configuration...", U"djmw", 20040407) |
| 1105 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1106 |
"object. With the selected @Weight object the influence of each " |
| 1107 |
"dissimilarity on @stress can be influenced. The selected Configuration " |
| 1108 |
"object serves as a starting configuration for the minimization process.") |
| 1109 |
ENTRY (U"Settings") |
| 1110 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (monotone mds)...") |
| 1111 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (i-spline mds)...") |
| 1112 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (interval mds)...") |
| 1113 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (ratio mds)...") |
| 1114 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (absolute mds)...") |
| 1115 |
MAN_END |
| 1116 |
|
| 1117 |
MAN_BEGIN (U"Dissimilarity & Weight: To Configuration...", U"djmw", 20040407) |
| 1118 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1119 |
"object. With the selected @Weight object the influence of each " |
| 1120 |
"dissimilarity on @stress can be influenced.") |
| 1121 |
ENTRY (U"Settings") |
| 1122 |
NORMAL (U"May be different and depend on the representation function, i.e. " |
| 1123 |
"the scale of measurement.") |
| 1124 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (monotone mds)...") |
| 1125 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (i-spline mds)...") |
| 1126 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (interval mds)...") |
| 1127 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (ratio mds)...") |
| 1128 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (absolute mds)...") |
| 1129 |
MAN_END |
| 1130 |
|
| 1131 |
MAN_BEGIN (U"Dissimilarity & Weight: To Configuration...", U"djmw", 20040407) |
| 1132 |
INTRO (U"A command that creates a @Configuration object from a @Dissimilarity " |
| 1133 |
"object. With the selected @Weight object the influence of each " |
| 1134 |
"dissimilarity on @stress can be influenced.") |
| 1135 |
ENTRY (U"Settings") |
| 1136 |
NORMAL (U"May be different and depend on the representation function, i.e. the scale of measurement.") |
| 1137 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (monotone mds)...") |
| 1138 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (i-spline mds)...") |
| 1139 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (interval mds)...") |
| 1140 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (ratio mds)...") |
| 1141 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (absolute mds)...") |
| 1142 |
MAN_END |
| 1143 |
|
| 1144 |
MAN_BEGIN (U"Distance", U"djmw", 19971124) |
| 1145 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1146 |
NORMAL (U"An object of type Distance represents distances between objects in a metrical space.") |
| 1147 |
NORMAL (U"Creation") |
| 1148 |
LIST_ITEM (U"\\bu @@Confusion: To Dissimilarity (pdf)...") |
| 1149 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Distance...") |
| 1150 |
MAN_END |
| 1151 |
|
| 1152 |
MAN_BEGIN (U"Distance: To Configuration (indscal)...", U"djmw", 19971124) |
| 1153 |
INTRO (U"Perform an @@INDSCAL analysis@ on the selected object(s) of type @Distance that " |
| 1154 |
"results in a @Configuration and a @Salience object.") |
| 1155 |
MAN_END |
| 1156 |
|
| 1157 |
MAN_BEGIN (U"Distance: To Configuration (ytl)...", U"djmw", 20210502) |
| 1158 |
INTRO (U"A command that creates one @Configuration and one @Salience object " |
| 1159 |
"from a collection of one or more @Distance objects.") |
| 1160 |
NORMAL (U"These Configuration and Salience objects normally serve as starting points " |
| 1161 |
"for an @@individual difference scaling@ such as an @@INDSCAL analysis@.") |
| 1162 |
NORMAL (U"The algorithm is described in @@Young, Takane & Lewyckyj (1978)@.") |
| 1163 |
MAN_END |
| 1164 |
|
| 1165 |
MAN_BEGIN (U"Distance: To ScalarProduct...", U"djmw", 20040407) |
| 1166 |
INTRO (U"A command that creates a @ScalarProduct for each selected @Distance.") |
| 1167 |
ENTRY (U"Setting") |
| 1168 |
TERM (U"##Make sum of squares equal 1.0") |
| 1169 |
DEFINITION (U"when selected, the elements in the resulting matrix part will be scaled such that " |
| 1170 |
"the sum of all the squared elements in the matrix equals 1.0.") |
| 1171 |
ENTRY (U"Algorithm") |
| 1172 |
NORMAL (U"ScalarProduct entries %b__%ij_ are created from distances %d__%ij_ bij double centering " |
| 1173 |
"the matrix with elements \\--1/2 %d__%ij_^2, i.e.,") |
| 1174 |
EQUATION (U"%b__%ij_= \\--1/2(%d__%ij_^2 \\-- %d__%\\.cj_^2 \\-- %d__%i\\.c_^2 + %d__%\\.c\\.c_^2),") |
| 1175 |
NORMAL (U"where the dot (\\.c) means averaging over that dimension.") |
| 1176 |
MAN_END |
| 1177 |
|
| 1178 |
MAN_BEGIN (U"Distance & Configuration: Draw scatter diagram...", U"djmw", 19971201) |
| 1179 |
MAN_END |
| 1180 |
|
| 1181 |
MAN_BEGIN (U"Distance & Configuration: Get VAF...", U"djmw", 19971201) |
| 1182 |
INTRO (U"Calculates the \"%%variance accounted for%\" from the selected collection of @Distance objects and the " |
| 1183 |
"selected @Configuration. The optimal @Salience necessary for the calculation " |
| 1184 |
"will be inferred from the selected Distance and Configuration objects.") |
| 1185 |
MAN_END |
| 1186 |
|
| 1187 |
MAN_BEGIN (U"Distance & Configuration: To Configuration (indscal)...", U"djmw", 19971201) |
| 1188 |
INTRO (U"Performs an @@INDSCAL analysis@ on the selected objects of type @Distance and calculates " |
| 1189 |
"a @Configuration from them. Uses the selected Configuration object as the initial Configuration in " |
| 1190 |
"the iteration process.") |
| 1191 |
MAN_END |
| 1192 |
|
| 1193 |
MAN_BEGIN (U"Distance & Configuration & Salience: Get VAF...", U"djmw", 19971201) |
| 1194 |
INTRO (U"Calculates the \"variance accounted for\" from the selected collection " |
| 1195 |
"of @Distance objects, the " |
| 1196 |
"selected @Configuration and the selected #Salience.") |
| 1197 |
MAN_END |
| 1198 |
|
| 1199 |
MAN_BEGIN (U"Distance & Configuration & Salience: To Configuration " |
| 1200 |
"(indscal)...", U"djmw", 19971201) |
| 1201 |
INTRO (U"A command that creates a new @Configuration from the selected " |
| 1202 |
"collection of @Distance objects, the selected @Configuration and the " |
| 1203 |
"selected #Salience. The selected Configuration and Salience " |
| 1204 |
"serve as start values for the @@INDSCAL analysis@.") |
| 1205 |
MAN_END |
| 1206 |
|
| 1207 |
MAN_BEGIN (U"individual difference scaling", U"djmw", 19970502) |
| 1208 |
INTRO (U"The purpose of individual difference scaling is to represent objects, " |
| 1209 |
"whose dissimilarities are given, as points in a metrical space. " |
| 1210 |
"The distances in the space should be in accordance with the " |
| 1211 |
"dissimilarities as well as is possible. Besides the configuration a " |
| 1212 |
"@Salience matrix is calculated.") |
| 1213 |
NORMAL (U"The basic Euclidean model is:") |
| 1214 |
LIST_ITEM (U"%\\de__%ijk_ \\~~ (\\su__%s=1..%r_ %w__%ks_(%x__%is_ \\-- " |
| 1215 |
"%x__%js_)^2)^^1/2^") |
| 1216 |
NORMAL (U"Here \\de__%ijk_ is the (known) dissimilarity between %objects %i and " |
| 1217 |
"%j, as measured on %data %source %k. The %x's are the %coordinates of " |
| 1218 |
"the objects in an %r-dimensional space and the %w's are weights or " |
| 1219 |
"saliences. Because straight minimization of the expression above " |
| 1220 |
"is difficult, one applies transformations on this expression. " |
| 1221 |
"Squaring both sides gives the model:") |
| 1222 |
LIST_ITEM (U"%\\de^2__%ijk_ \\~~ \\su__%s=1..%r_ %w__%ks_(%x__%is_ \\-- " |
| 1223 |
"%x__%js_)^2") |
| 1224 |
NORMAL (U"and the corresponding least squares loss function:") |
| 1225 |
LIST_ITEM (U"\\su__%k=1..%numberOfSources_ \\su__%i=1..%numberOfPoints_ " |
| 1226 |
"\\su__%j=1..%numberOfPoints_ (%\\de^2__%ijk_ \\-- %d^2__%ijk_)^2") |
| 1227 |
NORMAL (U"This loss function is minimized in the (ratio scale option of the) " |
| 1228 |
"#ALSCAL program of @@Takane, Young & de Leeuw (1976)@.") |
| 1229 |
NORMAL (U"The transformation used by @@Carroll & Chang (1970)@ in the INDSCAL " |
| 1230 |
"model, transforms the data from each source into scalar products " |
| 1231 |
"of vectors. For the dissimilarities:") |
| 1232 |
LIST_ITEM (U"%\\be__%ijk_ = \\--{ %\\de^2__%ijk_ \\-- %\\de^2__%i.%k_ \\-- " |
| 1233 |
"%\\de^2__.%jk_ + %\\de^2__..%k_ } / 2,") |
| 1234 |
NORMAL (U"where dots replacing indices indicate averaging over the range of " |
| 1235 |
"that index. In the same way for the distances:") |
| 1236 |
LIST_ITEM (U"%z__%ijk_ = \\--{ %d^2__%ijk_ \\-- %d^2__%i.%k_ \\-- %d" |
| 1237 |
"^2__%.%jk_ + %d^2__%..%k_ } / 2.") |
| 1238 |
LIST_ITEM (U"%\\be__%ijk_ \\~~ %z__%ijk_ = \\su__%s=1..%numberOfDimensions_ " |
| 1239 |
"%w__%ks_ %x__%is_ %x__%js_") |
| 1240 |
NORMAL (U"Translated into matrix algebra, the equation above translates to:") |
| 1241 |
LIST_ITEM (U"%B__%k_ \\~~ %Z__%k_ = %X %W__%k_ %X\\'p,") |
| 1242 |
NORMAL (U"where %X is a %numberOfPoints \\xx %numberOfDimensions configuration " |
| 1243 |
"matrix, %W__%k_, a non-negative %numberOfDimensions \\xx " |
| 1244 |
"%numberOfDimensions matrix with weights, and %B__%k_ " |
| 1245 |
"the %k^^th^ slab of %\\be__%ijk_.") |
| 1246 |
NORMAL (U"This translates to the following INDSCAL loss function:") |
| 1247 |
EQUATION (U"%f(%X, %W__1_,..., %W__%numberOfSources_) = " |
| 1248 |
"\\su__%k=1..%numberOfSources_ | %B__%k_ \\-- %X%W__%k_%X\\'p |^2") |
| 1249 |
NORMAL (U"") |
| 1250 |
MAN_END |
| 1251 |
|
| 1252 |
MAN_BEGIN (U"INDSCAL analysis", U"djmw", 20120306) |
| 1253 |
INTRO (U"A method for @@individual difference scaling@ analysis in Praat.") |
| 1254 |
NORMAL (U"An INDSCAL analysis can be performed on objects of type Distance.") |
| 1255 |
NORMAL (U"If you start with @Dissimilarity objects you first have to transform " |
| 1256 |
"them to Distance objects.") |
| 1257 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Distance...@") |
| 1258 |
NORMAL (U"If you start with a @Confusion you can use:") |
| 1259 |
LIST_ITEM (U"\\bu @@Confusion: To Dissimilarity (pdf)...@") |
| 1260 |
ENTRY (U"Examples") |
| 1261 |
LIST_ITEM (U"\\bu @@Distance: To Configuration (indscal)...@") |
| 1262 |
DEFINITION (U"Perform an INDSCAL analysis on one or more objects of type " |
| 1263 |
"@Distance to calculate a @Configuration.") |
| 1264 |
LIST_ITEM (U"\\bu @@Distance & Configuration: To Configuration (indscal)...@") |
| 1265 |
DEFINITION (U"Perform an INDSCAL analysis on one or more objects of type " |
| 1266 |
"@Distance to calculate a @Configuration. Use the selected Configuration " |
| 1267 |
"object as the initial Configuration in the iteration process.") |
| 1268 |
ENTRY (U"Algorithm") |
| 1269 |
NORMAL (U"The function to be minimized in INDSCAL is the following:") |
| 1270 |
EQUATION (U"%f(%X, %W__1_,..., %W__%numberOfSources_) = " |
| 1271 |
"\\su__%i=1..%numberOfSources_ |%S__%i_ \\-- %XW__%i_%X\\'p|^2") |
| 1272 |
NORMAL (U"where %X an unknown %numberOfPoints x %numberOfDimensions " |
| 1273 |
"configuration matrix, the %W__%i_ are %numberOfSources unknown " |
| 1274 |
"diagonal %numberOfDimensions x %numberOfDimensions matrices with weights, " |
| 1275 |
"often called saliences, and the %S__%i_ are known symmetric " |
| 1276 |
"matrices with scalar products of dimension %numberOfPoints x " |
| 1277 |
"%numberOfPoints.") |
| 1278 |
NORMAL (U"In the absence of an algorithm that minimizes %f, @@Carroll & " |
| 1279 |
"Chang (1970)@ resorted to the @CANDECOMP algorithm, which instead of the " |
| 1280 |
"function given above minimizes the following function:") |
| 1281 |
EQUATION (U"%g(%X, %Y, %W__1_,..., %W__%numberOfSources_) = " |
| 1282 |
"\\su__%i=1..%numberOfSources_ |%S__%i_ \\-- %XW__%i_%Y\\'p|^2.") |
| 1283 |
NORMAL (U"Carroll & Chang claimed that for most practical circumstances %X " |
| 1284 |
"and %Y converge to matrices that will be columnwise proportional. " |
| 1285 |
"However, INDSCAL does not only require symmetry of the solution, " |
| 1286 |
"but also non-negativity of the weights. Both these aspects cannot be " |
| 1287 |
"guaranteed with the CANDECOMP algorithm.") |
| 1288 |
NORMAL (U"@@Ten Berge, Kiers & Krijnen (1993)@ describe an algorithm that " |
| 1289 |
"automatically satisfies symmetry because it solves %f directly, and, " |
| 1290 |
"also, can guarantee non-negativity of the weights. " |
| 1291 |
"This algorithm proceeds as follows:") |
| 1292 |
NORMAL (U"Let #%x__%h_ be the %h-th column of %X. We then write the function %f above as:") |
| 1293 |
EQUATION (U"%f(#%x__%h_, %w__1%h_, ..., %w__%numberOfSources %h_) = \\su__%i=1.." |
| 1294 |
"%numberOfSources_ |%S__%ih_ \\-- #%x__%h_%w__%ih_#%x\\'p__%h_|^2,") |
| 1295 |
NORMAL (U"with %S__%ih_ defined as:") |
| 1296 |
EQUATION (U"%S__%ih_ = (%S__%i_ - \\su__%j\\=/%h, %j=1..%numberOfDimensions_ " |
| 1297 |
"#%x__%j_%w__%ij_#%x\\'p__%j_).") |
| 1298 |
NORMAL (U"Without loss of generality we may require that") |
| 1299 |
EQUATION (U"#%x\\'p__%h_#%x__%h_ = 1") |
| 1300 |
NORMAL (U"Minimizing %f over #%x__%h_ is equivalent to minimizing") |
| 1301 |
EQUATION (U"\\su__%i=1..%numberOfSources_ |%S__%ih_|^2 \\-- 2tr \\su " |
| 1302 |
"%S__%ih_#%x__%h_%w__%ih_#%x\\'p__%h_ + \\su %w^2__%ih_") |
| 1303 |
NORMAL (U"This amounts to maximizing") |
| 1304 |
EQUATION (U"%g(#%x__%h_) = #%x\\'p__%h_(\\su %w__%ih_%S__%ih_)#%x__%h_") |
| 1305 |
NORMAL (U"subject to #%x\\'p__%h_#%x__%h_ = 1. The solution for #%x__%h_ is " |
| 1306 |
"the dominant eigenvector of (\\su %w__%ih_%S__%ih_), " |
| 1307 |
"which can be determined with the power method (see @@Golub & van Loan " |
| 1308 |
"(1996)@). The optimal value " |
| 1309 |
"for the %w__%ih_, given that all other parameters are fixed:") |
| 1310 |
EQUATION (U"%w__%ih_ = #%x\\'p__%h_%S__%ih_#%x__%h_") |
| 1311 |
NORMAL (U"In an alternating least squares procedure we may update columns of " |
| 1312 |
"%X and the diagonals of the %W matrices in any sensible order.") |
| 1313 |
MAN_END |
| 1314 |
|
| 1315 |
MAN_BEGIN (U"Kruskal analysis", U"djmw", 19971201) |
| 1316 |
INTRO (U"One of the @@MDS models@ in Praat.") |
| 1317 |
NORMAL (U"You can perform a Kruskal-type multidimensional scaling only on " |
| 1318 |
"objects of type @Dissimilarity. Objects of other types first have to " |
| 1319 |
"be converted to objects of Dissimilarity type.") |
| 1320 |
ENTRY (U"Example") |
| 1321 |
NORMAL (U"Convert a @Dissimilarity object into a @Configuration object.") |
| 1322 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Configuration (monotone mds)...@") |
| 1323 |
DEFINITION (U"choose appropriate parameters") |
| 1324 |
LIST_ITEM (U"\\bu @@Dissimilarity & Configuration: Get stress (monotone mds)...@") |
| 1325 |
DEFINITION (U"choose stress-1 to obtain the value for the @stress according " |
| 1326 |
"to Kruskal.") |
| 1327 |
ENTRY (U"How to get started") |
| 1328 |
NORMAL (U"You can create an example @Dissimilarity object with the @@Create " |
| 1329 |
"letter R example...@ button which you can find under the " |
| 1330 |
"##Multidimensional scaling# option in the #New menu.") |
| 1331 |
MAN_END |
| 1332 |
|
| 1333 |
MAN_BEGIN (U"MDS models", U"djmw", 20101109) |
| 1334 |
INTRO (U"Multidimensional scaling (MDS) models are defined by specifying " |
| 1335 |
"how given @Dissimilarity data, %\\de__%ij_, are " |
| 1336 |
"mapped into distances of an %m-dimensional MDS @Configuration %#X. " |
| 1337 |
"The mapping is specified by a %%representation function%, %f : " |
| 1338 |
"%\\de__%ij_ \\-> %d__%ij_(#X), which specifies how " |
| 1339 |
"dissimilarities should be related to the distances. The MDS analysis " |
| 1340 |
"tries to find the configuration (in a given dimensionality) whose " |
| 1341 |
"distances satisfy %f as closely as possible. " |
| 1342 |
"This closeness is quantified by a badness-of-fit measure which is often " |
| 1343 |
"called @stress.") |
| 1344 |
ENTRY (U"Representation functions") |
| 1345 |
NORMAL (U"In the application of MDS we try to find a configuration #X such that " |
| 1346 |
"the following relations are satisfied as well as possible:") |
| 1347 |
EQUATION (U"%f(%\\de__%ij_) \\~~ %d__%ij_(#X)") |
| 1348 |
NORMAL (U"The numbers that result from applying %f on %\\de__%ij_ are sometimes " |
| 1349 |
"called @disparities %d\\'p__%ij_. In most applications of MDS, besides " |
| 1350 |
"the configuration #X, also the function %f is not " |
| 1351 |
"completely specified, i.e., the exact parameters of %f are unknown and " |
| 1352 |
"must also be estimated during the analysis. If no particular %f can be " |
| 1353 |
"derived from a theoretical model, one often restricts %f to a particular " |
| 1354 |
"class of functions on the basis of the scale level of the dissimilarity " |
| 1355 |
"data. If the disparities are related to the proximities by a specific " |
| 1356 |
"parametric function we speak of %metric MDS otherwise we speak of " |
| 1357 |
"%ordinal or %%non-metric% MDS.") |
| 1358 |
LIST_ITEM (U"\\bu %absolute mds: %d\\'p__%ij_ = \\de__%ij_") |
| 1359 |
DEFINITION (U"No parameters need to be estimated.") |
| 1360 |
LIST_ITEM (U"\\bu %ratio mds: %d\\'p__%ij_ = %b \\.c \\de__%ij_,") |
| 1361 |
DEFINITION (U"where the value of %b can be estimated by a linear regression of " |
| 1362 |
"%d__%ij_ on %\\de__%ij_.") |
| 1363 |
LIST_ITEM (U"\\bu %interval mds: %d\\'p__%ij_ = %a + %b \\.c %\\de__%ij_,") |
| 1364 |
DEFINITION (U"where the values of %a and %b can be estimated by a linear " |
| 1365 |
"regression of %d__%ij_ on %\\de__%ij_.") |
| 1366 |
LIST_ITEM (U"\\bu %i-spline mds: %d\\'p__%ij_ = %i-spline(%\\de__%ij_),") |
| 1367 |
DEFINITION (U"where %i-spline(\\.c) is a smooth monotonically increasing " |
| 1368 |
"@spline curve. The conceptual idea is that it is not possible to map " |
| 1369 |
"all dissimilarities into disparities by one simple function.") |
| 1370 |
LIST_ITEM (U"\\bu %monotone mds: %d\\'p__%ij_ = %monotone(\\de__%ij_),") |
| 1371 |
DEFINITION (U"where %monotone(\\.c) is restricted to be a monotonic function " |
| 1372 |
"that preserves the order of the dissimilarities:") |
| 1373 |
EQUATION (U"if %\\de__%ij_ < %\\de__%kl_, then %d__%ij_(#X) < %d__%kl_(#X)") |
| 1374 |
DEFINITION (U"If %\\de__%ij_ = %\\de__%kl_ and no particular constraint is involved for %d__%ij_(#X) " |
| 1375 |
"and %d__%kl_(#X) this is referred to as the %%primary approach% to ties. The %%secondary " |
| 1376 |
"approach% to ties requires that if %\\de__%ij_ = %\\de__%kl_, then also %d__%ij_(#X) = %d__%kl_(#X).") |
| 1377 |
NORMAL (U"More information on all aspects of multidimensional scaling can be found in: " |
| 1378 |
"@@Borg & Groenen (1997)@ and @@Ramsay (1988)@.") |
| 1379 |
NORMAL (U"The most important object types used in Praat for MDS and the conversions between these types are " |
| 1380 |
"shown in the following figure.") |
| 1381 |
PICTURE (6, 6, drawMDSClassRelations) |
| 1382 |
MAN_END |
| 1383 |
|
| 1384 |
MAN_BEGIN (U"Measurement levels", U"djmw", 20151014) |
| 1385 |
INTRO (U"According to the measurement theory of @@Stevens (1951)@, there are four measurement levels, namely " |
| 1386 |
"#Nominal, #Ordinal, #Interval and #Ratio. In the light of multidimensional scaling, the first " |
| 1387 |
"two levels, Nominal and Ordinal, are often called %non-%metric. The last two are %metric.") |
| 1388 |
MAN_END |
| 1389 |
|
| 1390 |
MAN_BEGIN (U"Multidimensional scaling", U"djmw", 20140117) |
| 1391 |
INTRO (U"This tutorial describes how you can use Praat to " |
| 1392 |
"perform ##M#ulti ##D#imensional ##S#caling (MDS) analysis.") |
| 1393 |
NORMAL (U"MDS helps us to represent %dissimilarities between objects as " |
| 1394 |
"%distances in a %%Euclidean space%. In effect, the more dissimilar two " |
| 1395 |
"objects are, the larger the distance between the objects in the Euclidean " |
| 1396 |
"space should be. The data types in Praat that " |
| 1397 |
"incorporate these notions are @Dissimilarity, @Distance and " |
| 1398 |
"@Configuration.") |
| 1399 |
NORMAL (U"In essence, an MDS-analysis is performed when you select a " |
| 1400 |
"Dissimilarity object and choose one of the ##To Configuration (xxx)...# " |
| 1401 |
"commands to obtain a Configuration object. In the above, method (xxx) " |
| 1402 |
"represents on of the possible @@MDS models|multidimensional scaling " |
| 1403 |
"models@.") |
| 1404 |
ENTRY (U"MDS-analysis") |
| 1405 |
NORMAL (U"Let us first create a Dissimilarity object. You can for example " |
| 1406 |
"@@Dissimilarity|create a Dissimilarity object from a file@. Here we " |
| 1407 |
"will the use the Dissimilarity object from @@Create letter R example...|" |
| 1408 |
"the letter R example@. We have chosen the default value (32.5) for the " |
| 1409 |
"(uniform) noise range. Note that this may result in substantial " |
| 1410 |
"distortions between the dissimilarities and the distances.") |
| 1411 |
NORMAL (U"Now you can do the following, for example:") |
| 1412 |
NORMAL (U"Select the Dissimilarity and choose @@Dissimilarity: To Configuration " |
| 1413 |
"(monotone mds)...|To Configuration (monotone mds)...@, and you perform " |
| 1414 |
"a @@Kruskal analysis|kruskal@-like multidimensional scaling which " |
| 1415 |
"results in a new " |
| 1416 |
"Configuration object. (This Configuration could subsequently be used as " |
| 1417 |
"the starting Configuration for a new MDS-analysis!).") |
| 1418 |
NORMAL (U"Select the Configuration and choose @@Configuration: Draw...|Draw...@ " |
| 1419 |
"and the following picture might result.") |
| 1420 |
PICTURE (4.0, 4.0, drawLetterRConfigurationExample2) |
| 1421 |
NORMAL (U"The following script summarizes:") |
| 1422 |
CODE (U"dissimilarity = Create letter R example: 32.5") |
| 1423 |
CODE (U"configuration = To Configuration (monotone mds): 2, \"Primary approach\", 0.00001, 50, 1") |
| 1424 |
CODE (U"Draw: 1, 2, -0.8, 1.2, -0.8, 0.7, \"yes\"") |
| 1425 |
ENTRY (U"Obtaining the stress value") |
| 1426 |
NORMAL (U"Select the Dissimilarity and the Configuration together and query for " |
| 1427 |
"the @stress value with: " |
| 1428 |
"@@Dissimilarity & Configuration: Get stress (monotone mds)...|" |
| 1429 |
"Get stress (monotone mds)...@. ") |
| 1430 |
NORMAL (U"The following script summarizes:") |
| 1431 |
CODE (U"selectObject: dissimilarity, configuration") |
| 1432 |
CODE (U"Get stress (monotone mds): \"Primary approach\", \"Kruskals's " |
| 1433 |
"stress-1\"") |
| 1434 |
ENTRY (U"The Shepard diagram") |
| 1435 |
NORMAL (U"Select the Dissimilarity and the Configuration together to " |
| 1436 |
"@@Dissimilarity & Configuration: Draw Shepard diagram...|" |
| 1437 |
"draw the Shepard diagram@.") |
| 1438 |
PICTURE (4.0, 4.0, drawLetterRShepard) |
| 1439 |
NORMAL (U"The following script summarizes:") |
| 1440 |
CODE (U"selectObject: dissimilarity, configuration") |
| 1441 |
CODE (U"Draw Shepard diagram: 0, 200, 0, 2.2, 1, \"+\", \"yes\"") |
| 1442 |
ENTRY (U"The (monotone) regression") |
| 1443 |
NORMAL (U"Select the Dissimilarity and the Configuration together to " |
| 1444 |
"@@Dissimilarity & Configuration: Draw regression (monotone mds)...|" |
| 1445 |
"draw the monotone regression@ of distances on dissimilarities.") |
| 1446 |
PICTURE (4.0, 4.0, drawLetterRRegression) |
| 1447 |
NORMAL (U"The following script summarizes:") |
| 1448 |
CODE (U"selectObject: dissimilarity, configuration") |
| 1449 |
CODE (U"Draw monotone regression: \"Primary approach\", 0, 200, 0, 2.2, 1, \"+\", \"yes\"") |
| 1450 |
NORMAL (U"When you enter %noiseRange = 0 in the form for the letter #R, perfect " |
| 1451 |
"reconstruction is possible. The Shepard diagram then will show " |
| 1452 |
"a perfectly smooth monotonically increasing function.") |
| 1453 |
ENTRY (U"Weighing the dissimilarities") |
| 1454 |
NORMAL (U"When you can't have equal confidence in all the number in the " |
| 1455 |
"Dissimilarity object, you can give different weights to these numbers by " |
| 1456 |
"associating a @Weight object with the Dissimilarity object. " |
| 1457 |
"An easy way to do this is to select the Dissimilarity object and first " |
| 1458 |
"choose @@Dissimilarity: To Weight|To Weight@. Then you might change the " |
| 1459 |
"individual weights in the Weight object with the @@TableOfReal: Set " |
| 1460 |
"value...| Set value...@ command (remember: make %w__%ij_ = %w__%ji_).") |
| 1461 |
NORMAL (U"The following script summarizes:") |
| 1462 |
CODE (U"selectObject: dissimilarity") |
| 1463 |
CODE (U"weight = To Weight") |
| 1464 |
CODE (U"! Change [i] [j] and [j] [i] cells in the Weight object") |
| 1465 |
CODE (U"Set value: i, j, val") |
| 1466 |
CODE (U"Set value: j, i, val") |
| 1467 |
CODE (U"...") |
| 1468 |
CODE (U"! now we can do a weighed analysis.") |
| 1469 |
CODE (U"selectObject: dissimilarity, weight") |
| 1470 |
CODE (U"To Configuration (monotone mds): 2, \"Primary approach\", 0.00001, 50, 1)") |
| 1471 |
NORMAL (U"You can also query the @stress values with three objects selected. " |
| 1472 |
"The following script summarizes:") |
| 1473 |
CODE (U"selectObject: dissimilarity, weight, configuration") |
| 1474 |
CODE (U"Get stress (monotone mds): \"Primary approach\", \"Kruskals's stress-1\"") |
| 1475 |
ENTRY (U"Using a start Configuration") |
| 1476 |
NORMAL (U"You could also use a Configuration object as a starting " |
| 1477 |
"configuration in the minimization process. " |
| 1478 |
"Let's assume that you are not satisfied with the stress value from the " |
| 1479 |
"Configuration object that you obtained in the previous analysis. " |
| 1480 |
"You can than use this Configuration object as a " |
| 1481 |
"starting point for further analysis:") |
| 1482 |
NORMAL (U"The following script summarizes:") |
| 1483 |
CODE (U"selectObject: dissimilarity, configuration, weight") |
| 1484 |
CODE (U"To Configuration (monotone mds): 2, \"Primary approach\", 0.00001, 50, 1") |
| 1485 |
ENTRY (U"Multiple Dissimilarity's (INDSCAL)") |
| 1486 |
NORMAL (U"When you have multiple Dissimilarity objects you can also perform " |
| 1487 |
"@@individual difference scaling@ (often called @@INDSCAL analysis@). ") |
| 1488 |
NORMAL (U"As an example we can use an @@Create INDSCAL Carroll & Wish " |
| 1489 |
"example...| example taken from Carrol & Wish@. " |
| 1490 |
"Because INDSCAL only works on metrical data, we cannot use Dissimilarity " |
| 1491 |
"objects directly. We have to transform them first @@Dissimilarity: To " |
| 1492 |
"Distance...|to Distance@ objects.") |
| 1493 |
NORMAL (U"This type of analysis on multiple objects results in two new objects: " |
| 1494 |
"a Configuration and a @Salience.") |
| 1495 |
MAN_END |
| 1496 |
|
| 1497 |
MAN_BEGIN (U"Procrustes", U"djmw", 20010927) |
| 1498 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1499 |
NORMAL (U"An object of type Procrustes represents the special @@AffineTransform|" |
| 1500 |
"affine transform@ that consists of a " |
| 1501 |
"combination of a translation, a shape preserving transformation and a scaling (this scaling is often called %dilation). " |
| 1502 |
"Because the transformation has to be shape preserving, only a combination of a rotation and a reflection is allowed. " |
| 1503 |
"A configuration matrix #%X is transformed in the following way to a new configuration matrix #%Y: ") |
| 1504 |
EQUATION (U"#%Y = %s #%X #%T+ #1#%t',") |
| 1505 |
NORMAL (U"where %s is the scaling factor, #%T is the shape preserving transformation matrix, #%t is the translation vector, " |
| 1506 |
"and #1 is the vector with only ones as its elements.") |
| 1507 |
NORMAL (U"For more information about the Procrustes transform and its algorithm " |
| 1508 |
"see chapter 19 in @@Borg & Groenen (1997)@.") |
| 1509 |
MAN_END |
| 1510 |
|
| 1511 |
MAN_BEGIN (U"Procrustes transform", U"djmw", 19980119) |
| 1512 |
INTRO (U"A transformation that only uses a combination of a translation, " |
| 1513 |
"a scaling and a rigid transformation to transform one Configuration such that it " |
| 1514 |
"matches as closely as possible another Configuration. ") |
| 1515 |
NORMAL (U"We speak of %%orthogonal Procrustes transform% when only the rigid " |
| 1516 |
"transformation is allowed but no scaling or translation.") |
| 1517 |
NORMAL (U"For more information about the Procrustes transform and its algorithm " |
| 1518 |
"see chapter 19 in @@Borg & Groenen (1997)@.") |
| 1519 |
MAN_END |
| 1520 |
|
| 1521 |
MAN_BEGIN (U"Proximity", U"djmw", 19961008) |
| 1522 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1523 |
NORMAL (U"An object of type #Proximity represents proximities between objects.") |
| 1524 |
ENTRY (U"Inside a Proximity") |
| 1525 |
NORMAL (U"With @Inspect you will see the following attributes:") |
| 1526 |
TERM (U"%numberOfRows, %numberOfColumns") |
| 1527 |
DEFINITION (U"the number of objects (%numberOfRows and %numberOfColumns are " |
| 1528 |
"equal and \\>_1).") |
| 1529 |
TERM (U"%rowLabels, %columnLabels") |
| 1530 |
DEFINITION (U"the names associated with the objects (%rowLabels and " |
| 1531 |
"%columnLabels are equal.") |
| 1532 |
TERM (U"%data [1..%numberOfRows] [1..%numberOfColumns]") |
| 1533 |
DEFINITION (U"the proximities between the objects.") |
| 1534 |
MAN_END |
| 1535 |
|
| 1536 |
MAN_BEGIN (U"Salience", U"djmw", 19980112) |
| 1537 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1538 |
NORMAL (U"Elements %s__%ij_ in the " |
| 1539 |
"Salience matrix represent the importance of dimension %j (in the " |
| 1540 |
"@Configuration) for data source %i.") |
| 1541 |
ENTRY (U"Commands") |
| 1542 |
NORMAL (U"Creation, as a by-product of:") |
| 1543 |
LIST_ITEM (U"\\bu @@Distance: To Configuration (indscal)...") |
| 1544 |
LIST_ITEM (U"\\bu @@Distance: To Configuration (ytl)...") |
| 1545 |
MAN_END |
| 1546 |
|
| 1547 |
MAN_BEGIN (U"ScalarProduct", U"djmw", 19980125) |
| 1548 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1549 |
NORMAL (U"An object of type ScalarProduct represents scalar products %b__%ij_ " |
| 1550 |
"between objects %i and %j in a metrical space.") |
| 1551 |
EQUATION (U"%b__%ij_ = \\su__%k=1..%numberOfDimensions_ %x__%ik_%x__%jk_,") |
| 1552 |
NORMAL (U"where %x__%ik_ and %x__%jk_ are the coordinates of the %k-th " |
| 1553 |
"dimension of points %i and %j, respectively. From this definition one " |
| 1554 |
"can see that scalar products, in contrast to distances, " |
| 1555 |
"do change when the origin is shifted.") |
| 1556 |
NORMAL (U"Creation") |
| 1557 |
LIST_ITEM (U"\\bu @@Distance: To ScalarProduct...@") |
| 1558 |
MAN_END |
| 1559 |
|
| 1560 |
MAN_BEGIN (U"Similarity", U"djmw", 19961008) |
| 1561 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1562 |
NORMAL (U"An object of type Similarity represent a one-way " |
| 1563 |
"table of similarities between \"objects\".") |
| 1564 |
ENTRY (U"Commands") |
| 1565 |
NORMAL (U"Creation") |
| 1566 |
LIST_ITEM (U"\\bu @@Confusion: To Similarity...") |
| 1567 |
NORMAL (U"Drawing") |
| 1568 |
LIST_ITEM (U"\\bu ##Draw as numbers...") |
| 1569 |
LIST_ITEM (U"\\bu ##Draw as squares...") |
| 1570 |
NORMAL (U"Query") |
| 1571 |
LIST_ITEM (U"\\bu ##Get column mean (index)...") |
| 1572 |
LIST_ITEM (U"\\bu ##Get column mean (label)...") |
| 1573 |
LIST_ITEM (U"\\bu ##Get column stdev (index)...") |
| 1574 |
LIST_ITEM (U"\\bu ##Get column stdev (label)...") |
| 1575 |
NORMAL (U"Modification") |
| 1576 |
LIST_ITEM (U"\\bu ##Formula...") |
| 1577 |
LIST_ITEM (U"\\bu ##Remove column (index)...") |
| 1578 |
LIST_ITEM (U"\\bu ##Insert column (index)...") |
| 1579 |
LIST_ITEM (U"\\bu ##Set row label (index)...") |
| 1580 |
LIST_ITEM (U"\\bu ##Set row label (label)...") |
| 1581 |
LIST_ITEM (U"\\bu ##Set column label (index)...") |
| 1582 |
LIST_ITEM (U"\\bu ##Set column label (label)...") |
| 1583 |
NORMAL (U"Analysis") |
| 1584 |
LIST_ITEM (U"\\bu @@Similarity: To Dissimilarity...") |
| 1585 |
MAN_END |
| 1586 |
|
| 1587 |
MAN_BEGIN (U"Similarity: To Dissimilarity...", U"djmw", 20040407) |
| 1588 |
INTRO (U"A command that creates a @Dissimilarity from every selected " |
| 1589 |
"@Similarity.") |
| 1590 |
ENTRY (U"Setting") |
| 1591 |
TERM (U"##Maximum dissimilarity") |
| 1592 |
DEFINITION (U"determines the maximum dissimilarity possible. When the default " |
| 1593 |
"value, 0.0, is chchosen%maximumDissimilarity " |
| 1594 |
"is calculated as the maximum element in the Similarity object.") |
| 1595 |
ENTRY (U"Algorithm") |
| 1596 |
NORMAL (U"To obtain dissimilarities we 'reverse' similarities:") |
| 1597 |
EQUATION (U"%%dissimilarity__%ij_ = %maximumDissimilarity \\-- %similarity__%ij_") |
| 1598 |
NORMAL (U"In this way the order of dissimilarities is the reverse of the order " |
| 1599 |
"of the similarities.") |
| 1600 |
MAN_END |
| 1601 |
|
| 1602 |
MAN_BEGIN (U"smacof", U"djmw", 19980119) |
| 1603 |
INTRO (U"Scaling by Majorizing a Complicated Function, the iterative algorithm " |
| 1604 |
"to find an optimal Configuration.") |
| 1605 |
LIST_ITEM (U"1. Initialize") |
| 1606 |
LIST_ITEM (U" 1.a. Get initial Configuration #Z") |
| 1607 |
LIST_ITEM (U" 1.b. Set stress %\\si__%n_^^[0]^ to a very large value.") |
| 1608 |
LIST_ITEM (U" 1.c. Set iteration counter %k = 0") |
| 1609 |
LIST_ITEM (U"2. Increase iteration counter by one: %k = %k + 1") |
| 1610 |
LIST_ITEM (U"3. Calculate distances %d__%ij_(#Z).") |
| 1611 |
LIST_ITEM (U"4. Transform dissimilarities %\\de__%ij_ into disparities " |
| 1612 |
"%d\\'p__%ij_.") |
| 1613 |
LIST_ITEM (U"5. Standardize the disparities so that %\\et__%d\\'p_^2 = " |
| 1614 |
"%n(%n\\--1)/2.") |
| 1615 |
LIST_ITEM (U"6. Compute the Guttman transform #X^^[%k]^ of #Z.") |
| 1616 |
LIST_ITEM (U"7. Compute new distances %d__%ij_(#X^^[%k]^).") |
| 1617 |
LIST_ITEM (U"8. Compute normalized stress %\\si__%n_ (#d\\'p, #X^^[%k]^)") |
| 1618 |
LIST_ITEM (U"9. If |%\\si__%n_^^[%k]^ \\-- %\\si__%n_^^[%k\\--1]^| / %\\si__%n_" |
| 1619 |
"^^[%k\\--1]^ < %\\ep or %k > %maximumNumberOfIterations, then stop") |
| 1620 |
LIST_ITEM (U"10. Set #Z = #X^^[%k]^, and go to 2.") |
| 1621 |
NORMAL (U"This algorithm goes back to @@De Leeuw (1977)@.") |
| 1622 |
MAN_END |
| 1623 |
|
| 1624 |
MAN_BEGIN (U"spline", U"djmw", 20121101) |
| 1625 |
INTRO (U"A spline function %f is a piecewise polynomial function defined on " |
| 1626 |
"an interval [%x__%min_, %x__%max_] " |
| 1627 |
"with specified continuity constraints, i.e., when the interval [%x__%min_," |
| 1628 |
" %x__%max_] is subdivided by points %\\xi_%i such that %x__%min_ = " |
| 1629 |
"%\\xi_1 < ... < %\\xi__%q_ = %x__%max_, then within each subinterval " |
| 1630 |
"[%\\xi_%j, %\\xi__%j+1_) the function is a polynomial %P_%j of " |
| 1631 |
"specified degree %k.") |
| 1632 |
NORMAL (U"A %%knot sequence% %t = {%t_1, ..., %t__%n+%k_}, where %n is the " |
| 1633 |
"number of free parameters that specify the spline function, is derived " |
| 1634 |
"from the %\\xi__%i_ by placing knots at the boundary values %\\xi_%i " |
| 1635 |
"according to the order of continuity at that boundary. The most common " |
| 1636 |
"continuity characteristics imposed on %f request that for adjacent " |
| 1637 |
"polynomials the derivatives up to order %k\\-m2 match. For example, " |
| 1638 |
"the knot sequence of a spline of order %k for a partition of [%x__%min_, " |
| 1639 |
"%x__%max_] into three intervals (%q = 4) will be %t_1 = ... = " |
| 1640 |
"%t_%k = %x__%min_ (= %\\xi_1), %t__%k+1_ = %\\xi_2, %t__%k+2_ = " |
| 1641 |
"%\\xi_3 , %t__%k+3_ = ... = %t__%k+%k+2_ = %x__%max_ (= %\\xi_4). " |
| 1642 |
"This is called a %simple knot sequence, because all interior knots are " |
| 1643 |
"simple. The number of free parameters %n for this case obeys a simple " |
| 1644 |
"formula:") |
| 1645 |
EQUATION (U"%n = %numberOfInteriorKnots + %order.") |
| 1646 |
NORMAL (U"With suitable basis functions, for example, the M-spline family " |
| 1647 |
"%M_%i(%x|%k, %t), %i=1..%n, we can write any spline %f in the form:") |
| 1648 |
EQUATION (U"%f = \\su__%i=1..%n_ %a_%i%M_%i,") |
| 1649 |
NORMAL (U"where the %M_%i are defined by the following recursive formulas:") |
| 1650 |
EQUATION (U"%M_%i(%x|1,%t) = 1 / (%t__%i+1_ \\-m %t_%i), %t_%i " |
| 1651 |
"\\<_ %x < %t__%i+1_, 0 otherwise") |
| 1652 |
EQUATION (U"%M_%i(%x|%k,%t) = %k [(%x\\-m%t_%i)%M_%i(%x|%k\\-m1,%t) + " |
| 1653 |
"(%t__%i+%k_\\-m%x)%M__%i+1_(%x|%k\\-m1,%t)] / " |
| 1654 |
"((%k\\-m1)(%t__%i+%k_\\-m%t_%i))") |
| 1655 |
NORMAL (U"These %M__%i_ are localized because %M__%i_(%x|%k,%t) > 0 only when " |
| 1656 |
"%t_%i \\<_ %x < %t__%i+%k_ and zero otherwise. Also, we have \\in" |
| 1657 |
" %M_%i(%x)%dx = 1. Because of this localization a change in coefficient " |
| 1658 |
"%a_%i will only effect %f within this interval.") |
| 1659 |
NORMAL (U"The following picture shows an M-spline of order 3 on the interval " |
| 1660 |
"[0, 1], with three interior knots at 0.3, 0.5 and 0.6.") |
| 1661 |
PICTURE (5.0, 5.0, drawMsplineExample) |
| 1662 |
NORMAL (U"Because the M-splines are nonnegative, %monotone splines% can be " |
| 1663 |
"derived from them by %integration:") |
| 1664 |
EQUATION (U"%I_%i(%x|%k,%t) = \\in__%xmin_^%x %M_%i(%u|%k,%t) %du") |
| 1665 |
NORMAL (U"Because each %M__%i_(%x|%k, %t) is a piecewise polynomial of degree" |
| 1666 |
" %k\\-m1, each %I_%i will be of degree %k. Now we can write:") |
| 1667 |
EQUATION (U"%f = \\su__%i=1..%n_ %b_%i %I_%i(%x|%k,%t)") |
| 1668 |
NORMAL (U"We can use an M-spline of order %k+1 with a simple knot sequence %t, " |
| 1669 |
"for which %t_%j \\<_ x < %t__%j+1_, to put " |
| 1670 |
"the I-spline of order %k into a more convenient form:") |
| 1671 |
EQUATION (U"%I_%i(%x|%k,%t) = 0, %i > %j") |
| 1672 |
EQUATION (U"%I_%i(%x|%k,%t) = \\su__%m=%i+1..%j_ (%t__%m+%k+1_\\-m" |
| 1673 |
"%t_%m)%M_%m(%x|%k+1,%t)/(%k+1), %j\\-m%k \\<_ %i \\<_ %j") |
| 1674 |
EQUATION (U"%I_%i(%x|%k,%t) = 1, %i < %j\\-m%k") |
| 1675 |
NORMAL (U"The following figure shows the I-splines that were derived from " |
| 1676 |
"the M-splines above.") |
| 1677 |
PICTURE (5.0, 5.0, drawIsplineExample) |
| 1678 |
NORMAL (U"These spline formulas were taken from @@Ramsay (1988)@ and the " |
| 1679 |
"errors in his I-spline formulas were corrected.") |
| 1680 |
MAN_END |
| 1681 |
|
| 1682 |
MAN_BEGIN (U"stress", U"djmw", 19980108) |
| 1683 |
INTRO (U"A badness-of-fit measure for the entire MDS representation.") |
| 1684 |
NORMAL (U"Several measures exist.") |
| 1685 |
ENTRY (U"Raw stress") |
| 1686 |
EQUATION (U"%\\si__%r_ (#d\\'p, #X) = \\su__%i<%j_ %w__%ij_(%d\\'p__%ij_ \\-- " |
| 1687 |
"%d__%ij_(#X))^2") |
| 1688 |
EQUATION (U"= \\su__%i<%j_ %w__%ij_%d\\'p__%ij_^2 + \\su__%i<%j_ " |
| 1689 |
"%w__%ij_%d__%ij_^2(#X) \\-- " |
| 1690 |
"2 \\su__%i<%j_ %w__%ij_%d\\'p__%ij_%d__%ij_(#X)") |
| 1691 |
EQUATION (U"= %\\et__%d\\'p_^2 + %\\et^2(#X) \\-- 2%\\ro(#d\\'p, #X)") |
| 1692 |
NORMAL (U"where the %d\\'p__%ij_ are the @disparities that are the result " |
| 1693 |
"from the transformation of the dissimilarities, i.e., %f(%\\de__%ij_). " |
| 1694 |
"Raw stress can be misleading because it is dependent on the normalization " |
| 1695 |
"of the disparities. The following measure tries to circumvent this " |
| 1696 |
"inconvenience.") |
| 1697 |
ENTRY (U"Normalized stress") |
| 1698 |
EQUATION (U"%\\si__%n_ = \\si__%r_ / %\\et__%d\\'p_^2") |
| 1699 |
NORMAL (U"This is the stress function that we minimize by iterative " |
| 1700 |
"majorization. It goes back to @@De Leeuw (1977)@.") |
| 1701 |
ENTRY (U"Kruskal's stress-1") |
| 1702 |
EQUATION (U"%\\si__1_ = \\Vr (\\su__%i<%j_ %w__%ij_(%d\\'p__%ij_ \\-- " |
| 1703 |
"%d__%ij_(#X))^2 / \\su__%i<%j_ %w__%ij_%d__%ij_^2(#X))^^1/2^") |
| 1704 |
NORMAL (U"In this measure, which is due to @@Kruskal (1964)@, stress is " |
| 1705 |
"expressed in relation to the size of #X.") |
| 1706 |
ENTRY (U"Kruskal's stress-2") |
| 1707 |
EQUATION (U"%\\si__2_ = \\Vr (\\su__%i<%j_ %w__%ij_(%d\\'p__%ij_ \\-- " |
| 1708 |
"%d__%ij_(#X))^2 / \\su__%i<%j_ %w__%ij_(%d__%ij_(#X) - " |
| 1709 |
"%averageDistance)^2)^^1/2^.") |
| 1710 |
NORMAL (U"In general, this measure results in a stress value that is " |
| 1711 |
"approximately twice the value for stress-1.") |
| 1712 |
ENTRY (U"Relation between %\\si__1_ and %\\si__n_") |
| 1713 |
NORMAL (U"When we have calculated %\\si__%n_ for Configuration #X, " |
| 1714 |
"disparities #d\\'p and Weight #W we cannot " |
| 1715 |
"directly use #X, #d\\'p and #W to calculate %\\si__1_ because the " |
| 1716 |
"scale of #X is not necessarily optimal " |
| 1717 |
"for %\\si__1_. We allow therefore a scale factor %b > 0 and " |
| 1718 |
"try to calculate %\\si__1_ (#d\\'p, %b #X). We minimize the resulting " |
| 1719 |
"expression for %b and substitute " |
| 1720 |
"the result back into the formula for stress, i.e.,") |
| 1721 |
EQUATION (U"%\\si__1_^2 (#d\\'p, %b #X) = (%\\et__%d\\'p_^2 + %b^2 %\\et^2(#X) " |
| 1722 |
"\\-- 2 %b %\\ro(#d\\'p, #X)) / %b^2 %\\et^2(#X)") |
| 1723 |
EQUATION (U"d%\\si__1_^2 (%b) / d%b == 0, gives") |
| 1724 |
EQUATION (U"%b = %\\et__%d\\'p_^2 / %\\ro") |
| 1725 |
EQUATION (U"%\\si__1_^2 = (1 - %\\ro^2 / (%\\et__%d\\'p_^2\\.c%\\et^2(#X)))") |
| 1726 |
NORMAL (U"This means that %\\si__1_ = \\Vr %\\si__%n_.") |
| 1727 |
ENTRY (U"Relation between %\\si__2_ and %\\si__n_") |
| 1728 |
NORMAL (U"We can do the same trick as before for %\\si__2_:") |
| 1729 |
EQUATION (U"%\\si__2_^2 (#d\\'p, %b #X) = (%\\et__%d\\'p_^2 + %b^2 %\\et^2(#X) " |
| 1730 |
"\\-- 2 %b %\\ro(#d\\'p, #X)) / " |
| 1731 |
"(%b^2 \\su__%i<%j_ %w__%ij_(%d__%ij_(#X) - %averageDistance)^2)") |
| 1732 |
NORMAL (U"From which we derive:") |
| 1733 |
EQUATION (U"%\\si__2_ = \\Vr ((%\\et__%d\\'p_^2 \\.c %\\et^2(#X) - " |
| 1734 |
"%\\ro^2(#d\\'p, #X)) / (%\\et__%d\\'p_^2 \\.c \\su__%i<%j_ " |
| 1735 |
"%w__%ij_(%d__%ij_(#X) - %averageDistance)^2))") |
| 1736 |
MAN_END |
| 1737 |
|
| 1738 |
MAN_BEGIN (U"TableOfReal: Centre columns", U"djmw", 19980422) |
| 1739 |
INTRO (U"A command that centres the columns in the selected @TableOfReal " |
| 1740 |
"objects.") |
| 1741 |
ENTRY (U"Algorithm") |
| 1742 |
NORMAL (U"The new values in the table, %x\\'p__%ij_, will be:") |
| 1743 |
EQUATION (U"%x\\'p__%ij_ = %x__%ij_ \\-- %x__\\.c%j_,") |
| 1744 |
NORMAL (U"where") |
| 1745 |
EQUATION (U"%x__\\.c%j_ = \\su__%i=1..%numberOfRows_ %x__%ij_ / %numberOfRows,") |
| 1746 |
NORMAL (U"the average of column %j.") |
| 1747 |
MAN_END |
| 1748 |
|
| 1749 |
MAN_BEGIN (U"TableOfReal: Centre rows", U"djmw", 19980422) |
| 1750 |
INTRO (U"A command that centres the rows in the selected @TableOfReal objects.") |
| 1751 |
ENTRY (U"Algorithm") |
| 1752 |
NORMAL (U"The new values in the table, %x\\'p__%ij_, will be:") |
| 1753 |
EQUATION (U"%x\\'p__%ij_ = %x__%ij_ \\-- %x__%i\\.c_,") |
| 1754 |
NORMAL (U"where") |
| 1755 |
EQUATION (U"%x__%i\\.c_ = \\su__%j=1..%numberOfColumns_ %x__%ij_ / " |
| 1756 |
"%numberOfColumns,") |
| 1757 |
NORMAL (U"the average of row %i.") |
| 1758 |
MAN_END |
| 1759 |
|
| 1760 |
MAN_BEGIN (U"TableOfReal: Get table norm", U"djmw", 19980422) |
| 1761 |
INTRO (U"A command that returns the norm of the selected @TableOfReal object.") |
| 1762 |
ENTRY (U"Algorithm") |
| 1763 |
NORMAL (U"Returns: sqrt (\\su__%i=1..%numberOfRows_ \\su__%j=1..%numberOfColumns" |
| 1764 |
"_ %x__%ij_^2).") |
| 1765 |
MAN_END |
| 1766 |
|
| 1767 |
MAN_BEGIN (U"TableOfReal: Normalize columns...", U"djmw", 19980422) |
| 1768 |
INTRO (U"A command that normalizes the columns in the selected @TableOfReal " |
| 1769 |
"objects.") |
| 1770 |
ENTRY (U"Setting") |
| 1771 |
TERM (U"##Norm") |
| 1772 |
DEFINITION (U"determines the sum of the squared elements in each column after " |
| 1773 |
"normalization.") |
| 1774 |
ENTRY (U"Algorithm") |
| 1775 |
NORMAL (U"All elements %x__%ij_ in each column %j=1..%numberOfColumns will be " |
| 1776 |
"multiplied by sqrt (%norm / \\su__%i=1..%numberOfRows_ %x__%ij_^2).") |
| 1777 |
MAN_END |
| 1778 |
|
| 1779 |
MAN_BEGIN (U"TableOfReal: Normalize rows...", U"djmw", 19980422) |
| 1780 |
INTRO (U"A command that normalizes the rows in the selected @TableOfReal " |
| 1781 |
"objects.") |
| 1782 |
ENTRY (U"Setting") |
| 1783 |
TERM (U"##Norm") |
| 1784 |
DEFINITION (U"determines the sum of the squared elements in each row after " |
| 1785 |
"normalization.") |
| 1786 |
ENTRY (U"Algorithm") |
| 1787 |
NORMAL (U"All elements %x__%ij_ in each row %i=1..%numberOfRows will be " |
| 1788 |
"multiplied by sqrt (%norm / \\su__%j=1..%numberOfColumns_ %x__%ij_^2).") |
| 1789 |
MAN_END |
| 1790 |
|
| 1791 |
MAN_BEGIN (U"TableOfReal: Normalize table...", U"djmw", 19980422) |
| 1792 |
INTRO (U"A command that normalizes the elements in the selected @TableOfReal " |
| 1793 |
"objects.") |
| 1794 |
ENTRY (U"Setting") |
| 1795 |
TERM (U"##Norm") |
| 1796 |
DEFINITION (U"determines the sum of the squared elements after normalization.") |
| 1797 |
ENTRY (U"Algorithm") |
| 1798 |
NORMAL (U"All elements %x__%ij_ will be multiplied by " |
| 1799 |
"sqrt (%norm / \\su__%i=1..%numberOfRows_ \\su__%j=1..%numberOfColumns_" |
| 1800 |
" %x__%ij_^2.") |
| 1801 |
MAN_END |
| 1802 |
|
| 1803 |
MAN_BEGIN (U"Weight", U"djmw", 19980108) |
| 1804 |
INTRO (U"One of the @@types of objects@ in Praat.") |
| 1805 |
NORMAL (U"An object of type Weight represents a matrix " |
| 1806 |
"with weights %w__%ij_.") |
| 1807 |
NORMAL (U"An object of type Weight selected together with an onject of type" |
| 1808 |
" @Dissimilarity can be used to make distinctions in the importance of the" |
| 1809 |
" contribution of each individual dissimilarity %\\de__%ij_ to " |
| 1810 |
"@stress and therefore to the final configuration. Weights can be " |
| 1811 |
"used for instance to code for missing values, i.e., take %w__%ij_ = 0 if " |
| 1812 |
"dissimilarity %\\de__%ij_ is missing and %w__%ij_ = 1 if %\\de__%ij_ is" |
| 1813 |
" known.") |
| 1814 |
ENTRY (U"Commands") |
| 1815 |
NORMAL (U"Creation") |
| 1816 |
LIST_ITEM (U"\\bu @@Dissimilarity: To Weight") |
| 1817 |
NORMAL (U"Analysis") |
| 1818 |
NORMAL (U"See @@Dissimilarity & Weight: To Configuration...@ for help on the " |
| 1819 |
"following analysis items: ") |
| 1820 |
LIST_ITEM (U"\\bu ##Dissimilarity & Weight: To Configuration (monotone mds)...") |
| 1821 |
LIST_ITEM (U"\\bu ##Dissimilarity & Weight: To Configuration (i-spline mds)...") |
| 1822 |
LIST_ITEM (U"\\bu ##Dissimilarity & Weight: To Configuration (interval mds)...") |
| 1823 |
LIST_ITEM (U"\\bu ##Dissimilarity & Weight: To Configuration (ratio mds)...") |
| 1824 |
LIST_ITEM (U"\\bu ##Dissimilarity & Weight: To Configuration (absolute mds)...") |
| 1825 |
NORMAL (U"Query") |
| 1826 |
NORMAL (U"See @@Dissimilarity & Configuration & Weight: Get stress...@ for help " |
| 1827 |
"on the following query items: ") |
| 1828 |
LIST_ITEM (U"\\bu ##Dissimilarity & Configuration & Weight: Get stress " |
| 1829 |
"(monotone mds)...") |
| 1830 |
LIST_ITEM (U"\\bu ##Dissimilarity & Configuration & Weight: Get stress " |
| 1831 |
"(i-spline mds)...") |
| 1832 |
LIST_ITEM (U"\\bu ##Dissimilarity & Configuration & Weight: Get stress " |
| 1833 |
"(interval mds)...") |
| 1834 |
LIST_ITEM (U"\\bu ##Dissimilarity & Configuration & Weight: Get stress " |
| 1835 |
"(ratio mds)...") |
| 1836 |
LIST_ITEM (U"\\bu ##Dissimilarity & Configuration & Weight: Get stress " |
| 1837 |
"(absolute mds)...") |
| 1838 |
MAN_END |
| 1839 |
|
| 1840 |
/************ references ***********************************************/ |
| 1841 |
|
| 1842 |
MAN_BEGIN (U"Abramowitz & Stegun (1970)", U"djmw", 19971201) |
| 1843 |
NORMAL (U"M. Abramowitz & I. Stegun (1970): %%Handbook of mathematical " |
| 1844 |
"functions%. New York: Dover Publications.") |
| 1845 |
MAN_END |
| 1846 |
|
| 1847 |
MAN_BEGIN (U"Borg & Groenen (1997)", U"djmw", 19971219) |
| 1848 |
NORMAL (U"I. Borg & P. Groenen (1997): %%Modern multidimensional scaling: " |
| 1849 |
"theory and applications%. Springer.") |
| 1850 |
MAN_END |
| 1851 |
|
| 1852 |
MAN_BEGIN (U"Brokken (1983)", U"djmw", 19980406) |
| 1853 |
NORMAL (U" F.B. Brokken (1983): \"Orthogonal Procrustes rotation maximizing " |
| 1854 |
"congruence.\" %Psychometrika #48: 343\\--352.") |
| 1855 |
MAN_END |
| 1856 |
|
| 1857 |
MAN_BEGIN (U"Cailliez (1983)", U"djmw", 19971201) |
| 1858 |
NORMAL (U" F. Cailliez (1983): \"The analytical solution of the additive " |
| 1859 |
"constant problem.\" %Psychometrika #48, 305-308.") |
| 1860 |
MAN_END |
| 1861 |
|
| 1862 |
MAN_BEGIN (U"Carroll & Chang (1970)", U"djmw", 19971201) |
| 1863 |
NORMAL (U"J.D. Carroll & J.-J. Chang, (1970): \"Analysis of Individual " |
| 1864 |
"Differences in Multidimensional scaling via an N-way generalization of " |
| 1865 |
"\"Eckart-Young\" Decomposition.\" %Psychometrika #35: 283\\--319.") |
| 1866 |
MAN_END |
| 1867 |
|
| 1868 |
MAN_BEGIN (U"Carroll & Wish (1974)", U"djmw", 19971201) |
| 1869 |
NORMAL (U"J.D. Carroll & M. Wish, (1974): \"Models and methods for three-way " |
| 1870 |
"multidimensional scaling.\" In D.H. Krantz, R.C. Atkinson, R.D. Luce & " |
| 1871 |
"P. Suppes (eds.): %%Contemporary developments in mathematical psychology: " |
| 1872 |
"Vol. 2 Measurement, psychophysics, and neural " |
| 1873 |
"information processing%, 283\\--319. New York: Academic Press.") |
| 1874 |
MAN_END |
| 1875 |
|
| 1876 |
MAN_BEGIN (U"De Leeuw (1977)", U"djmw", 19971201) |
| 1877 |
NORMAL (U"J. de Leeuw (1977): \"Applications of convex analysis to " |
| 1878 |
"multidimensional scaling.\" In J.R. Barra, F. Brodeau, G. Romier & " |
| 1879 |
"B. van Cutsem (eds.): %%Recent developments in statistics%. Amsterdam: " |
| 1880 |
"North-Holland. 133\\--145.") |
| 1881 |
MAN_END |
| 1882 |
|
| 1883 |
MAN_BEGIN (U"De Leeuw & Pruzansky (1978)", U"djmw", 19971201) |
| 1884 |
NORMAL (U"J. de Leeuw & S. Pruzansky (1978): \"A new computational method to " |
| 1885 |
"fit the weighted Euclidean distance model.\" %Psychometrika #43: 479\\--490.") |
| 1886 |
MAN_END |
| 1887 |
|
| 1888 |
MAN_BEGIN (U"Gifi (1990)", U"djmw", 19971207) |
| 1889 |
NORMAL (U"A. Gifi (1990): %%Nonlinear multivariate analysis%. John Wiley & " |
| 1890 |
"Sons Ltd., reprint 1996.") |
| 1891 |
MAN_END |
| 1892 |
|
| 1893 |
MAN_BEGIN (U"Golub & van Loan (1996)", U"djmw", 19971207) |
| 1894 |
NORMAL (U"G. Golub & C. van Loan (1996): %%Matrix computations%. Third edition. " |
| 1895 |
"London: The Johns Hopkins University Press.") // ?? |
| 1896 |
MAN_END |
| 1897 |
|
| 1898 |
MAN_BEGIN (U"Green, Carmone & Smith (1989)", U"djmw", 19971201) |
| 1899 |
NORMAL (U"P. Green, F. Carmone, S. Smith (1989): " |
| 1900 |
"%%Multidimensional scaling: concepts and applications%. Section 3. Allyn and Bacon.") |
| 1901 |
MAN_END |
| 1902 |
|
| 1903 |
MAN_BEGIN (U"Kaiser (1958)", U"djmw", 19980404) |
| 1904 |
NORMAL (U" H.F. Kaiser (1958): \"The varimax criterion for analytic rotation " |
| 1905 |
"in factor analysis.\" %Psychometrika #23: 187\\--200.") |
| 1906 |
MAN_END |
| 1907 |
|
| 1908 |
MAN_BEGIN (U"Kiers & Groenen (1996)", U"djmw", 19971219) |
| 1909 |
NORMAL (U"H.A.L. Kiers & P. Groenen (1996): \"A monotonically convergent " |
| 1910 |
"algorithm for orthogonal congruence rotation.\" %Psychometrika #61: " |
| 1911 |
"375\\--389.") |
| 1912 |
MAN_END |
| 1913 |
|
| 1914 |
MAN_BEGIN (U"Klein, Plomp & Pols (1970)", U"djmw", 19971201) |
| 1915 |
NORMAL (U" W. Klein, R. Plomp, & L.C.W. Pols (1970): \"Vowel Spectra, " |
| 1916 |
"Vowel Spaces, and Vowel Identification.\" %%Journal of the Acoustical Society of America% #48: 999\\--1009.") |
| 1917 |
MAN_END |
| 1918 |
|
| 1919 |
MAN_BEGIN (U"Kruskal (1964)", U"djmw", 19971201) |
| 1920 |
NORMAL (U"J.B. Kruskal (1964): \"Nonmetric multidimensional scaling: a " |
| 1921 |
"numerical method.\" %Psychometrika #29: 115\\--129.") |
| 1922 |
MAN_END |
| 1923 |
|
| 1924 |
MAN_BEGIN (U"Ramsay (1988)", U"djmw", 19980106) |
| 1925 |
NORMAL (U"J.O. Ramsay (1988): \"Monotone regression splines in action.\" " |
| 1926 |
"%%Statistical Science% #3: 425\\--461.") |
| 1927 |
MAN_END |
| 1928 |
|
| 1929 |
MAN_BEGIN (U"Stevens (1951)", U"djmw", 19971201) |
| 1930 |
NORMAL (U"S.S. Stevens (1951): \"Mathematics, measurement, and psychophysics.\" " |
| 1931 |
"In S.S. Stevens (ed.): %%Handbook of experimental psychology%. New York: " |
| 1932 |
"Wiley.") |
| 1933 |
MAN_END |
| 1934 |
|
| 1935 |
MAN_BEGIN (U"Takane, Young & de Leeuw (1976)", U"djmw", 19971201) |
| 1936 |
NORMAL (U"Y. Takane, F. Young, J. de Leeuw (1976): \"Non-metric individual " |
| 1937 |
"differences multidimensional scaling: an alternating least squares method " |
| 1938 |
"with optimal scaling features.\" %Psychometrika #42: 7\\--67.") |
| 1939 |
MAN_END |
| 1940 |
|
| 1941 |
MAN_BEGIN (U"Ten Berge (1995)", U"djmw", 19980404) |
| 1942 |
NORMAL (U"J.M.F. ten Berge (1995): \"Suppressing permutations or rigid planar " |
| 1943 |
"rotations: a remedy against nonoptimal varimax rotations.\" " |
| 1944 |
"%Psychometrika #60, 437\\--446.") |
| 1945 |
MAN_END |
| 1946 |
|
| 1947 |
MAN_BEGIN (U"Ten Berge, Kiers & Krijnen (1993)", U"djmw", 19971207) |
| 1948 |
NORMAL (U"J.M.F. ten Berge, H.A.L. Kiers & W.P. Krijnen (1993): \"Computational " |
| 1949 |
"solutions for the problem of negative saliences and nonsymmetry in " |
| 1950 |
"INDSCAL.\" %%Journal of Classification% #10: 115\\--124.") |
| 1951 |
MAN_END |
| 1952 |
|
| 1953 |
MAN_BEGIN (U"Torgerson (1958)", U"djmw", 19971201) |
| 1954 |
NORMAL (U"W.S. Torgerson (1958): %%Theory and methods of scaling%. New York: Wiley.") |
| 1955 |
MAN_END |
| 1956 |
|
| 1957 |
MAN_BEGIN (U"Young, Takane & Lewyckyj (1978)", U"djmw", 19971201) |
| 1958 |
NORMAL (U"F.W. Young, Y. Takane & R. Lewyckyj (1978): " |
| 1959 |
"\"Three notes on ALSCAL.\" %Psychometrika #43: 433\\--435.") |
| 1960 |
MAN_END |
| 1961 |
|
| 1962 |
MAN_BEGIN (U"Weller & Romney (1990)", U"djmw", 19971216) |
| 1963 |
NORMAL (U"S.C. Weller & A.K. Romney (1990): %%Metric Scaling: " |
| 1964 |
"correspondence analysis%. Sage University Paper Series on Quantitative " |
| 1965 |
"Applications in the Social Sciences 07-075. Newbury Park, CA: Sage.") |
| 1966 |
MAN_END |
| 1967 |
|
| 1968 |
} |
| 1969 |
|
| 1970 |
/* End of file manual_MDS.cpp */ |