CSSELECT

CSSELECT is available in Sampling and Testing.

CSSELECT selects complex, probability-based samples from a population. CSSELECT selects units according to a sample design created using the CSPLAN procedure.

CSSELECT

/PLAN FILE='file'

[/CRITERIA [STAGES=n [n [n]]] [SEED={RANDOM**}]]
                                    {value   }   

[/CLASSMISSING {EXCLUDE**}]
               {INCLUDE  }

[/DATA [RENAMEVARS] [PRESORTED]] 

[/SAMPLEFILE OUTFILE='savfile'|'dataset' [KEEP=varlist] [DROP=varlist]]
                           
[/JOINTPROB OUTFILE='savfile'|'dataset']

[/SELECTRULE OUTFILE='file']

[/PRINT [SELECTION**] [CPS]]

**Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the CSSELECT command can be generated from the Sampling Wizard.

Release History

Release 16.0

  • Added support for SET THREADS.

Example

CSSELECT 
  /PLAN FILE='/survey/myfile.csplan'.