Sampling answers “Who are we collecting data from?”
Focuses on how the sample is selected from the population.
When selection is done randomly, every member of the population has a known, non-zero probability of inclusion (P(selected)=Nn in simple random sampling).
Result: the sample is representative → findings can be generalized to the entire population.
Random Assignment answers “Who receives which treatment?”
Occurs only in experimental designs.
Subjects already in the study are allocated to treatments by chance.
Balances both measured & unmeasured confounders across groups, supporting causal conclusions.
Why the Distinction Matters
Random Sampling ⇢ External Validity (generalizability).
Random Assignment ⇢ Internal Validity (cause-and-effect).
Detailed Definitions & Consequences
Random Sampling
Guarantees each subset of size n in a population of size N is equally likely.
Minimizes selection bias.
Enables computation of precise sampling distributions (e.g., p^∼Normal(p,np(1−p)) for large n).
Random Assignment
Creates treatment groups whose expected covariate distributions are identical: E[X∣Treatment]=E[X∣Control].
Justifies use of permutation tests or two-sample t-tests under the assumption of independence generated by design.
No Random Sampling but Yes Random Assignment
Causal statements are permitted within the study sample but cannot automatically be generalized.
Yes Random Sampling but No Random Assignment
Descriptive & associative findings can be generalized; causal claims remain speculative.
Visual Summary (Slide 11 – “Scope of Inference”)
Matrix of possibilities:
Neither ⇢ No causal inference, no generalization.
Sampling only ⇢ Generalization without causality.
Assignment only ⇢ Causality within sample only.
Both ⇢ Strongest design: causal & generalizable.
Example Analyses
Smoking & Lung Cancer (Historical Case–Control Study)
Design: Compared hospitalized lung-cancer patients to non-cancer controls; recorded smoking status.
No random sampling: Patients were already hospitalized, not a random draw from the population.
No random assignment: Researchers could not assign smoking status.
Correct multiple-choice answer: c. Neither random sampling nor random assignment.