7m left·0%
Reading Time: 7 min
Last Updated: August 12, 2026
Main Ideas: 5
Reading Time: 7 min
Last Updated: August 12, 2026
Main Ideas: 5

Topic 1.2 Notes – Variables

Verified for 2027 AP® Statistics Exam
Read aloud
This topic gives you the vocabulary for describing a data set correctly. You need to know what the observations are, what characteristics were recorded, what kind of variables those are, and whether a number describes a sample or an entire population.

What Observational Units, Variables, and Data Are

In any study, the observational unit is the thing each row is about. It could be a person, but it could also be a tree, a school, a day, a transaction, or even a city-day combination.

A variable is a characteristic recorded on each observational unit that can vary from one unit to another. A data value is one recorded result for one unit. A data set is the full collection.

A quick table reminder helps here. In a data table like this one, each row is one observational unit and each column is a variable recorded for that unit.

  • Rows usually represent observational units
  • Columns usually represent variables

A few easy traps:

  • The observational unit is not the person collecting the data. If a worker measures trees, the trees are the units.
  • Context decides the unit. One temperature per city means cities are units. One temperature per city per day can make each city-day one unit.
  • A characteristic can still be a variable even if every sampled unit happened to get the same value.
  • Something fixed for the whole study, like sample size or one common date, is not a variable measured on each unit.
  • Data does not have to be just numbers in a spreadsheet. It can include labels, photos, audio, video, and text.

Types of Variables

There are two main types first. Every variable is either categorical or quantitative.

Categorical variables

A categorical variable gives group labels or category names.

Examples:

  • blood type
  • eye color
  • school type
  • yes/no response

Some have two categories, so they are binary. Some have many. Some are ordered, like poor/fair/good, but they are still categorical because the gaps are not numerical amounts.

Students get fooled by numbers here all the time:

  • ZIP codes, ID numbers, jersey numbers, and codes like yes = 1, no = 2 are still categorical
  • Arithmetic on those labels means nothing

Quantitative variables

A quantitative variable gives a numerical amount from measuring or counting. Differences between values mean something in context.

Examples:

  • height in centimeters
  • number of absences
  • time in seconds

Usually, you should name the units too. The fastest check is this:

  • Count or measure → probably quantitative

Exact wording matters:

  • age in years completed → quantitative
  • exact age → quantitative
  • age groups like 0 to 17, 18 to 64, 65+ → categorical

Also, a proportion can come from categorical data and still be numerical. That does not make the original variable quantitative.

Types of Quantitative Variables

Once a variable is quantitative, split it into discrete or continuous.

Discrete quantitative variables

A discrete variable has countable possible values. It usually comes from counting.

Examples:

  • number of goals
  • number of complaints
  • number of defects

There are gaps. You can have 2 complaints or 3 complaints, but not 2.4 complaints.

Continuous quantitative variables

A continuous variable can take any value in an interval. It usually comes from measuring.

Examples:

  • height
  • mass
  • time
  • temperature

This comparison makes the difference easy to see. Counts land on separate whole-number values, and measurements can fill in the interval between them.

Rounding does not usually change the type. If time is recorded to the nearest tenth, the underlying variable is still continuous.

Wording controls the type:

  • number of completed minutes → discrete
  • exact elapsed time → continuous

Parameters and Statistics

A parameter is a numerical summary of a population. A statistic is a numerical summary of a sample.

Common notation:

  • population proportion pp
  • sample proportion p^\hat{p}
  • population mean μ\mu
  • sample mean xˉ\bar{x}
  • population standard deviation σ\sigma
  • sample standard deviation ss

The same calculation can be either one. The difference is who it describes.

  • Mean of all students in a school → parameter
  • Mean of 100 sampled students → statistic

A parameter is fixed for that population and time, even if unknown. A statistic changes from sample to sample and is used to estimate the parameter.

Also important:

  • It must be numerical to be a parameter or statistic
  • One single observed value is just a data value
  • A census of the whole population gives parameters

How to Identify Everything in a Study

When you read a study, move through it in this order:

  1. Name the population and sample, if given.
  2. Ask what each row or case represents. That gives the observational unit.
  3. List each characteristic recorded on that unit. Those are the variables.
  4. Classify each variable as categorical or quantitative.
  5. If quantitative, decide discrete or continuous.
  6. For any summary number, decide whether it describes a sample or the whole population.

Wording clues help:

If you see...Think...
all, every, entire population, true populationparameter
sample, surveyed, selected, observedstatistic

Common mistakes:

  • mixing up the unit with the data collector
  • calling a digit label quantitative
  • calling one observed value a statistic
  • ignoring exact wording
  • treating a huge sample as the population when it is still only a sample

Key Takeaways

The observational unit is the thing each full set of data describes, not the person or tool collecting the data.
Numbers do not automatically mean quantitative because codes like ZIP codes and ID numbers are categorical labels.
The fastest variable test is whether the value measures or counts an amount in context.
Ordered categories such as poor, fair, and good are still categorical.
A rounded measurement is usually still continuous because the underlying variable can take any value in an interval.
A parameter describes a population and a statistic describes a sample, even if the same formula is used.
One recorded value for one unit is a data value, not a statistic.
A census produces parameters because it includes the entire population.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining