27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROXIMITIES 1279<br />

RESCALE Rescale the proximity values to a range of 0 to 1. RESCALE standardizes the<br />

proximities by first subtracting the value of the smallest and then dividing by<br />

the range. You would not usually use RESCALE with measures that are<br />

already standardized on meaningful scales, as are correlations, cosines, and<br />

many binary coefficients.<br />

PROXIMITIES can compute any one of a number of measures between items. You can<br />

choose among measures for interval data, frequency count data, or binary data. Available<br />

keywords for each of these types of measures are defined in the following sections.<br />

• Only one measure can be specified. However, each measure can be specified with any of<br />

the transformations ABSOLUTE, REVERSE, or RESCALE. To apply a transformation to an<br />

existing matrix of proximity values without computing any measures, use keyword NONE<br />

(see p. 1287).<br />

• If more than one transformation is specified, PROXIMITIES does them in the order listed<br />

above: first ABSOLUTE, then REVERSE, and then RESCALE regardless of the order they<br />

are specified.<br />

• Each entry in the resulting proximity matrix represents a pair of items. The items can be<br />

either cases or variables, whichever is specified on the VIEW subcommand.<br />

• When the items are cases, the computation for each pair of cases involves pairs of values<br />

for the specified variables.<br />

• When the items are variables, the computation for each pair of variables involves pairs of<br />

values for the variables across all cases.<br />

Example<br />

PROXIMITIES A B C<br />

/MEASURE=EUCLID REVERSE.<br />

• MEASURE specifies a EUCLID measure and a REVERSE transformation.<br />

Measures for Interval Data<br />

To obtain proximities for interval data, use any one of the following keywords on MEASURE:<br />

EUCLID Euclidean distance. The distance between two items, x and y, is the square<br />

root of the sum of the squared differences between the values for the items.<br />

This is the default.<br />

EUCLID( x, y)<br />

Σi( xi – yi) 2<br />

=<br />

SEUCLID Squared Euclidean distance. The distance between two items is the sum of<br />

the squared differences between the values for the items.<br />

SEUCLID( xy , ) Σi( xi – yi) 2<br />

=<br />

CORRELATION Correlation between vectors of values. This is a pattern similarity measure.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!