Draw a random sample and audit selection bias

8 steps · about 2 h 30 min · Beginner

  1. Start with simple random sampling (guide, Scribbr, 25 min)

    Connects a defined population, an eligible sampling frame and equal-probability selection to defensible inference.

  2. Separate sampling methods (guide, Scribbr, 20 min)

    Shows when strata improve representation and how selection inside each stratum should work.

  3. Define a sampling frame (guide, Scribbr, 20 min)

    Shows how selection depends on an operational population list and why periodic ordering can bias a sample.

  4. Create an explicit random generator (reference, NumPy, 15 min)

    Provides reproducible random state without relying on hidden global generator behavior.

  5. Sample indices with known probabilities (reference, NumPy, 15 min)

    Supports sampling with or without replacement and makes selection probabilities explicit.

  6. Draw a sample from a table (reference, scikit-learn, 15 min)

    Connects the sampling design to concrete arrays while retaining a seed, replacement rule and optional stratification.

  7. See how response design adds bias (guide, Pew Research Center, 20 min)

    Sampling quality alone cannot repair ambiguous questions or systematic differences in who responds.

  8. Report disposition and response transparently (guide, AAPOR, 20 min)

    Standard definitions support an auditable account of contact, eligibility, completion and nonresponse.