Hi,
I am using the command reghdfe for two way clustering at the state and time levels. I have two types of models - one with fixed effects (both state and time fixed effects) and one without fixed effects. Both the models need to include two way clustering for standard errors. The problem I am facing is that the number of clusters in my models is small - 7 for states and 36 for the time period. So, reghdfe is not effective in this case by itself.
I came across a post that mentioned the use of suite(mwc) or suite(avar) within vce(cluster). However, when I try to use either of these, Stata shows an error: VCE options not supported and I'm not sure why this is the case and how can it be fixed?
Also, as mentioned, one of my models does not include fixed effects. What is the correct way of using reghdfe with two way clustering when fixed effects are not included in the model?
Thank you!
Related Posts with Problem with small number of clusters using reghdfe and vce suboptions
Benchmarking Stata to Test Speed Across Computers and VersionsAfter helping my son upgrade his gaming machine, I decided it was time to upgrade my 8-year old desk…
Saving multiple Excel files as Stata filesIn "C:\Users\budug\OneDrive\Documents\School\Projects ", I have a few Excel files, namely data_2004,…
Shaded area xtline graphDear Statalisters, Currently I am working on a panel dataset where my probit model predicts either …
Loop to open, keep variables, and join different filesHello, I am struggling with the following task that already kept me bugging for hours. This is the…
Piecewise Regression with a median as a knotDear Stata Users My data is in panle format (firm, time). I need to estimate piesewise linear regre…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with small number of clusters using reghdfe and vce suboptions
Post a Comment