27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CSTABULATE 371<br />

• This specification displays a population size estimate and its standard error for each cell<br />

in the defined table, as well as for all marginals.<br />

Operations<br />

• CSTABULATE computes table statistics for sampling designs supported by the CSPLAN<br />

and CSSELECT procedures.<br />

• The input data set must contain the variables to be analyzed and variables related to the<br />

sampling design.<br />

• The complex sample analysis specification file provides an analysis plan based on the<br />

sampling design.<br />

• For each cell and marginal in the defined table, the default output is the population size<br />

estimate and its standard error.<br />

• WEIGHT and SPLIT FILE settings are ignored by the CSTABULATE procedure.<br />

<strong>Syntax</strong> Rules<br />

Example<br />

Example<br />

• The PLAN and TABLES subcommands are required. All other subcommands are optional.<br />

• Each subcommand may be specified only once.<br />

• Subcommands can be specified in any order.<br />

• All subcommand names and keywords must be spelled in full.<br />

• Equals signs (=) shown in the syntax chart are required.<br />

• Empty subcommands are not allowed.<br />

CSTABULATE<br />

/PLAN FILE = ‘c:\survey\myfile.xml’<br />

/TABLES VARIABLES = a BY b.<br />

• The CSTABULATE procedure will compute estimates based on the complex sample analysis<br />

specification given in ‘c:\survey\myfile.xml’.<br />

• CSTABULATE will display the A-by-B crosstabulation, with each cell giving the population<br />

size estimate and its standard error.<br />

CSTABULATE<br />

/PLAN FILE = ‘c:\survey\myfile.xml’<br />

/TABLES VARIABLES = a BY b<br />

/CELLS TABLEPCT<br />

/STATISTICS CIN.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!