Fatskills
Practice. Master. Repeat.
Study Guide: AP Statistics (AP Stats): Types of Variables (Categorical vs Quantitative, Discrete vs Continuous)
Source: https://www.fatskills.com/ap-statistics/chapter/ap-stats-ap-statistics-types-of-variables-categorical-vs-quantitative-discrete-vs-continuous

AP Statistics (AP Stats): Types of Variables (Categorical vs Quantitative, Discrete vs Continuous)

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~5 min read

AP Statistics – Types of Variables (Categorical vs Quantitative, Discrete vs Continuous)

AP Statistics Study Guide: Types of Variables (Categorical vs. Quantitative, Discrete vs. Continuous)

What This Is

This topic covers how to classify data into categorical (labels or groups) and quantitative (numerical measurements) variables, and further into discrete (countable) vs. continuous (measurable) quantitative variables. Mastering this is essential because the type of variable determines which statistical methods (graphs, tests, models) you can use. For example, if a researcher records whether patients improved ("yes" or "no") after a drug trial, this is categorical data, requiring a chi-square test or two-proportion z-test. If they measure blood pressure (a numerical value), this is quantitative, allowing for t-tests or regression analysis.


Key Terms & Formulas

  • Categorical Variable: Places individuals into groups or categories (e.g., gender, political party, "yes/no" responses). No numerical meaning.
  • Quantitative Variable: Takes numerical values for which arithmetic operations (like averaging) make sense (e.g., height, temperature, test scores).
  • Discrete Variable: A quantitative variable that takes a countable number of values (e.g., number of siblings, cars in a parking lot). Often whole numbers.
  • Continuous Variable: A quantitative variable that can take any value in an interval (e.g., height, time, weight). Can include decimals.
  • Nominal Variable: A categorical variable with no inherent order (e.g., eye color, brand of cereal).
  • Ordinal Variable: A categorical variable with a meaningful order but no consistent numerical difference (e.g., survey ratings: "poor," "fair," "good," "excellent").
  • Identifier Variable: A categorical variable that uniquely identifies individuals (e.g., student ID, Social Security number). Not used for analysis.
  • Bar Chart: Used for categorical data; bars do not touch.
  • Histogram: Used for quantitative data; bars do touch.
  • Dotplot/Stemplot: Used for small quantitative datasets to show individual values.
  • Boxplot: Displays the five-number summary (min, Q1, median, Q3, max) for quantitative data.
  • TI-84 Command for Graphs:
  • Bar Chart: STAT PLOT-Type: Bar-Xlist: L1 (categories), Freq: L2
  • Histogram: STAT PLOT-Type: Histogram-Xlist: L1, Freq: 1
  • Boxplot: STAT PLOT-Type: Boxplot-Xlist: L1

Step-by-Step / Process Flow

How to Classify Variables in an AP FRQ:
1. Read the problem carefully and identify all variables mentioned.
2. Ask: "Does this variable measure a quantity (number) or a category (group)?" - If category-Categorical (nominal or ordinal). - If number-Quantitative (discrete or continuous).
3. For quantitative variables, ask: "Can this variable take any value in a range, or only specific counts?" - If countable (e.g., number of pets)-Discrete. - If measurable (e.g., weight, time)-Continuous.
4. Check for identifier variables (e.g., ID numbers) and exclude them from analysis.
5. Choose the correct graph/test based on the variable type: - Categorical-Bar chart, pie chart, two-way table, chi-square test. - Quantitative-Histogram, boxplot, dotplot, t-tests, regression.


Common Mistakes

  • Mistake: Treating ordinal data (e.g., survey ratings) as quantitative and calculating means. Correction: Ordinal data should be analyzed with medians or modes, not means, because the numerical differences between categories aren’t consistent.

  • Mistake: Assuming all numbers are quantitative (e.g., zip codes, jersey numbers). Correction: These are categorical because arithmetic operations (like averaging) don’t make sense.

  • Mistake: Confusing discrete and continuous (e.g., calling "time to complete a race" discrete). Correction: Time is continuous because it can take any value (e.g., 12.345 seconds). Discrete variables are counts (e.g., number of races won).

  • Mistake: Using a histogram for categorical data. Correction: Histograms are for quantitative data. Use a bar chart for categorical data.

  • Mistake: Ignoring identifier variables in analysis. Correction: Variables like student ID or license plate numbers are not used for statistical analysis.


AP Exam Insights

  • Tricky Distinction: The AP exam loves testing whether a variable is categorical or quantitative. Watch for numbers that are actually categories (e.g., area codes, years as categories like "2020 vs. 2021").
  • Common FRQ Setup: You’ll often see a two-way table (categorical data) followed by a chi-square test or a quantitative variable with a t-test/regression.
  • Calculator Pitfall: If you try to make a histogram for categorical data, the TI-84 will give an error. Always confirm the variable type first!
  • Real-World Context: Expect questions like:
  • "Is ‘number of AP classes taken’ discrete or continuous?" (Discrete)
  • "Is ‘type of car’ categorical or quantitative?" (Categorical)

Quick Check Questions

  1. Multiple Choice: A researcher records the number of text messages sent per day by 50 high school students. This variable is:
  2. (A) Categorical
  3. (B) Quantitative and discrete
  4. (C) Quantitative and continuous
  5. (D) Ordinal Answer: (B) Quantitative and discrete. Number of text messages is a countable numerical value.

  6. FRQ Part: A study collects data on college majors and GPA of 200 students.

  7. (a) Classify each variable as categorical or quantitative.
  8. (b) Which graph would be appropriate for displaying the distribution of college majors? Answer:
  9. (a) College major = categorical; GPA = quantitative.
  10. (b) Bar chart (for categorical data).

  11. Multiple Choice: Which of the following is not a quantitative variable?

  12. (A) Height in inches
  13. (B) Number of siblings
  14. (C) Zip code
  15. (D) Temperature in °F Answer: (C) Zip code. Zip codes are categorical labels, not numerical measurements.

Last-Minute Cram Sheet

  1. Categorical = groups/labels (e.g., color, yes/no).
  2. Quantitative = numbers with meaning (e.g., height, time).
  3. Discrete = countable (e.g., number of books).
  4. Continuous = measurable (e.g., weight, temperature).
  5. Ordinal = categorical with order (e.g., survey ratings).
  6. Nominal = categorical with no order (e.g., eye color).
  7. Identifier variables (e.g., ID numbers) are not used in analysis.
  8. Bar chart = categorical; histogram = quantitative.
  9. Boxplots show five-number summary for quantitative data.
  10. Watch for numbers that are actually categories (e.g., area codes, jersey numbers).