ECON 310 · Econometrics I

Omitted Variable Bias

Leaving out a variable that affects the outcome and relates to your predictor makes the slope wrong. Learn the size and direction of the error.

Key takeaways

  • Omitted variable bias appears when a left-out variable both affects the outcome and is related to the predictor you included.
  • The bias equals the omitted variable's effect on y times the slope of the omitted variable on your included predictor.
  • The sign of the bias comes from the signs of those two pieces; the rule is easy to check with a small table.
  • More data does not fix this kind of bias; better variables or better design does.
  • You can often reason about the likely direction of bias even when you cannot measure the missing variable.

Two neighbors, Priya and Marcus, argue about college. Priya says each extra year of school raises pay a lot. Marcus says people who go further in school were already the sharp, driven ones, so school gets credit for what was there before the first class.

Both could be partly right. If you run a regression of wages on years of schooling and leave out how driven or talented each person is, the slope on schooling absorbs some of the talent effect. The slope is then wrong, not because of bad arithmetic or a small sample, but because of what is missing from the equation.

This is omitted variable bias, one of the most important ideas in all of econometrics. It was hinted at in The Classical Assumptions and in Multiple Regression and Holding Things Constant. Here we put a number and a direction on it.

The two conditions

A variable only causes trouble if both of the following hold:

  1. It affects the outcome. Talent matters for wages.
  2. It is related to the predictor you included. More talented people tend to get more schooling.

If only the first holds, leaving it out adds noise but no bias. Weather affects a bike shop's sales, but if weather is unrelated to which weeks had a promotion, leaving it out will not tilt the promotion slope. If only the second holds, the variable does nothing to the outcome, so nothing gets misattributed. Both conditions must hold together.

Two regressions, one truth

Imagine the true story of the world is:

Wage = β₀ + β₁ × Education + β₂ × Ability + u

where Wage is dollars per hour, Education is years of schooling, and Ability is a score for talent and drive. The true β₁ is what we want: the pay effect of schooling, with ability fixed. Suppose, for this made-up world, the numbers are:

  • β₁ = 1.5 dollars per hour for each extra year of schooling.
  • β₂ = 0.5 dollars per hour for each extra point of ability.

Now the researcher cannot measure ability. She runs the short regression, with education alone:

Wage = c₀ + c₁ × Education + error

The slope c₁ is not β₁. It also picks up the part of ability's effect that travels along with schooling.

To see how, we need one more fact: how ability relates to schooling in the data. Suppose that among workers, each extra year of schooling goes with 0.4 more points of ability on average. Call that link δ ("delta") = 0.4. This comes from a side regression of Ability on Education.

The bias formula

The omitted variable bias formula
c₁ = β₁ + β₂ × δ c₁ = Short-regression slope What you get leaving the variable out β₁ = True slope The effect with the other variable included β₂ = Omitted variable's effect on y How much the missing variable moves the outcome δ = Link to your predictor Slope of the omitted variable on the included one c₁ = β₁ + β₂ × δ c₁ = Short-regression slope What you get leaving the variable out β₁ = True slope The effect with the other variable included β₂ = Omitted variable's effect on y How much the missing variable moves the outcome δ = Link to your predictor Slope of the omitted variable on the included one

Plug in the numbers:

bias = β₂ × δ = 0.5 × 0.4 = 0.2
short-regression slope = 1.5 + 0.2 = 1.7

The researcher who leaves out ability finds that each year of schooling goes with $1.70 more per hour. The true effect, holding ability fixed, is $1.50. The extra $0.20 is ability riding along. In percentage terms the estimate is too high by 0.2 ÷ 1.5 ≈ 13%.

From the true effect to the biased estimate
True effect of a year of school $1.50per hour Bias from omitted ability +$0.20per hour Short-regression slope $1.70per hour True effect of a year of school $1.50per hour Bias from omitted ability +$0.20per hour Short- regression slope $1.70per hour

Bias = 0.5 × 0.4 = 0.2 dollars per hour. Example with made-up numbers.

Notice that this bias would not shrink if you sampled 10 million workers. A bigger sample would pin down the biased number 1.7 more precisely. It would be a very confident wrong answer.

The direction of the bias: a four-square table

You can figure out the direction of bias without any numbers. You need only two signs: the sign of β₂ (does the omitted variable raise or lower y?) and the sign of δ (is it positively or negatively tied to your predictor?). Multiply the signs.

Which way does the slope tilt?
Effect +, link + Bias is upward. Example: ability raises pay and goes with more school. Effect +, link − Bias is downward. The omitted factor lifts y but sits where x is low. Effect −, link + Bias is downward. The omitted factor hurts y but sits where x is high. Effect −, link − Bias is upward. Two negatives multiply to a positive. Effect +, link + Bias is upward. Example: ability raises pay and goes with more school. Effect +, link − Bias is downward. The omitted factor lifts y but sits where x is low. Effect −, link + Bias is downward. The omitted factor hurts y but sits where x is high. Effect −, link − Bias is upward. Two negatives multiply to a positive.

Worked example: class size and test scores

A district compares schools. Schools with bigger classes score lower, and the regression slope says each extra student per class goes with 0.9 fewer test points. Does class size cause lower scores?

The omitted variable could be the share of students living in poverty. Think through the two conditions:

  • Poverty affects scores (negative: β₂ < 0).
  • Poverty is linked to class size (suppose high-poverty schools have bigger classes: δ > 0).

Signs: negative × positive = negative. The bias is downward. So the short regression slope is more negative than the truth. Suppose, for illustration, β₂ = −2 points for each additional 10 percentage points of poverty and δ = +0.05 students per class for each such 10 points. The bias is (−2) × 0.05 = −0.1. If the estimate was −0.9, the true effect, holding poverty fixed, would be −0.9 − (−0.1) = −0.8.

So class size does seem to matter in this made-up case, but a bit less than the raw slope suggests, because poverty explains some of the link. These numbers are invented to show the method; real studies must measure the pieces.

Seeing it in a different setting

Omitted variable bias is not only about schooling. Picture a study that finds cities with more ice cream trucks have more drownings at public pools. The omitted variable is summer heat. Heat raises both truck counts and swimming, and swimming is what produces drownings. Heat affects the outcome (positive) and relates to the truck count (positive), so the bias is upward. The slope on trucks looks like a dangerous effect when trucks have no effect at all.

Or take a firm that finds its advertising slope is huge. If ads are bought mostly during product launches, and launches themselves attract customers, the launch is an omitted factor with positive effect and positive link to ads. The ad slope is overstated. In each case the habit is the same. Name the missing factor, decide whether it pushes y up or down, decide whether it tends to be high or low where x is high, and read the sign off the table.

This habit gives you a way to argue even when data are thin. A researcher can say, "The likely omitted variables would bias my estimate upward, so the true effect is probably smaller than what I found, but still positive." Such statements are honest and useful, though they rest on judgment about which factors matter. You should hold them more loosely than numbers computed from data.

Fixing or handling the problem

There is no magic cure, but there are standard moves:

  • Add the missing variable. If poverty is measured, include it. The short and long regression then differ by exactly the bias formula. This works only if you can measure the variable.
  • Use a proxy. If you cannot measure ability, a test score taken earlier in life may stand in for it. A proxy is imperfect but can cut much of the bias.
  • Compare people to themselves. With data on the same people over time, you can strip out traits that never change. These methods appear in later courses.
  • Find a natural experiment or an instrument. Sometimes chance or a rule produces variation in x that has nothing to do with the hidden factor. Later courses teach this.
  • Reason about the direction. Even if you can do nothing else, the sign table tells you whether your estimate is probably too high or too low. A result that is still large after a bias that works against it is more believable than one that benefits from the bias.

Common mistakes

Adding any variable you can find. Only variables that satisfy both conditions help. Adding an unrelated variable does little. Adding a variable that sits between your predictor and the outcome, such as including job title when studying schooling's effect on pay, can remove part of the effect you are trying to measure. The next steps in Choosing Which Variables to Include cover this.

Thinking that a high R² means no bias. A model can fit very well and still have a biased slope. Fit is about prediction. Bias is about the meaning of one coefficient.

Looking for the problem in the residuals. As discussed earlier, OLS residuals are built to be unrelated to the included predictors, so a plot of them will not show the omitted variable. You find this problem by thinking about how the data came to be.

Believing bias disappears with more data. It does not. Only a better model or a better design does.

Where it fits

Omitted variable bias is the doorway to most of applied econometrics. Fixed effects, instrumental variables, difference-in-differences and randomized trials all exist because of it. When you read any regression result, a good first question is: what important thing is missing, and which way would it push?

Words to know

Omitted variable a factor that affects the outcome but is left out of the regression.

Omitted variable bias the systematic error in a slope caused by leaving out a variable that relates to both the outcome and the predictor.

Short regression the regression that leaves out the variable in question.

Long regression the regression that includes the variable in question.

Proxy variable a measured variable used to stand in for one that cannot be measured.

Bias a systematic tilt of an estimator away from the true value, which does not shrink with more data.

Confounder another name for a variable that affects both the predictor and the outcome.

Check yourself

  1. State the two conditions under which an omitted variable biases a slope.
  2. With β₂ = 0.5 and δ = 0.4, what is the bias, and what is the short slope if the true β₁ is 1.5?
  3. A true effect of 1.5 is estimated at 1.7. By what percentage is the estimate too high?
  4. An omitted factor lowers y (β₂ < 0) and is more common where x is low (δ < 0). Which way is the bias?
  5. Using a bias of −0.1 and an estimate of −0.9, find the true slope.
  6. Explain why collecting a much larger sample will not fix omitted variable bias.
Show the answers
  1. The omitted variable must affect the outcome, and it must be related to the included predictor.
  2. Bias = 0.5 × 0.4 = 0.2; the short slope = 1.5 + 0.2 = 1.7.
  3. (1.7 − 1.5) ÷ 1.5 = 0.2 ÷ 1.5 ≈ 13%.
  4. Upward, because a negative times a negative is positive.
  5. Estimate = truth + bias, so truth = −0.9 − (−0.1) = −0.8.
  6. A bigger sample makes the biased number more precise but does not change what it is centered on, because the bias comes from the missing variable.

A free self-study program written for 4Economics with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Multiple regression

  1. Multiple Regression and Holding Things ConstantMultiple regression adds more predictors so each slope shows the link between x and y with the other variables held fixed.10 min
  2. Omitted Variable BiasLeaving out a variable that affects the outcome and relates to your predictor makes the slope wrong. Learn the size and direction of the error.10 min
  3. Testing Several Coefficients: The F TestLearn how the F test checks whether a group of regression variables matters together, even when each one looks weak alone.11 min
  4. Dummy VariablesSee how 0-or-1 variables let a regression handle categories like seasons or yes-or-no features, and how to avoid the dummy trap.11 min
  5. Interaction TermsLearn how multiplying two variables lets a regression say that the effect of one thing depends on the level of another.10 min
  6. Logs, Squares and Functional FormLearn how squares and logarithms let a straight-line regression fit curves, and how to read the coefficients in each form.10 min
  7. Choosing Which Variables to IncludeLearn how to decide what goes into a regression, and why leaving out and piling in variables both cause trouble.10 min

In the news