<p>You can use the continuous variable &quot;Assets&quot; as stand-alone, and use its categorical incarnation for the interaction term.<br />
While we may be accustomed to use &quot;automatically generated&quot; interaction terms as part of ready-made functional forms like the translog, nothing forbids us to introduce selectively interaction terms in a regression setting, when we have an <em>economic</em>, <em>structural</em> argument as to why this specific interaction term is meaningful and why it belongs to the regression.</p>
<p>Therefore, using two different versions of the same variable is in principle acceptable as long as a solid argument can justify it.<br />
From a technical point of view, it does not create any issues.</p>

CC BY-SA 4.0
2020-11-19T14:10:27.500Z
2020-11-19T14:10:27.500Z
Alecos Papadopoulos
<p>I am pretty new to econometrics, and I am thinking about substituting a continuous variable (say assets for a company) with a categorical one containing a number based on which quintile the continuos value was (so 1-5). Obviously doing so I will lose some information however I was hoping that doing so would semplify the interepretation of an interaction variable made of the original continuos variable and of another continuos variable. Especially as I am going to plot a marginsplot (in STATA). I wanted to ear the opinion of someone more experienced and if this is a good/ feasible idea or it will backfire in some way.</p>
<p>Thanks in advance</p>

CC BY-SA 4.0
2020-11-18T17:52:53.340Z
Obviosly the categorical variable will converted in a series of dummies with the i command in STATA
Hustler885
<econometrics><applied-econometrics><stata>
Substitute a continuos variable with a categorical one in Linear regression
Hustler885
# Substitute a continuos variable with a categorical one in Linear regression

(Asked by: username_0 on 2020-11-18)

I am pretty new to econometrics, and I am thinking about substituting a continuous variable (say assets for a company) with a categorical one containing a number based on which quintile the continuos value was (so 1-5). Obviously doing so I will lose some information however I was hoping that doing so would semplify the interepretation of an interaction variable made of the original continuos variable and of another continuos variable. Especially as I am going to plot a marginsplot (in STATA). I wanted to ear the opinion of someone more experienced and if this is a good/ feasible idea or it will backfire in some way.

Thanks in advance

**Tags:** econometrics, applied-econometrics, stata
> **Comments:**
> **username_0**: Obviosly the categorical variable will converted in a series of dummies with the i command in STATA  

---

## 1 answers

### Answer by username_1 on 2020-11-19. Score: 2 | Accepted answer

You can use the continuous variable "Assets" as stand-alone, and use its categorical incarnation for the interaction term.  
While we may be accustomed to use "automatically generated" interaction terms as part of ready-made functional forms like the translog, nothing forbids us to introduce selectively interaction terms in a regression setting, when we have an *economic*, *structural* argument as to why this specific interaction term is meaningful and why it belongs to the regression.

Therefore, using two different versions of the same variable is in principle acceptable as long as a solid argument can justify it.  
From a technical point of view, it does not create any issues.


---

