Purpose
Specifies prior weights for use in fitting a model.
Syntax
WEIGHT vname @
NOWEIGHT
Programs
AMFIT, GMBO/PECAN, PEANUTS
Arguments and Subcommands
vname
The variable that contains the values to be used as the prior weights.
Remarks
Prior weights should be non-negative. However, for convenience, records with negative weights are not used in the analysis, that is, they are treated as if they have weight 0.
A weight variable can be canceled with the NOWEIGHT command.
The use of this command in PECAN does not cause an error message, but the weights are ignored. Prior weights are not automatically used in the computation of sums, means, or other summary statistics.
Examples
a) To specify that a variable called multi contains the prior weight variable for subsequent fits:
WEIGHT multi
b) To remove a previously specified prior weight variable:
NOWEIGHT