Hi all,
I am running the following regression using reghdfe written by @Sergio Correia:
reghdfe f.Dependent U c.U#c.Q Q $xlist i.year, absorb(firmcode) vce(cluster firmcode year)
where the dependent variable is the firm’s debt ratio and U and Q are my variables of interest and are constant for all firms in a year, and as you know, c.U#c.Q is the interaction between U and Q. I have 20 years of unbalanced data for 5123 firms.
When I run my regression, one-third of the year dummies (the latest years) will be omitted because of collinearity; they will be only omitted when I add U, Q or their interaction.
Would this assumption be correct that because I put the i.year at the end after all other variables, Stata will automatically only absorb the part of the year fixed effect that has not been already absorbed by the U or Q variables (or the other annual macro variables like GDP)? Or would U and Q be fully absorbed by the year fixed effect?
I appreciate your help.
Thank you.
Mona
Related Posts with Would constant annual variables across firms in a year be fully absorbed by the year dummy?
Average (Mean) of previous quartersHello everyone, I have the following problem with my unbalanced monthly panel data, where "permno" …
Generating random numbers without seedHi, I have an Excel template file that I want to fill with data generated by Stata 16. As I want to…
Simple question about SEM postestimation command: estat residualsHello, I am using the SEM command (with maximum likelihood estimation) in Stata. I am wondering if…
Managing dates for Panel dataDear All, I have a monthly stock market for 4 countries(Country ID). When I am trying to change the …
Changing the level of significance in CorrelationDear all, I would like to get an excel output related to correlation analysis. I ran the following c…
Subscribe to:
Post Comments (Atom)
0 Response to Would constant annual variables across firms in a year be fully absorbed by the year dummy?
Post a Comment