Previous Page | Next Page

The SURVEYMEANS Procedure

VAR Statement
VAR variables ;

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.

Previous Page | Next Page | Top of Page