REGWGT Subcommand (UNIANOVA command)

The only specification on REGWGT is the name of the variable containing the weights to be used in estimating a weighted least-squares model.

  • Specify a numeric weight variable name following the REGWGT subcommand. Only observations with positive values in the weight variable will be used in the analysis.
  • If more than one REGWGT subcommand is specified, only the last one is in effect.

Example

UNIANOVA OUTCOME BY TREATMNT
  /REGWGT WT.
  • The procedure performs a weighted least-squares analysis. The variable WT is used as the weight variable.