Unit 1 · Topic 1.2 · about 15 minutes
Variables
Read any study and say what was measured, on whom, and whether a number describes the sample or the whole population.
Predict first
A school surveys 80 randomly chosen students and finds that 35% of them have a part-time job. Who does the 35% describe?
Who was measured, and what
Every data set starts with two questions. Who or what did the data come from, and what was recorded about each one?
The individuals that data are collected from are the observational units. They can be people, but they can also be dogs, cities, days, phones or tweets. A variable is a characteristic recorded for each unit that can change from one unit to the next.
Suppose a gym records, for each member: membership type, number of visits last month, age, and how far the member lives from the gym. The members are the observational units. Membership type, visits, age and distance are four variables.
Data does not have to be a number typed into a spreadsheet. Photos, sound clips, videos and text can all be recorded for each unit and carry real information.
Categorical or quantitative
A categorical variable puts each unit into a group: blood type, favorite streaming service, whether a patient improved. A quantitative variable is a measured or counted amount, and it usually has units: dollars, minutes, siblings.
The quick test is to ask whether an average would make sense. The average number of siblings means something. The average zip code does not, because a zip code is a label that happens to be written with digits. Numbers that name things, like jersey numbers and area codes, are categorical.
Sort it
Tap a variable, then tap the bin it belongs in. When every card is placed, the lab checks them.
Categorical
Quantitative
Discrete or continuous
Quantitative variables come in two kinds. A discrete variable takes values you can count off one by one, like the number of goals in a game or the number of apps on a phone. A continuous variable can take any value in an interval, like time, height or weight.
Rounding does not change the kind of variable. A mile time recorded to the nearest second is still continuous: the time itself could be 7 minutes 31.4 seconds, and only the measurement was rounded.
Parameter or statistic
A parameter describes a whole population, and it is usually unknown. A statistic describes a sample, and you can calculate it from your data. One way to remember: parameter goes with population, statistic goes with sample.
The notation keeps them apart too. A population proportion is and a sample proportion is . A population mean is and a sample mean is . A statistic from one sample will usually miss the parameter by a little, and a different sample would give a different value. Measuring that wobble is what Units 2 through 4 are for.
Worked exampleNaming the parts of a study
A city transit office randomly selects 300 riders of its Route 9 bus and asks each one how many minutes they waited for the bus and whether they would recommend Route 9 to a friend. Of the 300 riders, 41% say they would recommend it.
Observational units: the 300 Route 9 riders who were surveyed.
Variables: wait time in minutes (quantitative, continuous) and whether the rider would recommend Route 9 (categorical).
Statistic: 41%, the proportion of the 300 sampled riders who would recommend Route 9. It is .
Parameter: the proportion of ALL Route 9 riders who would recommend it. It is unknown, and it is the thing the office actually wants.
The 41% is a statistic. The office will use it to estimate the parameter, the proportion for all Route 9 riders.
Check your understanding
A shelter volunteer weighs 50 randomly selected dogs at the shelter. What are the observational units?
A phone survey records four things about each person who answers. Which one is a categorical variable?
Which of these quantitative variables is continuous?
A company's human resources office uses its records for all 2,312 employees and finds that their mean age is 41.3 years. The value 41.3 is
A nutrition study records four things about each of 200 adults. Select the two quantitative variables.
Select 2 answers, then check.
Course alignment, for teachers
AP Statistics topic 1.2, Unit 1: Exploring One-Variable Data and Collecting Data.
- Skill 2.A: Identify information to answer a question or solve a problem.