WEIGHT
variable-name ;
The WEIGHT statement specifies the name of a variable whose values represent the weight of each observation. PROC SEVERITY
associates a weight of to each observation, where
is the value of the WEIGHT variable for the observation. If the weight value is missing or less than or equal to 0, then
the observation is ignored and a warning is written to the SAS log. When the WEIGHT statement is not specified, each observation
is assigned a weight of 1. If you specify more than one WEIGHT statement, then the last statement is used.
The weights are normalized so that they add up to the actual sample size. In particular, weight of each observation is multiplied
by , where
is the sample size.