Skip to content

Complex Samples Sampling Wizard

Designs a probability sample — stratified, clustered and in several stages — saves the sampling plan and draws the sample from the active dataset (the sampling frame).

  • To select schools and then pupils, households within areas, or any multi-stage sample from a frame you hold.
  • To draw units with probability proportional to size (PPS), for example clinics by number of patients.
  • To produce the inclusion probabilities and weights needed to analyse the sample afterwards.
  • Each case of the active dataset is a frame unit; cluster variables group cases into first-stage units.
  • PPS methods need a positive measure of size that is constant within each cluster.
  • Without-replacement methods cannot select more units than a stratum holds. Units whose PPS probability reaches 1 are taken with certainty.
  • Sampling Plan: the strata, clusters, method, size and measure of size of each stage.
  • Stage Summary: units in the frame, units selected and cases selected per stage.
  • New variables hold the inclusion probability, cumulative weight, population and sample size of every stage, and SampleWeight_Final_, the weight to analyse with. Unselected cases are filtered out (or deleted).
  • With Also write an analysis plan file, the matching analysis plan is ready for the Complex Samples procedures.

A two-stage sample was drawn: 4 schools per region with probability proportional to enrolment (Brewer’s method), then 5 pupils per school by simple random sampling, giving 40 pupils.

Syntax: CSPLAN SAMPLE /PLAN FILE='s.csplan' /DESIGN STRATA=region CLUSTER=school /METHOD TYPE=PPS_WOR /SIZE VALUE=4 /MOS VARIABLE=enrol /DESIGN /METHOD TYPE=SIMPLE_WOR /SIZE VALUE=5.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.