A regression of $y$ on $x$ need not be causal if there are omitted variables which influence both $x$ and $y$. But if not for omitted variables and measurement error, is a regression causal? That is, if every possible variable is included in the regression?

  • 5
    $\begingroup$ No, even if you included every variable in the world, it could be inverse causal. For example, a planet's proximity to its nearest star could be accurately predicted by the surface temperature of the planet, but clearly the causality goes the other way $\endgroup$
    – gazza89
    Commented Oct 23, 2018 at 17:58
  • $\begingroup$ @gazza89 - since that effectively answers the question, you might want to expand it into an answer. $\endgroup$
    – jbowman
    Commented Oct 23, 2018 at 18:02
  • 3
    $\begingroup$ What is "omitted variables"? Suppose I have one Y and 4 Xs in my dataset. I fit a model including all of 4 Xs. Then I have no omitted variables? $\endgroup$
    – user158565
    Commented Oct 23, 2018 at 22:06

2 Answers 2


No, it's not, I will show you some counterexamples.

The first is reverse causation. Consider the causal model is $Y \rightarrow X$, where $X$ and $Y$ are standard gaussian random variables. Then $E[Y|do(x)] = 0$, since $X$ does not cause $Y$, but $E[Y|x]$ will depend on $X$.

The second example is controlling for colliders (see here). Consider the causal model $X \rightarrow Z \leftarrow Y$, that is $X$ does not cause $Y$ and $Z$ is a common cause. But note that, if you run a regression including $Z$, the regression coefficient of $X$ will not be zero, because conditioning on the common cause will induce association between $Y$ and $X$ (you may want to see here as well Path Analysis in the Presence of a Conditioned-Upon Collider).

More generally, the regression of $Y$ on $X$ will be causal if the variables included in the regression satisfy the backdoor criterion.

  • 3
    $\begingroup$ Highly recommend the Book of Why, by Judea Pearl. Explains thoroughly what Carlos refers to. $\endgroup$ Commented Oct 23, 2018 at 18:06
  • 3
    $\begingroup$ What does $do(x)$ mean? $\endgroup$
    – naught101
    Commented Oct 24, 2018 at 2:56
  • 5
    $\begingroup$ @naught101 it means you actually force X=x, in contrast to passively observing X=x, see here stats.stackexchange.com/questions/211008/dox-operator-meaning/… $\endgroup$ Commented Oct 24, 2018 at 3:10
  • $\begingroup$ Thanks, but I am not clear on the notation. Does $X \rightarrow Z \leftarrow Y$ mean $Z$ causes $X$ and $Y$? Should the arrows be reversed? $\endgroup$
    – Esha
    Commented Oct 24, 2018 at 11:15
  • $\begingroup$ @Esha It means both $x$ and $y$ causes $z$ $\endgroup$ Commented Oct 24, 2018 at 18:22

In addition to Carlos Cinelli's important answer to this question, there are a few more reasons that the regression coefficients might not be causal.

Firstly, model misspecification can cause the parameters to be non-causal. Just because you have all relevant variables in your model does not mean that you have adjusted for them in the correct way. As a very simple example, consider a variable $X$ that is distributed symmetrical around 0. Suppose that your outcome variable $Y$ is affected by $X$ in such a way that $E(Y\mid X)=X^2$. Regressing $Y$ on $X$ (as opposed to on $X^2$) will then will give an estimated coefficient for $X$ of about 0, clearly biased, despite you having adjusted for all (the only) variable that affects $Y$.

Secondly, and related to the topic of reverse causality, there's also the risk that you can have selection bias, i.e. that your sample has been selected in such a way that it is not representative for the population to which you wish to draw your inference. Furthermore, missing data can also introduce bias if the data is not missing completely at random.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.