Overview (CSTABULATE command)
CSTABULATE displays one-way frequency tables or two-way crosstabulations, and
associated standard errors, design effects, confidence intervals,
and hypothesis tests, for samples drawn by complex sampling methods.
The procedure estimates variances by taking into account the sample
design 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, CSTABULATE creates tables for subpopulations.
Basic Specification
- The basic
specification is a
PLANsubcommand and the name of a complex sample analysis specification file, which may be generated byCSPLAN, and aTABLESsubcommand with at least one variable specified. - This specification displays a population size estimate and its standard error for each cell in the defined table, as well as for all marginals.
Operations
-
CSTABULATEcomputes table statistics for sampling designs supported byCSPLANandCSSELECT. - The input dataset must contain the variables to be analyzed and variables related to the sampling design.
- The complex sample analysis specification file provides an analysis plan based on the sampling design.
- For each cell and marginal in the defined table, the default output is the population size estimate and its standard error.
-
WEIGHTandSPLIT FILEsettings are ignored byCSTABULATE.
Syntax Rules
- The
PLANandTABLESsubcommands are required. All other subcommands are optional. - Each subcommand may be specified only once.
- Subcommands can be specified in any order.
- All subcommand names and keywords must be spelled in full.
- Equals signs (=) shown in the syntax chart are required.
- Empty subcommands are not allowed.