specifies a numeric variable whose values weight the values of the analysis variables.
The values of the variable do not have to be integers. The table below shows what
the action will be based on the weight value.
Table 56.2WEIGHT Statement Value and PROC STANDARD Action
Weight ValuePROC STANDARD Action
0Counts the observation in the total number of observations
Less than 0Converts the weight value to zero and counts the observation
in the total number of observations
MissingExcludes the observation from the calculation of mean and
standard deviation
To exclude observations that contain negative and zero weights from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.