Why can a predictor's coefficient turn from positive to negative when you add variables to a regression?

Quick Overview

Asks why a predictor can have a positive coefficient in a simple linear regression and a negative one after other variables are added. It tests omitted-variable bias, the difference between marginal and partial associations, and judgment about which control variables belong in a model.

Why can a predictor's coefficient turn from positive to negative when you add variables to a regression?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

A predictor has a positive coefficient in a simple linear regression, but when other variables are added in a multiple regression its coefficient becomes negative. Why can this happen, and how should you interpret the two coefficients? ```hint Start from the true model Suppose the outcome really depends on two correlated predictors. Work out what the slope from regressing the outcome on only the first one is estimating. ``` ```hint Look at what you added Ask how the added variable relates causally to the predictor and the outcome. The answer changes which coefficient you should trust. ``` ### What a Strong Answer Covers - The mechanism that lets a simple-regression slope differ in sign from the partial slope, ideally with a formula - A concrete example where the sign really flips - What each coefficient means and which question each one answers - Other reasons a sign can flip, including the kind of variable that was added and noise from correlated predictors - How to decide which coefficient to report or act on ### Follow-up Questions - How can you tell whether a sign flip is a real partial effect or noise caused by highly correlated predictors? - Can adding a control variable make a coefficient more biased? Give an example. - A stakeholder asks whether increasing this predictor will raise the outcome. Which coefficient do you show them, and what else do you need to know?

Overview: Asks why a predictor can have a positive coefficient in a simple linear regression and a negative one after other variables are added. It tests omitted-variable bias, the difference between marginal and partial associations, and judgment about which control variables belong in a model.

Nov 24, 2026
mediumData ScientistOtherMachine Learning
0
0

A predictor has a positive coefficient in a simple linear regression, but when other variables are added in a multiple regression its coefficient becomes negative. Why can this happen, and how should you interpret the two coefficients?

What a Strong Answer Covers Guidance

  • The mechanism that lets a simple-regression slope differ in sign from the partial slope, ideally with a formula
  • A concrete example where the sign really flips
  • What each coefficient means and which question each one answers
  • Other reasons a sign can flip, including the kind of variable that was added and noise from correlated predictors
  • How to decide which coefficient to report or act on

Follow-up Questions Guidance

  • How can you tell whether a sign flip is a real partial effect or noise caused by highly correlated predictors?
  • Can adding a control variable make a coefficient more biased? Give an example.
  • A stakeholder asks whether increasing this predictor will raise the outcome. Which coefficient do you show them, and what else do you need to know?