<p>If you introduce any sort of correlation between the explanatory variables $X$ and the error $\epsilon$ then the zero conditional mean may be violated. In your example, if you were to assign women their training time according to their age, then the exogeneity assumption breaks.</p>

<p>More formally, this last condition means</p>

<p>$$
\mathbb{E}[\epsilon|X] = 0
$$</p>

<p>If, wlog we assume $\mathbb{E}[\epsilon] = 0$, and there's a non-vanishing correlation between $X$ and $\epsilon$ then</p>

<p>$$
 0\not= \mathbb{C}{\rm ov}[X,\epsilon] = \mathbb{E}[X^t\epsilon] + \mathbb{E}[X] \mathbb{E}[\epsilon] = \mathbb{E}[X^t\epsilon]
$$</p>

<p>therefore $\mathbb{E}[\epsilon|X]\not = 0$</p>

CC BY-SA 3.0
2017-10-13T12:16:33.527Z
Assuming age is part of the model, or correlated with another valid regressors.
luchonacho
CC BY-SA 3.0
2017-10-13T11:32:18.480Z
2017-10-13T11:32:18.480Z
caverac
<p>Recall the assumptions behind the Multiple linear regression model assumptions 1-4:</p>

<blockquote>
  <p><strong>MLR.1:</strong> Linear parameters <br>
  <strong>MLR.2:</strong> Random sample<br>
  <strong>MLR.3:</strong> No perfect Colinearity <br>
  <strong>MLR.4:</strong> Zero condtional mean $\mathbb{E}(\epsilon|x_i,...,x_n)=0$<br></p>
</blockquote>

<p>In order to have unbiased estimates you require that all of these conditions hold.</p>

<p>In your case it is very much possible that you can have a non-random sample that does not violate the fourth assumption.</p>

<p>However your estimates will be off because of the non-random sampling , so though you dont have any problems which  like <a href="https://en.wikipedia.org/wiki/Endogeneity_(econometrics)" rel="nofollow noreferrer">endogeneity</a> when <strong>MLR.4</strong> is violated, you will end up with estimates which do not  accurately represent the influence of variables on the subject in question (because of the violation of <strong>MLR.2</strong>).  </p>

<p>In your example you will end up with accurate estimates for the men but not for the women based on the fulfillment of <strong>MLR.2</strong>.</p>

CC BY-SA 3.0
2017-10-22T19:06:06.807Z
2017-10-22T19:06:06.807Z
EconJohn
<p>Perhaps you are having trouble because the meaning of "nonrandom assignment" is not specific enough. Just saying "random" is not good enough. You need to ask "random (or nonrandom) in what sense".</p>

<p>If the assignment is random in the sense that it is independent of any factors whatsoever, i.e., of all the factors that affect $y$, then it is also independent of the regression error (with zero unconditional mean), and ZCM holds (because independence implies ZCM).</p>

<p>In other cases (nonrandom assignment), whether ZCM holds depends on what kind of factors the assignment depends on. If the assignment is nonrandom in the sense that it depends on other explanatory variables (such as $age$), ZCM still holds. If the assignment is nonrandom in the sense that it depends on the error term (the factors that affect $y$ other than the included control variables), then ZCM is likely violated.</p>

CC BY-SA 3.0
2017-10-14T00:36:54.713Z
2017-10-14T00:36:54.713Z
chan1142
<p>Question for y'all with a background in econometrics.</p>

<p>Does the zero conditional mean assumption rely on complete randomness in a trial when doing regression analysis?</p>

<p>For example, if I was testing the effect of a free training program on wage, and the men in the trial were randomly given x amount of months of training, but the women were not assigned randomly, would that be a violation of a ZCM? I am struggling to make the connection between randomness and ZCM at all, but it was pointed out to me by someone that it is in fact influential.</p>

CC BY-SA 3.0
2017-10-13T12:14:07.917Z
Notice that the zero in the ZCM is always satisfied by assuming the model has a constant (which demeans the error term). The key assumption is that $E[\epsilon|X]=E[\epsilon]$.
luchonacho
<econometrics><statistics>
Question about violating the zero conditional mean assumption
jojo.t.c
# Question about violating the zero conditional mean assumption

(Asked by: username_0 on 2017-10-13)

Question for y'all with a background in econometrics.

Does the zero conditional mean assumption rely on complete randomness in a trial when doing regression analysis?

For example, if I was testing the effect of a free training program on wage, and the men in the trial were randomly given x amount of months of training, but the women were not assigned randomly, would that be a violation of a ZCM? I am struggling to make the connection between randomness and ZCM at all, but it was pointed out to me by someone that it is in fact influential.

**Tags:** econometrics, statistics
> **Comments:**
> **username_1**: Notice that the zero in the ZCM is always satisfied by assuming the model has a constant (which demeans the error term). The key assumption is that $E[\epsilon|X]=E[\epsilon]$.  

---

## 3 answers

### Answer by username_2 on 2017-10-13. Score: 1

If you introduce any sort of correlation between the explanatory variables $X$ and the error $\epsilon$ then the zero conditional mean may be violated. In your example, if you were to assign women their training time according to their age, then the exogeneity assumption breaks.

More formally, this last condition means

$$
\mathbb{E}[\epsilon|X] = 0
$$

If, wlog we assume $\mathbb{E}[\epsilon] = 0$, and there's a non-vanishing correlation between $X$ and $\epsilon$ then

$$
0\not= \mathbb{C}{\rm ov}[X,\epsilon] = \mathbb{E}[X^t\epsilon] + \mathbb{E}[X] \mathbb{E}[\epsilon] = \mathbb{E}[X^t\epsilon]
$$

therefore $\mathbb{E}[\epsilon|X]\not = 0$

> **Comments:**
> **username_1**: Assuming age is part of the model, or correlated with another valid regressors.  

---

### Answer by username_3 on 2017-10-22. Score: 1

Recall the assumptions behind the Multiple linear regression model assumptions 1-4:

> **MLR.1:** Linear parameters   
> **MLR.2:** Random sample  
> **MLR.3:** No perfect Colinearity   
> **MLR.4:** Zero condtional mean $\mathbb{E}(\epsilon|x\_i,...,x\_n)=0$

In order to have unbiased estimates you require that all of these conditions hold.

In your case it is very much possible that you can have a non-random sample that does not violate the fourth assumption.

However your estimates will be off because of the non-random sampling , so though you dont have any problems which like [endogeneity](https://en.wikipedia.org/wiki/Endogeneity_(econometrics)) when **MLR.4** is violated, you will end up with estimates which do not accurately represent the influence of variables on the subject in question (because of the violation of **MLR.2**).

In your example you will end up with accurate estimates for the men but not for the women based on the fulfillment of **MLR.2**.


---

### Answer by username_4 on 2017-10-14. Score: 0

Perhaps you are having trouble because the meaning of "nonrandom assignment" is not specific enough. Just saying "random" is not good enough. You need to ask "random (or nonrandom) in what sense".

If the assignment is random in the sense that it is independent of any factors whatsoever, i.e., of all the factors that affect $y$, then it is also independent of the regression error (with zero unconditional mean), and ZCM holds (because independence implies ZCM).

In other cases (nonrandom assignment), whether ZCM holds depends on what kind of factors the assignment depends on. If the assignment is nonrandom in the sense that it depends on other explanatory variables (such as $age$), ZCM still holds. If the assignment is nonrandom in the sense that it depends on the error term (the factors that affect $y$ other than the included control variables), then ZCM is likely violated.


---

