<p>Having <a href="https://en.wikipedia.org/wiki/Fixed_effects_model#Formal_description" rel="nofollow">read up</a> on your question it seems the fixed effect is fixed. If this is indeed the case it will have zero variance and hence zero covariance with any variable.</p>

CC BY-SA 3.0
2016-10-20T13:56:50.510Z
While the true parameter ($\gamma_i$) might be constant and therefore have a zero covariance, it may well be that the estimate of the parameter ($\hat{\gamma}_i$) co-varies with other variables.
BKay
CC BY-SA 3.0
2016-09-16T04:52:54.693Z
2016-09-16T04:52:54.693Z
Giskard
<p>Assuming that you mean "fixed effects" of econometricians, not of statisticians, you can check it as follows. You have $v_{it} = u_i + e_{it}$ consistently estimated (as $\beta$ is consistently estimated), where $u_i$ are the fixed effects and $e_{it}$ are the idiosyncratic errors. Under the assumption that $x_{it}$ is strictly exogenous to $e_{it}$ (which is assumed whenever you do FE regression), the covariance between $x_{it}$ and $v_{it}$ is the same as the covariance between $x_{it}$ and $u_{i}$. Thus, this is what you can do:</p>

<ol>
<li>Obtain the fixed effects estimation residuals (if using Stata, <code>xtreg y x1 x2 x3, fe</code>, and then <code>predict v, ue</code>).</li>
<li>Regress <code>x1</code> on <code>v</code> either for each $t$ (<code>reg x1 v if year==1991</code> etc) or pooled. The sign of the estimate is what you want.</li>
</ol>

<p>By the way, let me clarify that "fixed effects" are not nonrandom in econometrics, so we can't say that fixed effects are uncorrelated with other random variables. By "fixed effects" we mean individual effects that are possibly correlated with explanatory variables.</p>

<p>In statistics (mixed effects models), "fixed effects" mean variables whose coefficients are the same for all $i$, while "random effects" are those with individually different coefficients.</p>

CC BY-SA 3.0
2016-10-20T08:50:46.470Z
2016-10-20T08:55:55.923Z
2016-10-20T08:55:55.923Z
chan1142
<p>The answer is, that this is not possible. A fixed effect by itself is nothing that is measured. It just means that you allow for different intercepts for different individuals.</p>

<p>It seems that what you want to do is checking the sensitivity of your specification. Do so by going to the "econometrics kitchen". Run y just on x1 without fixed effects, then with fixed effects. Then y on x2, x3 and so on. Than you will get a feeling for whats going on in the data.</p>

CC BY-SA 3.0
2016-10-17T23:45:27.813Z
thank you very much. Now I see some picture, with your help! I will try.
YBHan
CC BY-SA 3.0
2016-10-17T15:16:32.247Z
2016-10-17T15:16:32.247Z
Fitzroy Hogsflesh
<p>I have a fixed effects model as follows:</p>

<p>$Y = x_1, x_2, x_3$, (fixed effect), (error term)</p>

<p>Is there any way I can check whether Cov($x_1$, (fixed effect)) is larger or smaller than 0?</p>

<p>The panel data I have consists of 7858 individuals and 5 years.</p>

<p>Thanks!</p>

CC BY-SA 3.0
2016-09-15T11:28:42.427Z
How about calculating Cov(X1, (fixed effect)? Or is there a reason why this is difficult?
Giskard
CC BY-SA 3.0
2016-09-15T23:20:50.733Z
I think the fixed effect is unobservable. How can I calculate the covariance?  Do you mean calculating intercept estimates for each individual and then covariance btw estimated intercepts and X1?
YBHan
CC BY-SA 3.0
2016-09-16T04:52:39.657Z
Sorry, my bad, I was thinking of another type of model.
Giskard
<paneldata><fixed-effects>
A question about Fixed effects estimation
YBHan
# A question about Fixed effects estimation

(Asked by: username_0 on 2016-09-15)

I have a fixed effects model as follows:

$Y = x\_1, x\_2, x\_3$, (fixed effect), (error term)

Is there any way I can check whether Cov($x\_1$, (fixed effect)) is larger or smaller than 0?

The panel data I have consists of 7858 individuals and 5 years.

Thanks!

**Tags:** paneldata, fixed-effects

> **Comments:**
> **username_1**: How about calculating Cov(X1, (fixed effect)? Or is there a reason why this is difficult?  
> **username_0**: I think the fixed effect is unobservable. How can I calculate the covariance?  Do you mean calculating intercept estimates for each individual and then covariance btw estimated intercepts and X1?  
> **username_1**: Sorry, my bad, I was thinking of another type of model.  

---

## 3 answers

### Answer by username_1 on 2016-09-16. Score: 3

Having [read up](https://en.wikipedia.org/wiki/Fixed_effects_model#Formal_description) on your question it seems the fixed effect is fixed. If this is indeed the case it will have zero variance and hence zero covariance with any variable.

> **Comments:**
> **username_2**: While the true parameter ($\gamma_i$) might be constant and therefore have a zero covariance, it may well be that the estimate of the parameter ($\hat{\gamma}_i$) co-varies with other variables.  

---

### Answer by username_3 on 2016-10-20. Score: 1

Assuming that you mean "fixed effects" of econometricians, not of statisticians, you can check it as follows. You have $v\_{it} = u\_i + e\_{it}$ consistently estimated (as $\beta$ is consistently estimated), where $u\_i$ are the fixed effects and $e\_{it}$ are the idiosyncratic errors. Under the assumption that $x\_{it}$ is strictly exogenous to $e\_{it}$ (which is assumed whenever you do FE regression), the covariance between $x\_{it}$ and $v\_{it}$ is the same as the covariance between $x\_{it}$ and $u\_{i}$. Thus, this is what you can do:

1. Obtain the fixed effects estimation residuals (if using Stata, `xtreg y x1 x2 x3, fe`, and then `predict v, ue`).
2. Regress `x1` on `v` either for each $t$ (`reg x1 v if year==1991` etc) or pooled. The sign of the estimate is what you want.

By the way, let me clarify that "fixed effects" are not nonrandom in econometrics, so we can't say that fixed effects are uncorrelated with other random variables. By "fixed effects" we mean individual effects that are possibly correlated with explanatory variables.

In statistics (mixed effects models), "fixed effects" mean variables whose coefficients are the same for all $i$, while "random effects" are those with individually different coefficients.


---

### Answer by username_4 on 2016-10-17. Score: 0

The answer is, that this is not possible. A fixed effect by itself is nothing that is measured. It just means that you allow for different intercepts for different individuals.

It seems that what you want to do is checking the sensitivity of your specification. Do so by going to the "econometrics kitchen". Run y just on x1 without fixed effects, then with fixed effects. Then y on x2, x3 and so on. Than you will get a feeling for whats going on in the data.

> **Comments:**
> **username_0**: thank you very much. Now I see some picture, with your help! I will try.  

---

