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.

CSSELECT<br />

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

CSSELECT<br />

/PLAN FILE=file<br />

[/CRITERIA [STAGES=n [n [n]]] [SEED={RANDOM**}]]<br />

{value }<br />

[/CLASSMISSING {EXCLUDE**}]<br />

{INCLUDE }<br />

[/DATA [RENAMEVARS] [PRESORTED]]<br />

[/SAMPLEFILE OUTFILE=file [KEEP=varlist] [DROP=varlist]]<br />

[/JOINTPROB OUTFILE=file]<br />

[/SELECTRULE OUTFILE=file]<br />

[/PRINT [SELECTION**] [CPS]]<br />

** Default if subcommand omitted.<br />

Overview<br />

Options<br />

The CSSELECT procedure selects complex, probability-based samples from a population.<br />

CSSELECT selects units according to a sample design created using the CSPLAN procedure.<br />

Scope of Execution. By default CSSELECT executes all stages defined in the sampling plan.<br />

Optionally you can execute specific stages of the design. This capability is useful if a full<br />

sampling frame is not available at the outset of the sampling process, in which case new<br />

stages can be sampled as become available. For example, CSSELECT might first be used to<br />

sample cities, then to sample blocks, and finally to sample individuals. Each time a different<br />

stage of the sampling plan would be executed.<br />

Seed. By default a random seed value is used by the CSSELECT random number generator.<br />

You can specify a seed to insure that the same sample will be drawn when CSSELECT is<br />

invoked repeatedly using the same sample plan and population frame. The CSSELECT seed<br />

value is independent of the global SPSS seed specified via the SET command.<br />

Missing Values. A case is excluded from the sample frame if it has a system missing value<br />

for any input variable in the plan file. You can control whether user-missing values of stratification<br />

and cluster variables are treated as invalid. User-missing values of measure variables<br />

are always treated as invalid.<br />

Input Data. If the sampling frame is sorted in advance you can specify that the data are<br />

presorted, which may improve performance when stratification and/or clustering is<br />

requested for a large sampling frame.<br />

Sample Data. CSSELECT writes data to the working data file (the default) or an external file.<br />

Regardless of the data destination, CSSELECT generates final sampling weights, stagewise

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

Saved successfully!

Ooh no, something went wrong!