Skip to main content

1.2 Variables

add to ChatGPT
Verified for the 2027 examUpdated October 2026Fiveable Content Team
Fiveable

📊AP Statistics Unit 1 Review

QR code for AP Statistics practice questions

1.2 Variables

TLDR

A variable is any characteristic that changes from one individual to another, and your first job in AP Statistics is sorting variables into categorical (group labels) or quantitative (numerical measurements or counts). Get this right and the rest of Unit 1 falls into place, because the type of variable decides which tables, graphs, and summaries you can use.

Every data problem on the exam starts with knowing what kind of variable you have, and the choice of procedure in all nine units depends on that call. Misread a categorical variable as quantitative and you may look for a mean that has no meaning or pick the wrong graph.

Classifying Variables as Categorical or Quantitative

  • A variable is a characteristic that changes from one individual to another.
  • Categorical variables take on category names or group labels (like dominant hand or highest degree earned).
  • Quantitative variables take on numerical values for something measured or counted (like height, age, or concentration of a sample).
  • Watch for numbers that are actually labels. A zip code or jersey number is categorical even though it looks numerical.
  • Always state the variable and its type in context, including units when the variable is quantitative.

Categorical vs. Quantitative Variables

A variable is a characteristic that changes from one individual to another. The individuals can be people, animals, objects, or anything else you collect information about. Each one is an observational unit: an individual or item from which a single data value is gathered. The values a variable takes on are your data. Data can carry meaningful information in many forms, including numbers, text, videos, sounds, and photographs, recorded for each observational unit. A parameter is a numerical summary of a variable for a whole population, and a statistic is a numerical summary of a variable for a sample. The value of a statistic often differs from the population parameter, whose value is unknown, but the statistic can still be used to draw inferences about the parameter.

Variables split into two main types:

  • Categorical variables take on values that are category names or group labels. These do not have a meaningful numerical value. Examples from the course: dominant hand, age group (young or old), and highest degree earned. Other everyday examples are eye color, marital status, and political party.
  • Quantitative variables take on numerical values for something measured or counted. Examples from the course: age of a structure, height of a child, and concentration of a sample. Other examples are weight, income, and number of siblings.

The type of variable controls what you can do with the data. You can find an average height (quantitative), but it makes no sense to average eye colors (categorical). Choosing the right table, graph, or summary later in Unit 1 depends entirely on getting this classification right.

A Useful Check

Ask yourself: do the values describe a group or measure an amount?

  • Group or label, no meaningful average: categorical.
  • Number from measuring or counting, average makes sense: quantitative.

Quantitative variables come in two kinds. A discrete quantitative variable has possible values that can be counted, either a finite list or a countably infinite one like the whole numbers. Number of siblings and number of job-related injuries are discrete. A continuous quantitative variable can take infinitely many values within a given interval, and between any two of its values it can take every value in between. Its possible values can be measured but not counted. Height, weight, and concentration of a sample are continuous.

Be careful with numbers that are really labels. A team jersey number, an area code, or a survey code like 1 = yes and 2 = no looks numerical but is still categorical because the numbers stand for groups, not amounts.

Worked Example

Transportation Safety

The table shows the number of job-related injuries in several transportation industries in 1998.

IndustryNumber of injuries
Railroad4520
Intercity bus5100
Subway6850
Trucking7144
Airline9950

1. What variables are we studying?

There are two variables: type of industry and number of injuries.

2. Classify each variable as categorical or quantitative.

Type of industry is categorical, because the values are names of transportation industries. Number of job-related injuries is quantitative, because the values are counts.

3. Interpret the data in context.

Railroad has the fewest job-related injuries, and airline has the most (more than twice the railroad total). Subway and trucking are fairly close to each other.

4. Railroad shows the fewest injuries. Does that mean railroads are the safest?

Not necessarily. The count alone does not tell the whole story. Railroads may employ fewer people than the other industries, so a smaller number of injuries could just reflect a smaller workforce. To compare safety fairly, you would want a rate, like injuries per worker, not just a raw count.

That last point is the real lesson: a number only has meaning in context. Always look at what the data represent and how the groups compare before drawing a conclusion.

Classifying Variables and Stating Them in Context

MCQ:

  • Read the variable description carefully, then decide group label or measured number.
  • Don't be tricked by numbers used as labels. Codes and ID numbers are categorical.
  • If a question asks which graph or summary fits, first classify the variable, since that limits your options.

Free Response:

  • Name the variable in context before you describe or analyze it.
  • For quantitative variables, include units when you state values.
  • When you justify a claim, point to what the data actually represent, not just the raw numbers.

Common Trap:

  • Treating something like a count as automatically meaning "safe" or "good." A raw count without a denominator (like per worker or per mile) can be misleading. Mention rates when a fair comparison needs one.

Common Misconceptions

  • Misconception: All numbers are quantitative.
    Actually: Not true. Zip codes, jersey numbers, and yes/no codes are numerical-looking but categorical, because the numbers are labels, not measured amounts.
  • Misconception: Categorical means non-numerical text only.
    Actually: Categorical variables can be coded with numbers. What matters is whether the values represent groups.
  • Misconception: The variable is the data.
    Actually: The variable is the characteristic; the data are the values it takes on across individuals.
  • Misconception: A bigger or smaller count automatically means better or worse.
    Actually: Counts need context. Compare with rates or proportions when group sizes differ.
  • Misconception: You can always find a mean.
    Actually: You can only average quantitative data. Averaging categories has no meaning.

Practice Questions for 1.2

1 of 10

A customer service manager at a large online retailer with millions of customers reviewed a sample of recent customer support tickets. The bar chart above shows the data collected from the sample.

Based on the bar chart, which of the following correctly identifies the variable of interest in this statistical study?

A.

The millions of customers who shop at the online retailer

B.

The 300 customer support tickets in the sample

C.

The frequency of each type of customer support issue

D.

The type of customer support issue reported

Vocabulary

The following words are mentioned explicitly in the AP® course framework for this topic.

Term

Definition

categorical variable

A variable that takes on values that are category names or group labels rather than numerical values.

quantitative variable

A variable that is measured numerically and can take on a range of values, allowing for mathematical operations and statistical analysis.

variable

A characteristic that changes from one individual to another in a set of data.

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google