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.

VARCOMP 1637<br />

Tuning the Algorithm. You can control the values of algorithm-tuning parameters with the<br />

CRITERIA subcommand.<br />

Optional Output. You can request additional output using the PRINT subcommand.<br />

Saving the Results. You can save the variance component estimates and their asymptotic<br />

covariance matrix (if produced) to an external data file.<br />

Basic Specification<br />

The basic specification is one dependent variable and one or more factor variables that define<br />

the crosstabulation and one or more factor variables on the RANDOM subcommand to classify<br />

factors into either fixed or random factors. By default, VARCOMP uses the minimum norm<br />

quadratic unbiased estimator with unit prior weights to estimate variance components. Default<br />

output includes a factor-level information table and a variance component estimates table.<br />

Subcommand Order<br />

• The variable specification must come first.<br />

• Other subcommands can be specified in any order.<br />

<strong>Syntax</strong> Rules<br />

• Only one dependent variable can be specified.<br />

• At least one factor must be specified after BY.<br />

• At least one factor must be specified on the RANDOM subcommand.<br />

Variable List<br />

The variable list specifies the dependent variable and the factors in the model.<br />

• The dependent variable must be the first specification on VARCOMP.<br />

• The factors follow the dependent variable and are separated from it by the keyword BY.<br />

• The covariates, if any, follow the factors and are separated from the dependent variable<br />

and the factors by the keyword WITH.<br />

• The dependent variable and the covariates must be numeric, but the factor variables can<br />

be either numeric or string. If a factor is a long string variable, only the first eight characters<br />

of each value are used.<br />

RANDOM Subcommand<br />

The RANDOM subcommand allows you to specify random factors.<br />

• You must specify at least one RANDOM subcommand with one random factor.

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

Saved successfully!

Ooh no, something went wrong!