Start studying
Module 9 · Sampling and Inference Module contents
Module 9  ·  Card 2 / 16beginner

Simple Random Sampling

Simple random sampling picks members of a population so that every possible sample of that size is equally likely.

In practice every member has the same chance of selection, and a random number generator does the choosing.

For example, picking 500 customer IDs at random from a list of 50,000 gives every customer the same chance.

Randomness protects against the analyst's own preferences, which would otherwise creep into the choice.

It needs a complete list of the population, called a sampling frame, which is often the hardest part to get.

Learn in depth ↓
Module 09 · Sampling and Inference · 16 concepts
In depth  /  15 lines

Simple Random Sampling, in more detail

Simple random sampling is the baseline that every other sampling method is compared with.

It works because chance, not a person, decides who is included, so no group is favoured on purpose or by habit.

Its maths is the simplest, and most standard formulas for uncertainty assume it.

The first step is the sampling frame: a list of every member of the population.

Each member gets a number, and a random number generator picks the required count without repeats.

In pandas, the sample method draws random rows from a DataFrame, and a fixed random seed makes the draw repeatable.

Sampling without replacement means each member can be picked at most once, which is the usual choice.

The frame is often the weak point: a customer list missing new sign-ups leaves them out of every sample.

Non-response is another, because people who are picked but never reply turn a random sample into a self-selected one.

A simple random sample can still be unlucky, such as drawing few customers from a small region by chance.

That luck evens out across many samples but can matter a great deal for any single one.

Random does not mean haphazard: picking whoever happens to be nearby feels random but is not.

In practice, saving the seed and the frame used lets anyone repeat the exact draw.

Random samples also make huge tables quick to explore before running the full analysis.

The usual mistake is treating a convenient sample, such as the first rows of a file, as if it were random.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
A shop wants a simple random sample of 500 customers from its 50,000. Which method gives one?
Sampling and Inference

16 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close