Draw a random sample and audit selection bias
8 steps · about 2 h 30 min · Beginner
- Start with simple random sampling (guide, Scribbr, 25 min)
Connects a defined population, an eligible sampling frame and equal-probability selection to defensible inference.
- Separate sampling methods (guide, Scribbr, 20 min)
Shows when strata improve representation and how selection inside each stratum should work.
- 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.
- Create an explicit random generator (reference, NumPy, 15 min)
Provides reproducible random state without relying on hidden global generator behavior.
- Sample indices with known probabilities (reference, NumPy, 15 min)
Supports sampling with or without replacement and makes selection probabilities explicit.
- 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.
- 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.
- Report disposition and response transparently (guide, AAPOR, 20 min)
Standard definitions support an auditable account of contact, eligibility, completion and nonresponse.