
Data Collection and Sampling
Megan Ayers
Math 141 | Spring 2026
Wednesday, Week 3

😢 “I have no idea how to do this problem.”
→ Ask someone to point you to a similar example from the lecture or readings.
→ Talk it through with a course assistant, a fellow Math 141 student, or Megan so together we can verbalize the process of going from Q to A.
😡 “I am getting a weird error but really think my code is correct/on the right track/matches the examples from class.”
→ It is time for a second pair of eyes. Don’t stare at the error for over 10 minutes.
🤩 And lots of other times too! 😬
Remember:
→ Struggling is part of learning.
→ But let us help you ensure it is a productive struggle.
→ Struggling does NOT mean you are bad at stats, it actually means you are doing the work to learn the material!

Every statistical investigation should clearly identify and compare:
Key questions:

In a census, we have data on the entire population!
But usually, we don’t have the money, time, or ability to do this.

Instead, we use a sample of the population, and use the sample to draw conclusions about the population.

Key questions:

Sampling bias: When certain individuals are more likely to be sampled than others

Sampling bias: When certain individuals are more likely to be sampled than others
Q: Consider a telephone poll for an election - where might we get sampling bias?
The Literary Digest was a political magazine that correctly predicted the presidential outcomes from 1916 to 1932. In 1936, they conducted the most extensive (to that date) public opinion poll. They mailed questionnaires to over 10 million people (about 1/3 of US households) whose names and addresses they obtained from telephone books and vehicle registration lists.
Population of Interest:
Sample:
Sampling bias:
We want to know how Portlanders feel about a new coffee shop in Woodstock.
Q1: Can we conclude that a typical Portlander would rate this coffee shop at 3.5 stars?
Q2: What sources of bias are present in this sample?
Q3: A year later, the coffee shop still has 3.5 stars, but 1000 reviews. Does the verdict change?
Q4: A second coffee shop opens up nearby with a Yelp rating of 4 stars and 1000 reviews. Can we conclude Portlanders prefer the second restaurant to the first?
Use random sampling (a random mechanism for selecting cases from the population) to remove sampling bias.
We’ll explore 3 types of random sampling
Simple random sampling
Cluster sampling
Stratified random sampling
Motivating question: what is the average amount of student loan debt in Oregon?
Simple Random Sampling: Imagine that a unique ID for each student in the population is written on a slip of paper…

Motivating question: what is the average amount of student loan debt in Oregon?
Simple Random Sampling: Imagine that a unique ID for each student in the population is written on a slip of paper…

Consequences:
Q: Can a simple random sample be non-representative?
A: Yes, even if all goes as planned!
Q: Why aren’t all samples generated using simple random sampling?

Advantages:
Disadvantages:

Motivating question: what is the average amount of student loan debt in Oregon?
Stratified Random Sampling: “Strata” are made up of similar individuals, then simple random samples are taken from each stratum.

Stratified Random Sampling: “Strata” are made up of similar individuals, then simple random samples are taken from each stratum.
Advantages:
Disadvantages:

Motivating question: what is the average amount of student loan debt in Oregon?
Cluster Random Sampling: “Clusters” are non-homogeneous. We take a simple random sample of the clusters, and use all observations in those clusters as the sample.

Cluster Random Sampling: “Clusters” are non-homogeneous. We take a simple random sample of the clusters, and use all observations in those clusters as the sample.
Advantages:
Disadvantages:


Mission: “Assess the health and nutritional status of adults and children in the United States.”
How are these data collected?
Stage 1: US is stratified by geography and distribution of minority populations. Counties are randomly selected within each stratum.
Stage 2: From the sampled counties, city blocks are randomly selected. (City blocks are clusters.)
Stage 3: From sampled city blocks, households are randomly selected. (Households are clusters.)
Stage 4: From sampled households, people are randomly selected. For the sampled households, a mobile health vehicle goes to the house and medical professionals take the necessary measurements.
Why don’t they use simple random sampling?


“Good statistical practice is fundamentally based on transparent assumptions, reproducible results, and valid interpretations.” – Committee on Professional Ethics of the American Statistical Association (ASA)
The ASA has created “Ethical Guidelines for Statistical Practice”
→ These guidelines are for EVERYONE doing statistical work.
→ There are ethical decisions at all steps of the Data Analysis Process.
→ We will periodically refer to specific guidelines throughout this class.
“Above all, professionalism in statistical practice presumes the goal of advancing knowledge while avoiding harm; using statistics in pursuit of unethical ends is inherently unethical.”
“The ethical statistician protects and respects the rights and interests of human and animal subjects at all stages of their involvement in a project. This includes respondents to the census or to surveys, those whose data are contained in administrative records, and subjects of physically or psychologically invasive research.”
Why do you think the Age variable maxes out at 80?

“Protects the privacy and confidentiality of research subjects and data concerning them, whether obtained from the subjects directly, other persons, or existing records.”