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
PLANsubcommand and the name of a complex sample analysis plan file (which may be generated by theCSPLANprocedure) and aMEAN,SUM, orRATIOsubcommand. If aMEANorSUMsubcommand is specified, aSUMMARYsubcommand must also be present. - The basic specification displays the overall population size estimate. Additional subcommands must be used for other results.
Operations
-
CSDESCRIPTIVEScomputes estimates for sampling designs that are supported by theCSPLANandCSSELECTprocedures. - 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.
-
WEIGHTandSPLIT FILEsettings are ignored by theCSDESCRIPTIVESprocedure.
Syntax Rules
- The
PLANsubcommand is required. In addition, theSUMMARYsubcommand and theMEANorSUMsubcommand must be specified, or theRATIOsubcommand must be specified. All other subcommands are optional. - Multiple instances of the
RATIOsubcommand 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
MEANandSUMsubcommands can be specified without further keywords, but no other subcommands may be empty.