Confounding Variables | Definition, Examples & Controls

In research that investigates a potential cause-and-effect relationship, a confounding variable is an unmeasured third variable that influences both the supposed cause and the supposed effect.

It’s important to consider potential confounding variables and account for them in your research design to ensure your results are valid. Left unchecked, confoudning variables can introduce many research biases to your work, causing you to misinterpret your results.

What is a confounding variable?

Confounding variables (a.k.a. confounders or confounding factors) are a type of extraneous variable that are related to a study’s independent and dependent variables. A variable must meet two conditions to be a confounder:

  • It must be correlated with the independent variable. This may be a causal relationship, but it does not have to be.
  • It must be causally related to the dependent variable.
Example of a confounding variable
You collect data on sunburns and ice cream consumption. You find that higher ice cream consumption is associated with a higher probability of sunburn. Does that mean ice cream consumption causes sunburn?

Here, the confounding variable is temperature: high temperatures cause people to both eat more ice cream and spend more time outdoors under the sun, resulting in more sunburns.

Example of a confounding variable

Here's why students love Scribbr's proofreading services

Discover proofreading & editing

Why confounding variables matter

To ensure the internal validity of your research, you must account for confounding variables. If you fail to do so, your results may not reflect the actual relationship between the variables that you are interested in, biasing your results.

For instance, you may find a cause-and-effect relationship that does not actually exist, because the effect you measure is caused by the confounding variable (and not by your independent variable). This can lead to omitted variable bias or placebo effects, among other biases.

Example
You find that more workers are employed in states with higher minimum wages. Does this mean that higher minimum wages lead to higher employment rates?

Not necessarily. Perhaps states with better job markets are more likely to raise their minimum wages, rather than the other way around. You must consider the prior employment trends in your analysis of the impact of the minimum wage on employment, or you might find a causal relationship where none exists.

Even if you correctly identify a cause-and-effect relationship, confounding variables can result in over- or underestimating the impact of your independent variable on your dependent variable.

Example
You find that babies born to mothers who smoked during their pregnancies weigh significantly less than those born to non-smoking mothers. However, if you do not account for the fact that smokers are more likely to engage in other unhealthy behaviors, such as drinking or eating less healthy foods, then you might overestimate the relationship between smoking and low birth weight.

How to reduce the impact of confounding variables

There are several methods of accounting for confounding variables. You can use the following methods when studying any type of subjects— humans, animals, plants, chemicals, etc. Each method has its own advantages and disadvantages.

Restriction

In this method, you restrict your treatment group by only including subjects with the same values of potential confounding factors.

Since these values do not differ among the subjects of your study, they cannot correlate with your independent variable and thus cannot confound the cause-and-effect relationship you are studying.

Restriction example
You want to study whether a low-carb diet can cause weight loss. Since you know that age, sex, level of education and exercise intensity are all factors that may be associated with weight loss, as well as with the diet your subjects choose to follow, you choose to restrict your subject pool to 45-year-old women with bachelor’s degrees who exercise at moderate levels of intensity between 100–150 minutes per week.
  • Relatively easy to implement
  • Restricts your sample a great deal
  • You might fail to consider other potential confounders

Matching

In this method, you select a comparison group that matches with the treatment group. Each member of the comparison group should have a counterpart in the treatment group with the same values of potential confounders, but different independent variable values.

This allows you to eliminate the possibility that differences in confounding variables cause the variation in outcomes between the treatment and comparison group. If you have accounted for any potential confounders, you can thus conclude that the difference in the independent variable must be the cause of the variation in the dependent variable.

Matching example
In your study on low-carb diet and weight loss, you match up your subjects on age, sex, level of education and exercise intensity. This allows you to include a wider range of subjects: your treatment group includes men and women of different ages with a variety of education levels.

Each subject on a low-carb diet is matched with another subject with the same characteristics who is not on the diet. So for every 40-year-old highly educated man who follows a low-carb diet, you find another 40-year-old highly educated man who does not, to compare the weight loss between the two subjects. You do the same for all the other subjects in your treatment sample.

  • Allows you to include more subjects than restriction
  • Can prove difficult to implement since you need pairs of subjects that match on every potential confounding variable
  • Other variables that you cannot match on might also be confounding variables

Statistical control

If you have already collected the data, you can include the possible confounders as control variables in your regression models; in this way, you will control for the impact of the confounding variable.

Any effect that the potential confounding variable has on the dependent variable will show up in the results of the regression and allow you to separate the impact of the independent variable.

Statistical control example
After collecting data about weight loss and low-carb diets from a range of participants, in your regression model, you include exercise levels, education, age, and sex as control variables, along with the type of diet each subjects follows as the independent variable. This allows you to separate the impact of diet chosen from the influence of these other four variables on weight loss in your regression.
  • Easy to implement
  • Can be performed after data collection
  • You can only control for variables that you observe directly, but other confounding variables you have not accounted for might remain

Randomization

Another way to minimize the impact of confounding variables is to randomize the values of your independent variable. For instance, if some of your participants are assigned to a treatment group while others are in a control group, you can randomly assign participants to each group.

Randomization ensures that with a sufficiently large sample, all potential confounding variables—even those you cannot directly observe in your study—will have the same average value between different groups. Since these variables do not differ by group assignment, they cannot correlate with your independent variable and thus cannot confound your study.

Since this method allows you to account for all potential confounding variables, which is nearly impossible to do otherwise, it is often considered to be the best way to reduce the impact of confounding variables.

Randomization example
You gather a large group of subjects to participate in your study on weight loss. You randomly select half of them to follow a low-carb diet and the other half to continue their normal eating habits.

Randomization guarantees that both your treatment (the low-carb-diet group) as well as your control group will have not only the same average age, education and exercise levels, but also the same average values on other characteristics that you haven’t measured as well.

  • Allows you to account for all possible confounding variables, including ones that you may not observe directly
  • Considered the best method for minimizing the impact of confounding variables
  • Most difficult to carry out
  • Must be implemented prior to beginning data collection
  • You must ensure that only those in the treatment (and not control) group receive the treatment

Other interesting articles

If you want to know more about statistics, methodology, or research bias, make sure to check out some of our other articles with explanations and examples.

The only proofreading tool specialized in correcting academic writing - try for free!

The academic proofreading tool has been trained on 1000s of academic texts and by native English editors. Making it the most accurate and reliable proofreading tool for students.

Try for free

Frequently asked questions about confounding variables

What is a confounding variable?

A confounding variable, also called a confounder or confounding factor, is a third variable in a study examining a potential cause-and-effect relationship.

A confounding variable is related to both the supposed cause and the supposed effect of the study. It can be difficult to separate the true effect of the independent variable from the effect of the confounding variable.

In your research design, it’s important to identify potential confounding variables and plan how you will reduce their impact.

What is the difference between confounding variables, independent variables and dependent variables?

A confounding variable is closely related to both the independent and dependent variables in a study. An independent variable represents the supposed cause, while the dependent variable is the supposed effect. A confounding variable is a third variable that influences both the independent and dependent variables.

Failing to account for confounding variables can cause you to wrongly estimate the relationship between your independent and dependent variables.

What’s the difference between extraneous and confounding variables?

An extraneous variable is any variable that you’re not investigating that can potentially affect the dependent variable of your research study.

A confounding variable is a type of extraneous variable that not only affects the dependent variable, but is also related to the independent variable.

Why do confounding variables matter for my research?

To ensure the internal validity of your research, you must consider the impact of confounding variables. If you fail to account for them, you might over- or underestimate the causal relationship between your independent and dependent variables, or even find a causal relationship where none exists.

How do I prevent confounding variables from interfering with my research?

There are several methods you can use to decrease the impact of confounding variables on your research: restriction, matching, statistical control and randomization.

In restriction, you restrict your sample by only including certain subjects that have the same values of potential confounding variables.

In matching, you match each of the subjects in your treatment group with a counterpart in the comparison group. The matched subjects have the same values on any potential confounding variables, and only differ in the independent variable.

In statistical control, you include potential confounders as variables in your regression.

In randomization, you randomly assign the treatment (or independent variable) in your study to a sufficiently large number of subjects, which allows you to control for all potential confounding variables.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the “Cite this Scribbr article” button to automatically add the citation to our free Citation Generator.

Thomas, L. (2023, June 22). Confounding Variables | Definition, Examples & Controls. Scribbr. Retrieved January 8, 2024, from https://www.scribbr.com/methodology/confounding-variables/

Is this article helpful?
Lauren Thomas

Lauren has a bachelor's degree in Economics and Political Science and is currently finishing up a master's in Economics. She is always on the move, having lived in five cities in both the US and France, and is happy to have a job that will follow her wherever she goes.