Previous Page | Next Page

The SURVEYMEANS Procedure

Syntax: SURVEYMEANS  Procedure

The following statements are available in PROC SURVEYMEANS:

PROC SURVEYMEANS <options> <statistic-keywords> ;
BY variables ;
CLASS variables ;
CLUSTER variables ;
DOMAIN variables <variablevariable variablevariablevariable ...> < / option> ;
RATIO <’label’> variables / variables ;
REPWEIGHTS variables < / options> ;
STRATA variables < / option> ;
VAR variables ;
WEIGHT variable ;

The PROC SURVEYMEANS  statement invokes the procedure. It optionally names the input data sets, specifies statistics for the procedure to compute, and specifies the variance estimation method. The PROC SURVEYMEANS  statement is required.

The VAR statement identifies the variables to be analyzed. The CLASS statement identifies those numeric variables that are to be analyzed as categorical variables. The STRATA statement lists the variables that form the strata in a stratified sample design. The CLUSTER statement specifies cluster identification variables in a clustered sample design. The DOMAIN statement lists the variables that define domains for subpopulation analysis. The RATIO statement requests ratio analysis for means or proportions of analysis variables. The WEIGHT statement names the sampling weight variable. The REPWEIGHTS statement names replicate weight variables for BRR or jackknife variance estimation. You can use a BY statement with PROC SURVEYMEANS  to obtain separate analyses for groups defined by the BY variables.

All statements can appear multiple times except the PROC SURVEYMEANS  statement and the WEIGHT statement, each of which can appear only once.

The rest of this section gives detailed syntax information for the BY, CLASS, CLUSTER, DOMAIN, RATIO, REPWEIGHTS, STRATA, VAR, and WEIGHT statements in alphabetical order after the description of the PROC SURVEYMEANS  statement.

Previous Page | Next Page | Top of Page