Overview (CSDESCRIPTIVES command)

CSDESCRIPTIVES estimates means, sums, and ratios, and computes their standard errors, design effects, confidence intervals, and hypothesis tests, for samples that are drawn by complex sampling methods. The procedure estimates variances by taking into account the sample design that is used to select the sample, including equal probability and probability proportional to size (PPS) methods, and with replacement (WR) and without replacement (WOR) sampling procedures. Optionally, CSDESCRIPTIVES performs analyses for subpopulations.

Basic Specification

  • The basic specification is a PLAN subcommand and the name of a complex sample analysis plan file (which may be generated by the CSPLAN procedure) and a MEAN, SUM, or RATIO subcommand. If a MEAN or SUM subcommand is specified, a SUMMARY subcommand must also be present.
  • The basic specification displays the overall population size estimate. Additional subcommands must be used for other results.

Operations

  • CSDESCRIPTIVES computes estimates for sampling designs that are supported by the CSPLAN and CSSELECT procedures.
  • The input dataset must contain the variables to be analyzed and variables that are related to the sampling design.
  • The complex sample analysis plan file provides an analysis plan based on the sampling design.
  • The default output for each requested mean, sum, or ratio is the estimate and its standard error.
  • WEIGHT and SPLIT FILE settings are ignored by the CSDESCRIPTIVES procedure.

Syntax Rules

  • The PLAN subcommand is required. In addition, the SUMMARY subcommand and the MEAN or SUM subcommand must be specified, or the RATIO subcommand must be specified. All other subcommands are optional.
  • Multiple instances of the RATIO subcommand are allowed—each instance is treated independently. All other subcommands may be specified only once.
  • Subcommands can be specified in any order.
  • All subcommand names and keywords must be spelled in full.
  • Equals signs (=) that are shown in the syntax chart are required.
  • The MEAN and SUM subcommands can be specified without further keywords, but no other subcommands may be empty.