PROC MEANS excludes missing values for the analysis variables before calculating
statistics. Each analysis variable is treated individually; a missing value for an
observation in one variable does not affect the calculations for other variables. The
statements handle missing values as follows:
•If a class variable has a missing value for an observation, then PROC MEANS
excludes that observation from the analysis unless you use the MISSING option in
the PROC statement or CLASS statement.
•If a BY or ID variable value is missing, then PROC MEANS treats it like any other
BY or ID variable value. The missing ...
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.