Mathfolis

Variable Types

Unit 1 · Exploring One-Variable Data

What AP Stats asks here

Every statistical analysis starts with one decision: is the variable categorical or quantitative? That decision drives every visualization and summary statistic downstream. The classic AP trap is the numeric label — zip codes, student IDs, and jersey numbers look quantitative but are categorical because averaging them is scientifically meaningless.

Two top-level types

Categorical
groups or labels; no inherent measurement\text{groups or labels; no inherent measurement}
Quantitative
numeric, measurable\text{numeric, measurable}

Subtypes

Quantitative — discrete
countable integers (number of siblings)\text{countable integers (number of siblings)}
Quantitative — continuous
any value in an interval (weight, time)\text{any value in an interval (weight, time)}
Categorical — nominal
no order (eye color, country)\text{no order (eye color, country)}
Categorical — ordinal
ranked (coffee size, movie rating)\text{ranked (coffee size, movie rating)}
AP Tip: Quick test for the numeric-label trap: would averaging the values be scientifically meaningful? Mean zip code 02141 does not describe anything; mean height does. If the mean is nonsense, the variable is categorical.
Caution: Discrete variables with many possible values (word counts 1–280) are strictly discrete but in practice analyzed with histograms and continuous-style summaries. Strict label and practical treatment can differ.
Type 1

Categorical vs quantitative

Apply the meaningful-arithmetic test. If the mean or sum of the values is scientifically interpretable, the variable is quantitative; otherwise categorical.

Example 1
A school assigns 4-digit student IDs (0142, 0143, 0144, …). A new analyst proposes computing the mean student ID to summarize the student body. How should student ID be classified? (A) Quantitative (continuous), because the IDs are numeric (B) Quantitative (discrete), because they are integers (C) Categorical, because the IDs are numeric labels with no measurement meaning (D) Both — depends on whether ranges are meaningful

Practice more of this type— AI-generated · always-new problems

Generate Problems →
Type 2

Discrete vs continuous

For a quantitative variable, ask whether the values are countable integers (discrete) or values in an interval bounded only by measurement precision (continuous).

Example 2
A traffic engineer records two variables over one hour at an intersection: (i) the number of cars passing through, and (ii) the speed of each car (mph). Which classification is correct? (A) Both discrete (B) (i) discrete, (ii) continuous (C) (i) continuous, (ii) discrete (D) Both continuous

Practice more of this type— AI-generated · always-new problems

Generate Problems →
Type 3

Nominal vs ordinal

For a categorical variable, decide whether the categories have a defensible ranking (ordinal) or are simply distinct labels (nominal).

Example 3
Classify each variable: coffee size (small/medium/large), country of birth, movie rating (G/PG/PG-13/R), phone brand (Apple/Samsung/Google/Other). Which choice classifies them correctly? (A) All nominal (B) Coffee size and movie rating ordinal; country of birth and phone brand nominal (C) Coffee size ordinal; the rest nominal (D) All ordinal because each category can be sorted somehow

Practice more of this type— AI-generated · always-new problems

Generate Problems →
Variable Types | AP Statistics — Mathfolis