Example (CSSELECT command)

CSSELECT
  /PLAN FILE='/survey/myfile.csplan'
  /CRITERIA SEED=99999
  /SAMPLEFILE OUTFILE='/survey/sample.sav'.
  • CSSELECT reads the plan file myfile.csplan.
  • CSSELECT draws cases according to the sampling design specified in the plan file.
  • Sampled cases and weights are written to an external file. By default, output data include final sample weights, stagewise inclusion probabilities, stagewise cumulative weights, and any other variables requested in the sample plan.
  • The seed value for the random number generator is 99999.