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.

352 CSPLAN<br />

• The following subcommands can be used only if an analysis design is requested: ESTIMA-<br />

TOR, POPSIZE, and INCLPROB. An error occurs if any of these subcommands is specified<br />

for a sample design.<br />

• In general, each variable specified in the design can assume only one role. For example a<br />

weight variable cannot be used as a stratification or cluster variable. Exceptions are listed<br />

below.<br />

Displaying a Plan<br />

• If CSPLAN VIEW is used only the PLAN and PRINT subcommands can be specified.<br />

Subcommand Order<br />

• The first DESIGN subcommand must precede all other subcommands except PLAN, PLAN-<br />

VARS, and PRINT.<br />

• PLAN, PLANVARS, and PRINT subcommands can be used in any order.<br />

Limitations<br />

Examples<br />

• A maximum of three design blocks can be specified.<br />

• CSPLAN ignores SPLIT FILE and WEIGHT commands with a warning.<br />

Simple sample design<br />

CSPLAN SAMPLE<br />

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

/DESIGN<br />

/METHOD TYPE=SIMPLE_WOR<br />

/SIZE VALUE=100.<br />

• A single-stage sample design is created that is saved in myfile.csplan.<br />

• 100 cases will be selected from the active file when the sample design is executed by the<br />

CSSELECT procedure.<br />

• The extraction method is simple random sampling without replacement.<br />

• The plan file also includes a default analysis design that uses the EQUAL_WOR estimator<br />

(the default when units are extracted using the SIMPLE_WOR method).

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

Saved successfully!

Ooh no, something went wrong!