I have a panel data set and I believe that correlations appear in two dimensions with both firm and time level. What is the correct way to use double-clustering in reghdfe?
These two give me different results:
Code:
reghdfe y1 x1 x2, absorb(year) cluster(companyid year)
Code:
reghdfe y1 x1 x2, absorb(year) cluster(companyid#year)
Which one should I use?
Many thanks.
0 Response to What is the correct way to use double-clustering in reghdfe?
Post a Comment