---
title: "The mechanism is the sample. | FiveStudy"
description: "A high school of 1,200 students wants the proportion who would use a late bus. The principal needs about 60 names. Several defensible plans share one feature: a random mechanism does the choosing. Ask"
url: https://fivestudy.com/guides/apstats-1-11-random-sampling
---

[AP Statistics](https://fivestudy.com/ap-statistics) · Study guide

# The mechanism is the sample.

[Figure: FiveStudy]

FiveStudy

AP® Statistics · Unit 1 · Exploring One-Variable Data and Collecting Data

AP® Statistics · Unit 1 · Exploring One-Variable Data and Collecting Data

# *Random* Sampling

Sampling with and without replacement, and the four random sampling methods: simple random, stratified, cluster, and systematic. How to carry each one out, how to tell them apart, and how to choose one for a study.

1. With or without replacement 2. Simple random sample 3. Four methods 4. Strata versus clusters 5. Choosing a method

The idea in one paragraph

Letting chance pick the sample keeps the researcher’s choices, and people’s choice to volunteer, out of it. That is what lets the results stand for the whole population. All four methods here use chance; they differ in *how* chance is used: on the whole list, inside groups, on whole groups, or for a starting point.

## 1 With or without replacement

When units are drawn one at a time, there are two ways to handle a unit that has already been picked.

- **Sampling without replacement:** a selected unit is not returned to the population before the next selection, so it cannot be selected again. Each unit can appear at most once.
- **Sampling with replacement:** a selected unit is returned before the next selection, so it could be selected again.

**Figure 1.** Sampling without replacement removes each selected unit, so no unit can be chosen twice. Sampling with replacement returns it first, so the same unit can come up again. Surveys of people almost always sample without replacement.

Surveys and most real samples are taken without replacement: it makes no sense to interview the same person twice. Sampling with replacement shows up mostly in simulations, such as rolling a die again and again.

## 2 The simple random sample

In a **simple random sample** (SRS) of size \(n\), every possible sample of \(n\) units has the same chance of being selected. It is the basic random sampling method, and the other methods are built from it.

Two common ways to take an SRS:

- **Slips of paper:** write each unit’s name or number on an identical slip, mix them well, and draw \(n\) slips without replacement.
- **Random number generator:** number the units, generate random numbers in that range, skip repeats, and stop when you have \(n\) different units.

Worked Example 1 Take a simple random sample

### 40 of 850 students

A school has 850 students and wants an SRS of 40 to survey about lunch. Describe how to select it with a random number generator.

1. 1Get a list of all 850 students and give each a different number from 1 to 850.
2. 2Use a random number generator to produce random whole numbers from 1 to 850 (on a TI-84: MATH, PRB, randInt(1, 850)).
3. 3The student with each number generated is in the sample. If a number comes up again, skip it, because each student can be chosen only once.
4. 4Keep going until 40 different students have been selected.

**Answer:** Number the students 1 to 850, generate random numbers from 1 to 850, ignore repeats, and survey the students with the first 40 different numbers.

On the calculator

MATH, PRB, **randInt(1, 850)** gives one random whole number from 1 to 850; press ENTER again for the next. randInt(1, 850, 40) gives 40 at once, but it can repeat numbers, so check the list and replace any repeats.

Common Mistake 1 · Thinking “everyone has the same chance” makes an SRS

Equal chances for every *individual* is not enough. In a stratified sample with equal-sized strata, every student has the same chance of being picked, yet a sample with no 12th graders is impossible. An SRS needs every possible *sample* of size \(n\) to be equally likely.

Common Mistake 2 · Keeping repeated numbers

When sampling people without replacement, a number that comes up twice must be skipped. Otherwise you end up with fewer than \(n\) different people, or the same person counted twice.

## 3 Four random sampling methods

| Method | How it works |
| --- | --- |
| Simple random sample | Every possible sample of size \(n\) is equally likely. Use slips or a random number generator on the whole list. |
| Stratified random sample | Divide the population into non-overlapping groups, called **strata**, of units that share a characteristic. Take an SRS within each stratum and combine them. |
| Cluster random sample | Divide the population into groups, called **clusters**, that are ideally each a mix like the whole population. Take an SRS of clusters and collect data from every unit in the chosen clusters. |
| Systematic random sample | Choose a random starting point, then select units at a fixed interval, such as every 10th unit. |

**Figure 2.** Each panel is the same population of 40 units. Stratified sampling takes some units from *every* group. Cluster sampling takes *every unit* from some groups. Systematic sampling counts off every 5th unit (reading across the rows) after a random start.

Worked Example 2 Name the method

### Four studies

1. A cereal company inspects every 50th box coming off the line, starting with a randomly chosen box among the first 50.
2. A district splits its schools into elementary, middle and high schools, then randomly selects 10 teachers from each level.
3. A city randomly picks 12 of its 200 apartment buildings and surveys every household in those 12 buildings.
4. A teacher puts all 30 names in a hat, mixes well, and draws 6.
1. 1 **1.** Random start, then a fixed interval of 50: **systematic random sample**.
2. 2 **2.** Groups (strata) of similar schools, then an SRS within each: **stratified random sample**.
3. 3 **3.** Buildings are clusters; a random set of whole clusters is surveyed: **cluster random sample**.
4. 4 **4.** Every group of 6 names is equally likely: **simple random sample**.

**Answer:** Systematic, stratified, cluster, simple random sample.

Worked Example 3 Set up a systematic sample

### Shoppers at a store

A store expects about 1,500 shoppers on Saturday and wants to survey about 100 of them as they leave. Describe a systematic random sample.

1. 1Find the interval: \(1500 \div 100 = 15\), so survey every 15th shopper.
2. 2Choose a random starting point from 1 to 15, for example by drawing a number from a random number generator. Suppose it is 9.
3. 3Survey shoppers number 9, 24, 39, 54, and so on, counting shoppers as they leave.

**Answer:** Pick a random start between 1 and 15, then survey every 15th shopper after it.

## 4 Strata versus clusters

Stratified and cluster sampling both start by splitting the population into groups, which is why they are easy to mix up. They use the groups in opposite ways.

**Figure 3.** Colors stand for a characteristic such as grade level. Strata group similar units together, so sampling every stratum makes sure each kind is represented. Clusters are ideally small copies of the population, so a few whole clusters can stand in for everyone.

|  | Stratified | Cluster |
| --- | --- | --- |
| What the groups look like | Similar units inside each group (homogeneous) | Each group a mix, like the whole population |
| Which groups are sampled | Every group | Only a random set of groups |
| Which units in a group | A random sample from each group | Every unit in the chosen groups |
| Main reason to use it | Makes sure each group is represented; often more precise | Saves time and money when units are spread out |

Common Mistake 3 · Swapping stratified and cluster

A quick check: did the sample include some units from *every* group? Then it is stratified. Did it include *every* unit from *some* groups? Then it is cluster.

## 5 Choosing a method

Each method fits some situations better than others, depending on the question and on what is practical.

| Situation | Good choice | Why |
| --- | --- | --- |
| A full list of units is available and nothing special is needed | Simple random sample | Simplest; every sample equally likely |
| Groups differ a lot on the variable, and you want each one represented | Stratified | Guarantees each group appears; often more precise |
| Units are spread out and visiting them is costly | Cluster | Collect everything in a few places |
| Units come in a line or a stream, with no full list in advance | Systematic | Easy to carry out as units go by |

Worked Example 4 Design a stratified sample

### Homework time by grade

A high school of 1,600 students, 400 in each of grades 9 to 12, wants to estimate the mean time students spend on homework each night. It can survey 80 students. Describe a stratified random sample and explain why it is a good choice.

1. 1Use grade level as the strata, since homework time probably differs a lot from grade to grade.
2. 2Each grade has \(1600 \div 4 = 400\) students, so take an SRS of \(80 \div 4 = 20\) students from each grade.
3. 3Combine the four groups of 20 into one sample of 80.
4. 4Why: every grade is guaranteed its fair share of the sample. An SRS of 80 could, by chance, include very few 12th graders. Because students within a grade are more alike, the estimate tends to be more precise.

**Answer:** Stratify by grade and take an SRS of 20 from each grade. This guarantees every grade is represented and usually gives a more precise estimate than an SRS of 80.

Worked Example 5 Choose a method and justify it

### A neighborhood survey

A town wants to survey households about a new recycling program. Its 150 blocks are spread over a wide area, and interviewers must visit in person. Which method makes sense, and why?

1. 1An SRS of households would scatter interviewers all over town, which costs a lot of travel time.
2. 2Each block holds a mix of household types, so a block is a lot like a small copy of the town.
3. 3Choose a cluster random sample: number the blocks 1 to 150, randomly select a few blocks, and interview every household on those blocks.

**Answer:** A cluster sample of blocks. Interviewers stay in a few places, and because each block is a mix of households, the chosen blocks should still represent the town.

Common Mistake 4 · Systematic sampling on a repeating pattern

If the list repeats in a cycle that matches the interval, a systematic sample can land on the same kind of unit every time. Sampling every 7th day of the year, for example, picks the same weekday each time. Check for patterns before using a fixed interval.

Say it like this

Justify a method by connecting it to the situation: “A stratified sample by grade is appropriate because homework time likely differs by grade, and stratifying guarantees each grade is represented.”

FiveStudy AP® Statistics · Random sampling
