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
how can I obtain survival ratio?When I conduct "streg", I always get hazard ratio. However, I would like to obtain survival ratio. I…
Reshaping data to SUR formDear Everybody I'm trying to run a SUR regression and need to reshape my data accordingly. The data…
How do I replace a certain value across a dataset that has string as well as numeric variables?Hi everyone, I'm working with a dataset that has hundreds of variables, numeric as well as strings.…
Interpreting psgraph ftaer psmatch2I am employing propensity score matching using community-contributed psmatch2 command. To check for …
Identify All Values in One Variable that Satisfies a ConditionHi Statalist members, I encounter a difficulty in identifying values in one variable that satisfies…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with small number of clusters using reghdfe and vce suboptions
Post a Comment