RANDOM Subcommand (VARCOMP command)

The RANDOM subcommand allows you to specify random factors.

  • You must specify at least one RANDOM subcommand with one random factor.
  • You can specify multiple random factors on a RANDOM subcommand. You can also use multiple RANDOM subcommands. Specifications are accumulative.
  • Only factors that are listed after the keyword BY in the variable list are allowed on the RANDOM subcommand.
  • If you specify a factor on RANDOM, all effects containing the factor are automatically declared as random effects.

Example

VARCOM Y BY DRUG SUBJECT
 /RANDOM = SUBJECT
 /DESIGN = DRUG DRUG*SUBJECT.
  • This example specifies a mixed model where DRUG is the fixed factor and SUBJECT is a random factor.
  • The default method MINQUE(1) is used to estimate the contribution of the random effect DRUG*SUBJECT to the variance of the dependent variable.