<p>Normally your commentator would be correct, but in your case you are using fixed effects and in a standard fixed effects within estimator you show in your question you will not be able to include developed dummy (unless some countries happen to switch development status in the sample). Thus if you would include developed dummy you would have problem with perfect multicollinearity and the coefficient for developed dummy cannot be estimated.</p>
<p>However, since you have already fixed effects any effect that development dummy would have is already controlled for by the fixed effect.</p>
<p>If you want to include development dummy you have to move from simple within estimator fixed effects model  and do something different. For example, you could run random effects model. Random effects model has a bit more stringent assumption on the distribution of unobservable, but if you don't mind that and you want to have development dummy there then it is an option.</p>

CC BY-SA 4.0
2021-07-26T04:46:38.957Z
so do you mean the developed dummy will be perfectly multicollinear with **firm fixed effect**? (I had two way fixed effect in my case: firm and year)
Phil Nguyen
CC BY-SA 4.0
2021-07-26T09:27:10.700Z
@BeautifulMindset 1. yes it will. 2. With within estimator you can’t include any time invariant variables as they drop off
1muflon1
CC BY-SA 4.0
2021-07-25T22:03:43.720Z
2021-07-25T22:03:43.720Z
1muflon1
<p>Today, when asking for some suggestions about adding the interaction variables, <a href="https://www.statalist.org/forums/forum/general-stata-discussion/general/1620569-explaining-the-significant-levels-change-when-adding-interaction-variables" rel="nofollow noreferrer">a commentor ask me that I should include all elements of this interaction variable to this equation</a>:</p>
<p>For example:</p>
<p>My original equation is:</p>
<p>Y= X + pt + fixed effects + error term (1)</p>
<p>My dummy variable is developed receiving 1 if this observation belonging to firm in developed countries, my estimated equation is:</p>
<p>Y= X + pt + <strong>pt*developed</strong> + fixed effects + error term (2)</p>
<p>However, the commentator told that the proper equation should include all elements of the interactive variable:</p>
<p>Y= X + pt + pt*developed + <strong>developed</strong> + fixed effects + error term (3)</p>
<p>Is the commentator correct in pointing this?</p>

<econometrics>
Adding interaction and its elements into an equation confusion?
Phil Nguyen
# Adding interaction and its elements into an equation confusion?

(Asked by: username_0 on 2021-07-25)

Today, when asking for some suggestions about adding the interaction variables, [a commentor ask me that I should include all elements of this interaction variable to this equation](https://www.statalist.org/forums/forum/general-stata-discussion/general/1620569-explaining-the-significant-levels-change-when-adding-interaction-variables):

For example:

My original equation is:

Y= X + pt + fixed effects + error term (1)

My dummy variable is developed receiving 1 if this observation belonging to firm in developed countries, my estimated equation is:

Y= X + pt + **pt\*developed** + fixed effects + error term (2)

However, the commentator told that the proper equation should include all elements of the interactive variable:

Y= X + pt + pt\*developed + **developed** + fixed effects + error term (3)

Is the commentator correct in pointing this?

**Tags:** econometrics


---

## 1 answers

### Answer by username_1 on 2021-07-25. Score: 1 | Accepted answer

Normally your commentator would be correct, but in your case you are using fixed effects and in a standard fixed effects within estimator you show in your question you will not be able to include developed dummy (unless some countries happen to switch development status in the sample). Thus if you would include developed dummy you would have problem with perfect multicollinearity and the coefficient for developed dummy cannot be estimated.

However, since you have already fixed effects any effect that development dummy would have is already controlled for by the fixed effect.

If you want to include development dummy you have to move from simple within estimator fixed effects model and do something different. For example, you could run random effects model. Random effects model has a bit more stringent assumption on the distribution of unobservable, but if you don't mind that and you want to have development dummy there then it is an option.

> **Comments:**
> **username_0**: so do you mean the developed dummy will be perfectly multicollinear with **firm fixed effect**? (I had two way fixed effect in my case: firm and year)  
> **username_1**: @BeautifulMindset 1. yes it will. 2. With within estimator you can’t include any time invariant variables as they drop off  

---

