In my case, I deal with the firm-level data. I have a variable called X, which is an international index. I am using the standard two-way fixed effects regression. When controlling for year-fixed effects, of course, I faced the omitted variable problem (the X will be omitted when controlling for the years).
I am wondering how to solve this problem because I want to understand the predictability of the variable X on the dependent variable.
P/S: I am using the code reghdfe from STATA
I am wondering how to solve this problem because I want to understand the predictability of the variable X on the dependent variable.
P/S: I am using the code reghdfe from STATA

Comment