Specify the target before producing draws

A generated sample is meaningful only relative to a target: a finite list of units, an empirical distribution in an observed dataset, or a stated probability distribution. The mechanism should make inclusion probabilities or distributional probabilities clear. A random-looking list without a target and rule is not a defensible sample.


For a finite population, drawing without replacement prevents repeated units and gives a simple random sample when each subset of the chosen size is equally likely. Drawing with replacement permits repeats and instead produces independent draws from the chosen distribution. These mechanisms answer different questions even when they use the same list.


Pseudorandom generators can be seeded for reproducibility. A seed makes a computational sequence repeatable for audit or debugging; it does not prove that the mechanism matches the intended target distribution. Check the target, the draw rule, and any weights before interpreting downstream summaries.

A registrar has a list of enrolled students and needs twelve distinct records selected so that every twelve-record subset is equally likely. Which procedure meets that goal?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A simulation requires independent labels with probabilities 0.60 for red, 0.25 for blue, and 0.15 for green. Which sampling rule is appropriate?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Two analysts use the same algorithm, target distribution, and seed. What should they expect from the sampling code?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors