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.

PAIRWISE Subcommand<br />

MVA 1039<br />

For each pair of quantitative variables, the PAIRWISE subcommand computes the number of<br />

pairwise nonmissing values, the pairwise means, the pairwise standard deviations, the pairwise<br />

covariance, and the pairwise correlation matrices. These results are organized as matrices. The<br />

cases used are all cases having nonmissing values for the pair of variables for which each computation<br />

is done.<br />

Example<br />

MVA VARIABLES=populatn density urban religion lifeexpf region<br />

/CATEGORICAL=region<br />

/PAIRWISE.<br />

• Frequencies, means, standard deviations, covariances, and the correlations are displayed<br />

for populatn, density, urban, and lifeexpf. Each calculation uses all cases that have values<br />

for both variables under consideration.<br />

EM Subcommand<br />

The EM subcommand uses an EM (expectation-maximization) algorithm to estimate the<br />

means, the covariances, and the Pearson correlations of quantitative variables. This is an iterative<br />

process, which uses two steps for each iteration. The E step computes expected values conditional<br />

on the observed data and the current estimates of the parameters. The M step calculates<br />

maximum likelihood estimates of the parameters based on values computed in the E step.<br />

• If no variables are listed in the EM subcommand, estimates are performed for all quantitative<br />

variables in the variables list.<br />

• If you want to limit the estimation to a subset of the variables in the list, specify a subset<br />

of quantitative variables to be estimated after the subcommand name EM. You can also<br />

list, after the keyword WITH, the quantitative variables to be used in estimating.<br />

• The output includes tables of means, correlations, and covariances.<br />

• The estimation, by default, assumes that the data are normally distributed. However, you<br />

can specify a multivariate t distribution with a specified number of degrees of freedom or<br />

a mixed normal distribution with any mixture proportion (PROPORTION) and any standard<br />

deviation ratio (LAMBDA).<br />

• You can save a data file with the missing values filled in. You must specify a filename<br />

and its complete path in single or double quotation marks.<br />

• Criteria keywords and OUTFILE specifications must be enclosed in a single pair of<br />

parentheses.<br />

The criteria for the EM subcommand are as follows:<br />

TOLERANCE=value Numerical accuracy control. The tolerance helps eliminate predictor<br />

variables that are highly correlated with other predictor variables and<br />

would reduce the accuracy of the matrix inversions involved in the calculations.<br />

The smaller the tolerance, the more inaccuracy is tolerated.<br />

The default value is 0.001.

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

Saved successfully!

Ooh no, something went wrong!