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.

UNIANOVA 1605<br />

• The keyword INTERCEPT and effects containing covariates are not allowed on this<br />

subcommand.<br />

• When the RANDOM subcommand is used, the appropriate error terms for the hypothesis<br />

testing of all effects in the model are automatically computed and used.<br />

• More than one RANDOM subcommand is allowed. The specifications are accumulated.<br />

Example<br />

UNIANOVA DEP BY A B<br />

/RANDOM = B<br />

/DESIGN = A,B, A*B.<br />

• In the example, effects B and A*B are considered as random effects. Notice that if only<br />

effect B is specified in the RANDOM subcommand, A*B is automatically considered as a<br />

random effect.<br />

• The hypothesis testing for each effect (A, B, and A*B) in the design will be carried out<br />

using the appropriate error term, which is calculated automatically.<br />

REGWGT Subcommand<br />

The only specification on REGWGT is the name of the variable containing the weights to be<br />

used in estimating a weighted least-squares model.<br />

• Specify a numeric weight variable name following the REGWGT subcommand. Only<br />

observations with positive values in the weight variable will be used in the analysis.<br />

• If more than one REGWGT subcommand is specified, only the last one is in effect.<br />

Example<br />

UNIANOVA OUTCOME BY TREATMNT<br />

/REGWGT WT.<br />

• The procedure performs a weighted least-squares analysis. The variable WT is used as the<br />

weight variable.<br />

METHOD Subcommand<br />

METHOD controls the computational aspects of the UNIANOVA analysis. You can specify one<br />

of four different methods for partitioning the sums of squares. If more than one METHOD<br />

subcommand is specified, only the last one is in effect.<br />

SSTYPE(1) Type I sum-of-squares method. The Type I sum-of-squares method is also<br />

known as the hierarchical decomposition of the sum-of-squares method. Each<br />

term is adjusted only for the terms that precede it on the DESIGN subcommand.<br />

Under a balanced design, it is an orthogonal decomposition, and the sums of<br />

squares in the model add up to the total sum of squares.<br />

SSTYPE(2) Type II sum-of-squares method. This method calculates the sum of squares of<br />

an effect in the model adjusted for all other “appropriate” effects. An

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

Saved successfully!

Ooh no, something went wrong!