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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CSTABULATE<br />

CSTABULATE is available in the Complex Samples option.<br />

CSTABULATE<br />

/PLAN FILE = file<br />

[/JOINTPROB FILE = file]<br />

/TABLES VARIABLES = varlist [BY varname]<br />

[/CELLS [POPSIZE] [ROWPCT] [COLPCT] [TABLEPCT]]<br />

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

{value}<br />

--- options for one-way frequency tables ---<br />

[CUMULATIVE]<br />

--- options for two-way crosstabulations ---<br />

[EXPECTED] [RESID] [ASRESID]]<br />

[/TEST --- options for one-way frequency tables ---<br />

[HOMOGENEITY]<br />

--- options for two-way crosstabulations ---<br />

[INDEPENDENCE]<br />

--- options for two-by-two crosstabulations ---<br />

[ODDSRATIO] [RELRISK] [RISKDIFF]]<br />

[/SUBPOP TABLE = varname [BY varname [BY ...]] [DISPLAY = {LAYERED }]]<br />

{SEPARATE }<br />

[/MISSING [SCOPE = {TABLE }] [CLASSMISSING = {EXCLUDE }]]<br />

{LISTWISE} {INCLUDE }<br />

** Default if subcommand omitted.<br />

Overview<br />

CSTABULATE displays one-way frequency tables or two-way crosstabulations, and associated<br />

standard errors, design effects, confidence intervals, and hypothesis tests, for samples<br />

drawn by complex sampling methods. The procedure estimates variances by taking into<br />

account the sample design used to select the sample, including equal probability and probability<br />

proportional to size (PPS) methods, and with replacement (WR) and without replacement<br />

(WOR) sampling procedures. Optionally, CSTABULATE creates tables for<br />

subpopulations.<br />

Basic Specification<br />

• The basic specification is a PLAN subcommand and the name of a complex sample analysis<br />

specification file, which may be generated by the CSPLAN procedure, and a TABLES<br />

subcommand with at least one variable specified.

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

Saved successfully!

Ooh no, something went wrong!