WEIGHT Statement
- WEIGHT variable < / option >;
When a WEIGHT statement appears, each observation in the input data set
is weighted by the value of the WEIGHT variable.
The values of the WEIGHT
variable can be nonintegral and are not truncated. Observations with
negative, zero, or missing values for the WEIGHT variable are not
used in the model fitting.
When the WEIGHT statement is not specified, each observation is assigned
a weight of 1.
The following option can be added to the WEIGHT statement after
a slash (/).
- NORMALIZE
- NORM
-
causes the weights specified by the WEIGHT variable to be normalized
so that they add up to the actual sample size. With this option,
the estimated
covariance matrix of the parameter estimators
is invariant to the scale
of the WEIGHT variable.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.