Skip to main content

Confounding Variable in AP Statistics

In AP Statistics, a confounding variable is a variable related to the explanatory variable that also affects the response variable, so you can't tell whether changes in the response came from the explanatory variable or from the confounder.

This definition is part of Fiveable's AP Statistics review, which also has guided practice questions.

Verified for the 2027 AP Statistics exam•Last updated October 2026•Fiveable Content Team

What is Confounding Variable?

A confounding variable is a third variable that gets tangled up with the variable you're studying. It is connected to the explanatory (independent) variable, and it also influences the response (dependent) variable. Because of that double connection, its effect and the explanatory variable's effect get mixed together. You can't pull them apart.

Here's the classic picture. Say people who walk more have lower cholesterol. Maybe walking lowers cholesterol. Or maybe people who walk more also eat healthier, and diet is what's really lowering cholesterol. Diet is a confounding variable. It's linked to walking (healthy walkers tend to eat well) and to cholesterol (diet affects cholesterol). Think of a confounder as an uninvited guest who shows up with your explanatory variable every time, so you never know which one deserves the credit.

Why Confounding Variable matters in AP® Statistics

Confounding lives in Topic 1.13 Experimental Design, and it's the whole reason experimental design exists. Every design tool you learn is basically a strategy for beating confounders. Random assignment spreads unknown confounders evenly across treatment groups. Blocking and matched pairs control for confounders you already suspect. Control groups give you a fair comparison.

It also drives one of the biggest ideas in AP Stats, which is the difference between association and causation. Observational studies can't rule out confounding, so they can only show association. A well-designed randomized experiment can support a cause-and-effect conclusion. If you understand confounding, you understand why the exam keeps asking "Can you conclude causation here?"

Keep studying AP® Statistics Unit 1

How Confounding Variable connects across the course

Randomization (Unit 1)

Random assignment is your main weapon against confounding. You can't measure every possible confounder, but randomly assigning treatments tends to spread them evenly across groups. Any leftover difference in the response is then most plausibly due to the treatment.

Matched Pairs Design and Blocking (Unit 1)

When you already suspect a specific confounder, like nutrition in an athletic training study, you don't just hope randomization handles it. You block on it, or pair similar units, so that variable is held roughly constant within each comparison.

Explanatory and Response Variables (Unit 1)

A confounder is defined by its relationship to these two. It has to connect to the explanatory variable and affect the response. If it only touches one of them, it isn't confounding anything.

Statistically Significant (Inference units)

A statistically significant result tells you the difference is unlikely to be due to chance alone. It does not tell you the difference is due to the treatment. In an observational study, a significant result could still be driven entirely by a confounder.

Is Confounding Variable on the AP® Statistics exam?

Confounding shows up in both multiple choice and free response, almost always tied to study design.

Multiple choice. Expect stems like "Which design technique would best address this potential confounding variable?" (the answer is often blocking), or questions asking what a completely randomized design accomplishes. You'll also see questions about why random assignment matters and what conclusions a study allows.

Free response. Released FRQs have built questions around contexts where confounding is the key issue. These include 2021 Q2 (a year-long study of walking and cholesterol in adults), 2021 Q6 (baseball game attendance over 47 years), 2022 Q6 (comparing allergy treatment success at two clinics using samples of patient records), and 2023 Q2 (whether adding fibers to concrete reduces driveway cracking). The recurring tasks are:

  • Identify a plausible confounder in context. Name a specific variable, not "other factors."
  • Explain BOTH links. Say how it relates to the explanatory variable AND how it affects the response. Missing one link is the most common way to lose credit.
  • Judge the conclusion. Explain why an observational study (like comparing two clinics' records) can't establish causation, and how a randomized experiment would fix that.
  • Propose a fix. Describe random assignment or blocking to control the confounder.

Confounding Variable vs Lurking Variable

The two get used loosely, but there's a useful distinction. A lurking variable is any variable not included in the study that might explain an observed relationship, often because it drives both variables. A confounding variable is one whose effect on the response is mixed up with the explanatory variable's effect, so you can't separate them. On the AP exam, the safe move is to skip the label debate and clearly explain how the variable connects to both the explanatory and response variables.

Key things to remember about Confounding Variable

  • A confounding variable is related to the explanatory variable and also affects the response variable, so their effects can't be separated.

  • To describe a confounder on an FRQ, you must name a specific variable and explain its link to both the explanatory variable and the response.

  • Random assignment in an experiment helps balance confounding variables across treatment groups, which is what allows a cause-and-effect conclusion.

  • Blocking or a matched pairs design controls a specific confounder you already suspect, such as nutrition in a training study.

  • Observational studies cannot rule out confounding, so they can show an association but not causation.

  • A statistically significant result does not prove the explanatory variable caused the effect if confounding is possible.

Frequently asked questions about Confounding Variable

What is a confounding variable in AP Stats?

It's a variable that is related to the explanatory variable and also affects the response variable. Because of that, you can't tell which one actually caused the change in the response.

Does random assignment completely eliminate confounding variables?

Not completely. Random assignment tends to balance confounders across treatment groups, both ones you know about and ones you don't, so their effects roughly cancel out. That's why a randomized experiment can support causation even though no single group is perfectly identical to another.

How is a confounding variable different from a lurking variable?

A lurking variable is any unmeasured variable that might explain a relationship. A confounding variable specifically has its effect mixed up with the explanatory variable's effect on the response. On the exam, what earns credit is explaining the variable's connection to both the explanatory and response variables.

How do you explain a confounding variable on an AP Stats FRQ?

Name a specific variable in context, then explain how it's linked to the explanatory variable and how it affects the response. For example, in a walking and cholesterol study, diet works because people who walk more may eat healthier, and diet affects cholesterol.

Can an observational study prove causation if the result is statistically significant?

No. Significance only means the result is unlikely to be due to chance, but a confounding variable could still be responsible. Comparing records from two allergy clinics, for instance, can't show one clinic causes better outcomes, because patients weren't randomly assigned.