Find a course

Module 1: Data, Questions and SamplesLesson 1 of 912 min

Statistical Questions and Types of Data

Learn what makes a question statistical, tell populations from samples, and classify data as categorical or quantitative, discrete or continuous.

Step 1 of 13Learn

Questions that expect variety

"How tall am I?" has one answer. You grab a tape measure and you're done. "How tall are the students in my grade?" is different. The answers vary from student to student, and to answer it you need to collect many measurements and summarize them.

That's the difference between an ordinary question and a statistical question: a statistical question anticipates variability in the answers. Statistics is the science of collecting, organizing, summarizing and interpreting data so you can answer questions like that, even when the data is messy.

Examples of statistical questions:

  • How many hours of sleep do students at my school get on a school night?
  • Which streaming service do teens in our town use most?
  • Do students who eat breakfast score higher on morning quizzes?

Not statistical: "How many hours did I sleep last night?" or "What time does the first bell ring?" Each has a single fixed answer.

Everything in this course, from averages to box plots to correlation, is a tool for answering statistical questions honestly.

Step 2 of 13Practice · Sort into groups

Sort each question: is it a statistical question?

Tap an item, then tap its group (or drag it there).

Step 3 of 13Practice · Chart

Heights of 60 ninth graders

This is what "expecting variety" looks like. One student has one height, but a whole grade spreads out over a range, so you need statistics to describe it.

Tap the height range that is most common in this grade.

Tap the bar that answers the question, then press Check.

Heights of 60 ninth gradersBar chart with 7 categories: 145–149: 3; 150–154: 7; 155–159: 12; 160–164: 15; 165–169: 11; 170–174: 8; 175–179: 4.051015Number of students145–149150–154155–159160–164165–169170–174175–179Height (cm)3712151184
Illustrative data for teaching.
Heights of 60 ninth graders
Height (cm)Students
145–1493
150–1547
155–15912
160–16415
165–16911
170–1748
175–1794

Step 4 of 13Learn

Populations, samples and variables

Suppose your school has 1,200 students and you want to know how much they sleep. The population is the entire group you want to learn about: all 1,200 students. Asking every one of them is a census, and it's usually too slow or expensive.

Instead you ask a sample, a smaller group taken from the population, say 80 students. You then use the sample to draw conclusions about the population. A number that describes a sample (like the average sleep of your 80 students) is a statistic. The matching number for the whole population, which you usually never know exactly, is a parameter.

The people or things you collect data about are individuals (or cases). Each characteristic you record is a variable: hours of sleep, grade level, whether they have a phone in their bedroom. One student gives you one value for each variable.

A handy memory trick: sample goes with statistic, population goes with parameter.

Step 5 of 13Practice · Match the pairs

A researcher surveys 150 randomly chosen voters in a city of 90,000 voters and finds that 58% support a new park. Match each term to its meaning here.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. Population
  2. Sample
  3. Statistic
  4. Parameter

Step 6 of 13Practice · Diagram

From population to conclusion

Which box is the number you actually calculate from your data?

Tap the shape that answers the question, then press Check.

From population to conclusionProcess diagram: Population → Random sample → Collect data → Statistic → Estimate the parameter.PopulationRandom sampleCollect dataStatisticEstimate theparameter
Population

Everyone you want to learn about, e.g. all 1,200 students. Its true average is a parameter.

Random sample

A smaller group chosen fairly, e.g. 100 students.

Collect data

Measure the variable for each person in the sample.

Statistic

A number computed from the sample, like a sample mean of 7.1 hours.

Estimate the parameter

Use the statistic as an educated guess about the whole population.

Step 7 of 13Learn

Categorical vs. quantitative data

Variables come in two main kinds, and the kind decides which graphs and summaries make sense.

Categorical (or qualitative) variables place individuals into groups or labels: eye color, favorite music genre, type of pet, yes/no answers. You can count how many fall in each category, but you can't average them. What would the "average eye color" be?

Quantitative (or numerical) variables are numbers that measure or count something, where arithmetic makes sense: height, test score, minutes of screen time, number of siblings.

Quantitative variables split further:

  • Discrete: countable values with gaps between them, usually whole numbers. Number of siblings, goals scored, cars in a parking lot.
  • Continuous: can take any value in a range, limited only by how precisely you measure. Height, weight, time, temperature.

A trap: some numbers are really labels. ZIP codes, jersey numbers and phone numbers are categorical, because averaging them is meaningless. Ask yourself, "Does adding or averaging these make sense?" If not, it's categorical.

Step 8 of 13Practice · Sort into groups

Classify each variable.

Tap an item, then tap its group (or drag it there).

Step 9 of 13Practice · Diagram

Kinds of variables

A new variable: "liters of water a family uses per day." Tap the branch it belongs on.

Tap the shape that answers the question, then press Check.

Kinds of variablesHierarchy diagram: Variable, Categorical, Eye color, Favorite song, Quantitative, Discrete (counted), Goals scored, Continuous (measured), Backpack weight.VariableCategoricalEye colorFavorite songQuantitativeDiscrete(counted)Goals scoredContinuous(measured)Backpack weight
Variable
Categorical

Groups or labels. Summarize with counts and percents.

Eye color
Favorite song
Quantitative

Numbers where arithmetic makes sense.

Discrete (counted)

Whole-number counts with gaps between possible values.

Goals scored
Continuous (measured)

Any value in a range, limited only by how precisely you measure.

Backpack weight

Step 10 of 13Note

Step 11 of 13Practice · True or false

A sample statistic and the population parameter it estimates are usually exactly equal.

Step 12 of 13Practice · Choose one

Which of these is a quantitative continuous variable?

Step 13 of 13Practice · Choose one

A student wants to know the average time students at her school spend on homework each night. She asks 60 students. What is the population?