Dear all,
I was looking to run a generalized hausman test for panel models with cluster-robust standard errors and found that the -xtoverid- could be used for this purpose. However, as I am applying multiway clustering, I use the vcemway option before my xtreg. This option allows me to run both random effects and fixed effects models with multiway clustering.
The various error messages returned by stata when applying -xtoverid- include "xtoverid not compatible with xtreg model fe", "cluster(): too many variables specified" or "no observations".
I also tried the -rhausman- command which returns error "__000000 not found".
Do you know of a hausman test version that works with multiway clustering?
Thank you and kind regards,
Anna
Related Posts with cluster robust hausman test for multiway clustering
How to count distinct observations by group?Dear experts, I have a dataset like below. I'd like to count distinct firm numbers by province. For…
Dummy variable value dependent on any of the 36 values in a string variableI am a beginner in Stata (ver 16) and need help regarding dummy variable. There is a dummy variable…
Error using esrefline in meta forestplot in Stata 16SEHi I get an error "option esrefline not allowed" "r(198)" using meta forestplot. I have Stata v16SE.…
Manipulating with string variablesHi all, I am using STATA 15.1 and I have a new problem and it is a challenge, at least for me if I …
Duncan Segregation Index with Aggregate DataI'd like to calculate the duncan index of segregation, for occupational gender segregation. In addit…
Subscribe to:
Post Comments (Atom)
0 Response to cluster robust hausman test for multiway clustering
Post a Comment