The SURVEYMEANS Procedure |
VAR Statement |
The VAR statement names the variables to be analyzed.
If you want a categorical analysis for a numeric variable, you must also name that variable in the CLASS statement. For categorical variables, PROC SURVEYMEANSÂ estimates the proportion in each category or level, instead of the overall mean. Character variables are always analyzed as categorical variables. See the section CLASS Statement for more information.
When you specify a variable in a RATIO statement, but not in a VAR statement, the procedure includes this variable as an analysis variable.
If you do not specify a VAR statement, then PROC SURVEYMEANSÂ analyzes all variables in the DATA= input data set, except those named in the BY, CLUSTER, DOMAIN, REPWEIGHTS, STRATA, and WEIGHT statements.
Copyright © SAS Institute, Inc. All Rights Reserved.