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.

PLAN Subcommand<br />

CSSELECT 341<br />

The PLAN subcommand identifies the plan file whose specifications are to be used for<br />

selecting sampling units. FILE specifies the name of the file. An error occurs if the file does<br />

not exist.<br />

CRITERIA Subcommand<br />

The criteria subcommand is used to control the scope of execution and specify a seed value.<br />

STAGES Keyword<br />

STAGES specifies the scope of execution.<br />

• By default all stages defined in the sampling plan are executed. STAGES is used to limit<br />

execution to specific stages of the design.<br />

• Specify one or more stages. The list can include up to three integer values. For example,<br />

STAGES=1 2 3. If two or more values are provided they must be consecutive. An error<br />

occurs if a stage is specified that does not correspond to a stage in the plan file.<br />

• If the sample plan specifies a previous weight variable it is used in the first stage of the<br />

plan.<br />

• When executing latter stages of a multistage sampling design in which the earlier stages<br />

have already been sampled, CSSELECT requires the cumulative sampling weights of the<br />

last stage sampled in order to compute the correct final sampling weights for the whole<br />

design. For example, say you have a three-stage design and have already executed the first<br />

two stages of the design, saving the second-stage cumulative weights to<br />

SampleWeightCumulative_2_. When you sample the third stage of the design, the working<br />

data file must contain SampleWeightCumulative_2_ in order to compute the final<br />

sampling weights.<br />

SEED Keyword<br />

SEED specifies the random number seed used by the CSSELECT procedure.<br />

• By default, a random seed value is selected. To replicate a particular sample, the same<br />

seed, sample plan, and sample frame should be specified when the procedure is executed.<br />

• The CSSELECT seed value is independent of the global SPSS seed specified via the SET<br />

command.<br />

RANDOM A seed value is selected at random. This is the default.<br />

value Specifies a custom seed value. The seed value must be a positive integer.

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

Saved successfully!

Ooh no, something went wrong!