StatisticsSampling, Surveys, and Experiments1 of 6
Sampling, Surveys, and Experiments · 1

Populations and Samples

We often want to find out what is true about a huge group, like how much time high schoolers spend on their phones every day, when measuring every single member is impossible.

1

Populations, Censuses, and Samples

In statistics, the population is the whole group we want to learn about. Measuring everyone in it is a census, and the smaller group pulled from it that we actually measure is a sample.

Population\htmlClass{lc-violet}{\text{Population}}
all 15,000,000\htmlClass{lc-violet}{\text{all 15,000,000}}
U.S. high schoolers\htmlClass{lc-violet}{\text{U.S. high schoolers}}
true average\text{true average}
4.6 hours\htmlClass{lc-violet}{4.6}\text{ hours}
Take a\text{Take a}
sample\text{sample}
Sample\htmlClass{lc-blue}{\text{Sample}}
500 high schoolers\htmlClass{lc-blue}{\text{500 high schoolers}}
measured\htmlClass{lc-blue}{\text{measured}}
sample\text{sample}
average\text{average}
4.5 hours\htmlClass{lc-blue}{4.5}\text{ hours}
Populations, Censuses, and Samples
How much time do high schoolers\text{How much time do high schoolers}
spend on their phones every day?\text{spend on their phones every day?}
average=  ?\text{average} = \;\htmlClass{lc-violet}{?}
Text solution
Identify the populationName the entire group whose true value we want to find.
Population=All 15,000,000U.S. high schoolers(true average=4.6 hours,unknown)\displaystyle \begin{aligned}&\text{Population} = \pop{\text{All } 15{,}000{,}000} \\ &\quad \pop{\text{U.S. high schoolers}} \\ &\quad \text{(true average} = \pop{4.6}\text{ hours,} \\ &\quad \text{unknown)}\end{aligned}
Check if a census makes senseMeasure every member only when the population is small and easy to reach (like 28\pop{28} students in one classroom or 12\pop{12} varsity players), and rule a census out when the group is huge (like 800,000\pop{800{,}000} working adults) or destroyed by measurement (like draining AA batteries or crushing vineyard grapes).
Census of 15,000,000 students⟶impractical(too large and expensive)\displaystyle \begin{aligned}&\text{Census of } \pop{15{,}000{,}000\text{ students}} \\ &\longrightarrow \text{impractical} \\ &\quad \text{(too large and expensive)}\end{aligned}
Measure a samplePull a smaller, manageable group from the population and use its result to estimate the population truth.
Sample of 500 students⟶Sample average=4.5 hours(close to the true 4.6 hours)\displaystyle \begin{aligned}&\text{Sample of } \meas{500\text{ students}} \\ &\longrightarrow \text{Sample average} = \meas{4.5}\text{ hours} \\ &\quad \text{(close to the true } \pop{4.6}\text{ hours)}\end{aligned}

To tell the two apart in a problem, look for the word all or every to spot the population (all 15 million\pop{15\text{ million}} high schoolers) and look for the group that was actually measured to spot the sample (the 500\meas{500} students whose phones were checked).

2

What Makes an Investigative Question

Before we collect a sample, we need an investigative question: a question about the group that we can actually answer by measuring data.

What Makes an Investigative Question
Are teenagers addicted to their phones?\text{Are teenagers addicted to their phones?}
3 hours?\text{3 hours?}
8 hours?\text{8 hours?}
checking it during dinner?\text{checking it during dinner?}
13-year-olds in Tokyo?\text{13-year-olds in Tokyo?}
18-year-olds in Texas?\text{18-year-olds in Texas?}
Population\htmlClass{lc-violet}{\text{Population}}
Sample\htmlClass{lc-blue}{\text{Sample}}
Text solution
Name the populationState clearly who is in the group so there is no guesswork about whom to measure.
Population=High schoolstudents in the United States\displaystyle \begin{aligned}&\text{Population} = \pop{\text{High school}} \\ &\quad \pop{\text{students in the United States}}\end{aligned}
Define the variableReplace a vague word like "addicted" with an exact measurement or category recorded from each member.
Variable\displaystyle \text{Variable} =Daily hours of screen time\displaystyle = \meas{\text{Daily hours of screen time}}
Ask about the pattern across the groupBecause different students give different numbers, ask about the overall distribution (such as what is typical).
“What is the typical⏟overall patterndaily screen time⏟variable for high school studentsin the United States⏟population?”\displaystyle \begin{aligned}&\text{``What is the } \vary{\underbrace{\text{typical}}_{\text{overall pattern}}} \\[6pt] &\meas{\underbrace{\text{daily screen time}}_{\text{variable}}} \text{ for } \\[6pt] &\pop{\underbrace{\begin{aligned}&\text{high school students} \\ &\text{in the United States}\end{aligned}}_{\text{population}}}\text{?''}\end{aligned}
3

The Three Kinds of Investigative Questions

Summarizing a single variable is only one way to study a population. Using the same three-step checklist, we can also write investigative questions that compare distributions across groups or look for a relationship between two variables. In every case, the question must ask about the whole population rather than the sample.

The Three Kinds of Investigative Questions
What is the typical daily screen time\text{What is the }\htmlClass{lc-pink}{\text{typical}}\text{ }\htmlClass{lc-blue}{\text{daily screen time}}
for high school students\text{for }\htmlClass{lc-violet}{\text{high school students}}
in the United States?\htmlClass{lc-violet}{\text{in the United States}}\text{?}
Text solution
Summarize one variableAsk for the center or spread of a single measurement across the population.
One variable:“What is the typical⏟centerdaily screen time⏟one variable for U.S. high school students⏟population?”\displaystyle \begin{aligned}&\text{One variable:} \\ &\text{``What is the } \vary{\underbrace{\text{typical}}_{\text{center}}} \\[6pt] &\meas{\underbrace{\text{daily screen time}}_{\text{one variable}}} \text{ for } \\[6pt] &\pop{\underbrace{\text{U.S. high school students}}_{\text{population}}}\text{?''}\end{aligned}
Compare across groupsCompare a variable between two or more subgroups of the population.
Comparing groups:“Do U.S. high school seniors⏟first grouptypically have more⏟compare centersdaily screen time⏟variablethan freshmen⏟second group?”\displaystyle \begin{aligned}&\text{Comparing groups:} \\ &\text{``Do } \pop{\underbrace{\text{U.S. high school seniors}}_{\text{first group}}} \\[6pt] &\vary{\underbrace{\text{typically have more}}_{\text{compare centers}}} \\[6pt] &\meas{\underbrace{\text{daily screen time}}_{\text{variable}}} \\[6pt] &\text{than } \pop{\underbrace{\text{freshmen}}_{\text{second group}}}\text{?''}\end{aligned}
Look for a relationship between two variablesAsk whether two variables measured on each member of the population go together (using a scatterplot for two numerical variables or a two-way table for two categorical variables).
Two variables: “AmongU.S. high school students⏟population,is there a relationship⏟pattern betweendaily screen timeand hours of sleep⏟two variables?”\displaystyle \begin{aligned}&\text{Two variables: ``Among} \\ &\pop{\underbrace{\text{U.S. high school students}}_{\text{population}}}\text{,} \\[6pt] &\text{is there a } \vary{\underbrace{\text{relationship}}_{\text{pattern}}}\text{ between} \\[6pt] &\meas{\underbrace{\begin{aligned}&\text{daily screen time} \\ &\text{and hours of sleep}\end{aligned}}_{\text{two variables}}}\text{?''}\end{aligned}

Whether we look at a single variable like screen time, compare it between freshmen and seniors, or plot it against hours of sleep, the investigative question always asks about the overall pattern in the whole population.

Even on the same population of U.S. high schoolers, all three kinds of investigative questions look for an overall pattern in the data, whether it is one center, a shift between groups, or a trend between two variables.
4

Sampling Bias and Random Samples

Even with a clear investigative question, our study can still go wrong in how we pick our sample. If our selection method favors some parts of the population over others, the sampling method is biased. To avoid bias, we choose a random sample, where every member of the population has an equal chance of being picked.

Biased method:\htmlClass{lc-orange}{\text{Biased}}\text{ method:}
skimming the top\text{skimming the top}
7:00 AM library\text{7:00 AM library}
1.8 hours\htmlClass{lc-blue}{1.8}\text{ hours}
Random sample:\text{Random sample:}
every member gets\text{every member gets}
a fair shot\text{a fair shot}
4.5 hours, close to\htmlClass{lc-blue}{4.5}\text{ hours, close to}
4.6 hours\htmlClass{lc-violet}{4.6}\text{ hours}
Sampling Bias and Random Samples
Population\htmlClass{lc-violet}{\text{Population}}
15 million high schoolers\htmlClass{lc-violet}{\text{15 million high schoolers}}
4.6 hours\htmlClass{lc-violet}{4.6}\text{ hours}
Library at\text{Library at}
7:00 AM\text{7:00 AM}
Sample\htmlClass{lc-blue}{\text{Sample}}
500 kids\htmlClass{lc-blue}{\text{500 kids}}
Text solution
Look at how the sample was chosenCheck who the selection method favors or leaves out before judging the sample's final number.
Survey at 7:00 AMin the school library⟶selects early-arrivingstudiers who use phones less\displaystyle \begin{aligned}&\text{Survey at 7:00 AM} \\ &\quad \text{in the school library} \\ &\longrightarrow \text{selects early-arriving} \\ &\quad \text{studiers who } \bias{\text{use phones less}}\end{aligned}
Check what happens when the method is repeatedA method is biased if repeating it consistently misses the true population value in the same direction rather than varying around it by chance.
Repeated 7:00 AM library samples⟶average around 1.8 hours(consistently belowthe true 4.6 hours)\displaystyle \begin{aligned}&\text{Repeated 7:00 AM library samples} \\ &\longrightarrow \text{average around } \meas{1.8}\text{ hours} \\ &\quad \text{(}\bias{\text{consistently below}} \\ &\quad \text{the true } \pop{4.6}\text{ hours)}\end{aligned}
Stir the population with a random sampleGive every member of the population an equal chance of being selected so sample results vary closely around the truth.
Random sample of 500 students⟶4.5 hours(unbiased: misses 4.6 hoursonly by normal chance)\displaystyle \begin{aligned}&\text{Random sample of } \meas{500\text{ students}} \\ &\longrightarrow \meas{4.5}\text{ hours} \\ &\quad \text{(unbiased: misses } \pop{4.6}\text{ hours} \\ &\quad \vary{\text{only by normal chance}}\text{)}\end{aligned}

When explaining why a sampling method is biased, don't just write "it isn't random." Name who is favored or left out, and state whether that pushes the estimate too high or too low.

Here is what happens when we take many samples of 500\meas{500} students using each method:

Random samples of 500 students land closely around the true average of 4.6 hours, while samples from the 7:00 AM library corner land far below it every time.
5

Evaluating a Study from Start to Finish

Now we can put every piece together to evaluate a complete study: checking whether the question is a valid investigative question, identifying the population and sample, and checking the sampling method for bias.

Evaluating a Study from Start to Finish
Downtown skatepark\text{Downtown skatepark}
Do a majority of adult residents\text{Do a majority of adult residents}
in our city support spending tax\text{in our city support spending tax}
money on a downtown skatepark?\text{money on a downtown skatepark?}
Text solution
Check the investigative question against the three rulesVerify that the question names the population, the variable, and the overall pattern.
“Do a majority⏟pattern of adult residents in our city⏟populationsupport spending tax moneyon a downtown skatepark⏟variable?”\displaystyle \begin{aligned}&\text{``Do } \vary{\underbrace{\text{a majority}}_{\text{pattern}}} \text{ of } \\[6pt] &\pop{\underbrace{\text{adult residents in our city}}_{\text{population}}} \\[6pt] &\meas{\underbrace{\begin{aligned}&\text{support spending tax money} \\ &\text{on a downtown skatepark}\end{aligned}}_{\text{variable}}}\text{?''}\end{aligned}
Separate the population from the sampleIdentify the whole group the question asks about and the smaller group actually measured.
All 100,000 adult residentsin the city⏟Population (too large for a census)⟶300 adult residentswho answered the survey⏟Sample\displaystyle \begin{aligned}&\pop{\underbrace{\begin{aligned}&\text{All } 100{,}000\text{ adult residents} \\ &\text{in the city}\end{aligned}}_{\text{Population (too large for a census)}}} \\[6pt] &\longrightarrow \meas{\underbrace{\begin{aligned}&\text{300 adult residents} \\ &\text{who answered the survey}\end{aligned}}_{\text{Sample}}}\end{aligned}
Check the sampling method for biasAsk whether the way people were chosen consistently pushes the result in one direction.
Survey sign insidea skateboard shop⟶92% yes(biased: consistentlyoverestimates support)\displaystyle \begin{aligned}&\text{Survey sign inside} \\ &\quad \text{a skateboard shop} \\ &\longrightarrow \meas{92\%}\text{ yes} \\ &\quad \text{(}\bias{\text{biased: consistently}} \\ &\quad \bias{\text{overestimates}}\text{ support)}\end{aligned}

So even though the city council wrote a good investigative question, surveying people inside a skateboard shop makes the 92%\meas{92\%} result unusable as an estimate for the whole city.

Key concepts

Every statistical study starts with an investigative question about a population, the whole group you want to learn about (like all 15 million\pop{15\text{ million}} U.S. high schoolers). A single fact that doesn't vary isn't an investigative question (one brother's 5.2 hours\meas{5.2}\text{ hours} of screen time can just be looked up), and the question is never about your sample (you already have the numbers for those 500\meas{500} students). Instead, a valid investigative question always names the population, the variable(s), and the overall pattern. It can summarize one variable ("What is the typical daily screen time for U.S. high school students?"), compare groups ("Do U.S. high school seniors typically have more daily screen time than freshmen?"), or ask about a relationship between two variables ("Among U.S. high school students, is there a relationship between daily screen time and hours of sleep per night?").

Once the question is set, decide how to collect the data. If the whole population is small, right in front of you, and unharmed by measuring (like 28\pop{28} students in a third-period class or 12\pop{12} varsity players), don't take a sample. Just measure everyone in a census. When the population is huge (100,000\pop{100{,}000} city residents) or ruined by testing (draining AA batteries or crushing grapes), pull a sample, the smaller group you actually measure (500\meas{500} students). Judge a sample by how it was chosen, not by whether its final number hit the exact population truth. A random sample gives every member of the population an equal chance of being picked, so its result (4.5 hours\meas{4.5}\text{ hours}) lands close to the true population value (4.6 hours\pop{4.6}\text{ hours}). A biased method (like surveying the library at 7:00 AM or putting a skatepark survey in a skateboard shop) favors one part of the population and pushes the result in the same wrong direction every time.

6

Practice

1

A quality-control engineer at a factory wants to know the average lifespan of all 50,00050{,}000 LED lightbulbs produced this week. She selects 200200 bulbs from the week's production and runs them continuously until they burn out, finding an average lifespan of 24,800 hours24{,}800\text{ hours}. Identify the population and the sample in this study.

Which group is the engineer trying to learn the truth about, and which group did she actually test?

The population is all 50,000\pop{50{,}000} LED lightbulbs produced at the factory this week. The sample is the 200\meas{200} lightbulbs that the engineer actually selected and tested. (Watch out for calling "24,800 hours\meas{24{,}800}\text{ hours}" the sample or saying the population is "all LED lightbulbs ever made." Both the population and the sample are groups of lightbulbs from this week's batch, while 24,800 hours\meas{24{,}800}\text{ hours} is the average calculated from the sample.)
2

For each scenario, decide whether the researcher should use a census or a sample, and explain why. (a) A PE teacher wants to know the average mile-run time of the 24\pop{24} students in his first-period class. (b) The factory engineer from Problem 1 wants to know the average lifespan of all 50,000\pop{50{,}000} LED lightbulbs produced this week by running bulbs until they burn out.

How hard is it to measure every member in each group, and what happens to a lightbulb when you test its lifespan?

(a) A census, because the population has only 24\pop{24} students who are all right there in the same class, making it quick and easy to measure every member. (b) A sample, both because testing 50,000\pop{50{,}000} bulbs is too large a task and because testing destroys each bulb. A census would leave zero working lightbulbs to sell. (In part (b), don't stop at saying 50,000\pop{50{,}000} is a big number; even if the factory could test all 50,000\pop{50{,}000} bulbs at once, burning out every bulb in a census would destroy the entire week's production.)
3

A student curious about caffeine habits considers two questions: (A) "Are college students hooked on caffeine?" (B) "How many milligrams of caffeine did my roommate drink yesterday?" Explain why neither works as an investigative question, then rewrite the topic as a valid one-variable investigative question using the three-step checklist.

Check which question is too vague to measure and which one has no variation, then combine a specific group, a measurable daily amount, and a word like "typical" or "average" to summarize the group.

Question A is too vague because "hooked" and which college students are meant are not clearly defined or measurable. Question B asks for a single fact about one person rather than a pattern across a group where the numbers vary. (When rewriting the question, don't just ask "How many milligrams of caffeine do U.S. college students drink per day?" without a word like "typical" or "average." Leaving out the pattern word doesn't say how to summarize the different amounts across students.) A valid investigative question is: "What is the typical daily caffeine intake, in milligrams, for full-time college students in the United States?"
4

A biologist selects a sample of 6060 trout from Blue Lake and records each fish's weight (in grams), age group (juvenile or adult), and swimming depth (in meters). (a) On her lab report, she writes the investigative question: "Do the adult trout in my sample of 6060 fish typically weigh more than the juvenile trout?" What rule did she break, and how should she fix the question? (b) Using the same population and variables, write an investigative question that looks for a relationship between two numerical variables.

For (a), ask which group of fish the biologist actually wants to learn the truth about; for (b), pick the two variables measured in numbers rather than categories.

(a) She broke the rule that an investigative question must always ask about the population, never the sample (she already has the numbers for the 60\meas{60} fish right in front of her). She should fix it to ask about the population: "Among all trout in Blue Lake, do adult trout typically weigh more than juvenile trout?" (b) (Make sure not to use "age group (juvenile or adult)" here. Age group is a category used for comparing groups, whereas a relationship between two numerical variables must pair weight in grams with swimming depth in meters.) "Among all trout in Blue Lake, is there a relationship between a trout's weight in grams and its swimming depth in meters?"
5

A grocery store manager wants to answer the investigative question: "What is the typical dollar amount spent per visit by all customers who shop at this store?" To get a sample, he records the receipt totals of 150\meas{150} customers checking out in the "10 Items or Fewer" express lane. Is this sampling method biased? Explain why or why not, and state which direction it pushes the result.

Who checks out in the "10 Items or Fewer" lane, and how do their receipt totals compare to shoppers with full carts?

Yes, the sampling method is biased. (Don't get fooled into thinking 150\meas{150} customers makes the sample unbiased; collecting more receipts from the express lane only gives you a bigger pile of small purchases.) Customers in the "10 Items or Fewer" express lane are buying only a few items, so choosing the sample only from that lane will consistently underestimate the true typical amount spent by all customers at the store every time the method is used.
6

The true average commute time for all 40,000\pop{40{,}000} working adults in a town is 26.0 minutes\pop{26.0}\text{ minutes}. Researcher A selects a random sample of 400\meas{400} working adults from a complete town list and finds a sample average of 25.2 minutes\meas{25.2}\text{ minutes}. Researcher B surveys 400\meas{400} working adults boarding an express commuter train to a distant city and finds a sample average of 54.0 minutes\meas{54.0}\text{ minutes}. A student argues, "Both sampling methods are biased because neither sample got the true 26.0 minutes\pop{26.0}\text{ minutes}." Explain what is wrong with the student's reasoning.

Does "biased" mean a single sample missed 26.0 minutes\pop{26.0}\text{ minutes}, or does it describe what happens when a selection method is repeated over and over?

Bias describes how a sample was chosen, not whether a single sample missed the true population value by chance. (Don't say Researcher A's method is unbiased just because 25.2\meas{25.2} is close to 26.0\pop{26.0}; it is unbiased because every working adult on the town list had an equal chance of being picked.) Missing 26.0 minutes\pop{26.0}\text{ minutes} by a small amount (getting 25.2 minutes\meas{25.2}\text{ minutes}) is normal random variation from one sample to the next. Researcher B's method is biased because sampling only long-distance train commuters consistently pushes the average commute time way too high every time.