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.

ALSCAL 103<br />

• By default, ALSCAL assumes a symmetric matrix of dissimilarities for ordinal-level<br />

variables. Only values below the diagonal are used. The upper triangle can be left blank.<br />

The 12 cities form the rows and columns of the matrix.<br />

• The result is a classical MDS analysis that reproduces a map of the United States when<br />

the output is rotated to a north-south by east-west orientation.<br />

VARIABLES Subcommand<br />

VARIABLES identifies the columns in the proximity matrix or matrices that ALSCAL reads.<br />

• VARIABLES is required and can name only numeric variables.<br />

• Each matrix must have at least four rows and four columns.<br />

INPUT Subcommand<br />

ALSCAL reads data row by row, with each case in the working data file representing a single<br />

row in the data matrix. (VARIABLES specifies the columns.) Use INPUT when reading<br />

rectangular data matrices to specify how many rows are in each matrix.<br />

• The specification on INPUT is ROWS. If INPUT is not specified or is specified without<br />

ROWS, the default is ROWS(ALL). ALSCAL assumes that each case in the working data file<br />

represents one row of a single input matrix, and the result is a square matrix.<br />

• You can specify the number of rows (n) in each matrix in parentheses after the keyword<br />

ROWS. The number of matrices equals the number of observations divided by the number<br />

specified.<br />

• The number specified on ROWS must be at least 4 and must divide evenly into the total<br />

number of rows in the data.<br />

• With split-file data, n refers to the number of cases in each split-file group. All split-file<br />

groups must have the same number of rows.<br />

Example<br />

ALSCAL VARIABLES=V1 to V7 /INPUT=ROWS(8).<br />

• INPUT indicates that there are eight rows per matrix, with each case in the working data<br />

file representing one row.<br />

• The total number of cases must be divisible by 8.<br />

SHAPE Subcommand<br />

Use SHAPE to specify the structure of the input data matrix or matrices.<br />

• You can specify one of the three keywords listed below.<br />

• Both SYMMETRIC and ASYMMETRIC refer to square matrix data.<br />

SYMMETRIC Symmetric data matrix or matrices. For a symmetric matrix, ALSCAL<br />

looks only at the values below the diagonal. Values on and above the<br />

diagonal can be omitted. This is the default.

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

Saved successfully!

Ooh no, something went wrong!