CSTABULATE

CSTABULATE is available in Sampling and Testing.

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.

CSTABULATE

/PLAN FILE = file

[/JOINTPROB FILE = file]

/TABLES VARIABLES = varlist [BY varname]

[/CELLS [POPSIZE] [ROWPCT] [COLPCT] [TABLEPCT]]

[/STATISTICS [SE] [CV] [DEFF] [DEFFSQRT] [CIN [({95** })]] [COUNT]
                                                {value}

             --- options for one-way frequency tables ---

             [CUMULATIVE]

             --- options for two-way crosstabulations ---

             [EXPECTED] [RESID] [ASRESID]] 

[/TEST       --- options for one-way frequency tables ---

             [HOMOGENEITY]

             --- options for two-way crosstabulations ---

             [INDEPENDENCE]

             --- options for two-by-two crosstabulations ---

             [ODDSRATIO] [RELRISK] [RISKDIFF]] 

[/SUBPOP TABLE = varname [BY varname [BY ...]] [DISPLAY = {LAYERED  }]]
                                                          {SEPARATE }

[/MISSING [SCOPE = {TABLE   }] [CLASSMISSING = {EXCLUDE }]]
                   {LISTWISE}                  {INCLUDE }

** Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the CSTABULATE command can be generated from the Complex Samples Frequencies dialog. Syntax for the CSTABULATE command can be generated from the Complex Samples Crosstabs dialog.

Example

CSTABULATE
  /PLAN FILE = '/survey/myfile.xml'
  /TABLES VARIABLES = a.