Hello everyone!
I'm currently running a multi-way fixed effect regression using the command reghdfe. As I have data which is clustered on two dimensions I went through the classical paper by Cameron, Gelbach and Miller on the topic. To the best of my understanding, the two-way clustering estimator they describe in the article can be implemented on Stata using (this is just one of the possible solutions of course) as
reghdfe depvar indepvars, a(fe1 fe2) vce(cluster c1#c2)
However, I've noticed that there exists the possibility of running the following command
reghdfe depvar indepvars, a(fe1 fe2) vce(cluster c1 c2)
Here is my doubt: what kind of clusterisation does vce(cluster c1 c2) imply and in which sense does it differ from vce(cluster c1#c2)?
Thanks for your help,
Filippo
Related Posts with Different way of clustering with reghdfe
what did Stata do when we run a regression on unbalaned data?I am learning how to run a difference in difference model, and my code is areg y treat1996-evergm199…
Multiple modesHi everyone, I have a dataset that looks like below. For each of the IDs, there are multiple locati…
dis inrange(-1,0,1) gives 0 but should give 1I am working with dates of birth of children before the mothers are diagnosed with a disease. In a w…
repeated time values within panelHi all, I have sectoral data (isiccomb1) per year and country. I am getting the error message "repe…
How to model sibling fixed effect?Dear all, I have cross-sectional data that include siblings. Now I need to run an analysis that usi…
Subscribe to:
Post Comments (Atom)
0 Response to Different way of clustering with reghdfe
Post a Comment