I am an undergraduate management student learning how to conduct research by reading academic papers and studying the code they provide. In a recent paper, the authors mention “two‑way clustering at the province and industry levels” and use this code: reghdfe Y X $Firm_Controls $City_Controls, absorb(year firm year##industry) cluster(province##industry)
However, I remember that two‑way clustering should be specified as cluster(province industry), not cluster(province##industry). Did the authors make a mistake, or am I misunderstanding something?
I am very grateful to anyone who can answer my question.
However, I remember that two‑way clustering should be specified as cluster(province industry), not cluster(province##industry). Did the authors make a mistake, or am I misunderstanding something?
I am very grateful to anyone who can answer my question.
Comment