Hello Stata Community,
I am using panel data and I want to execute a Hausman test to test Fixed-Effects and Random-Effects. I made the two estimates using the command xtreg with the option vce(cluster id).
I have a problem with the command Hausman fixed random. Baically, it says I cannot run the test if I had previously used xtreg with those options. In particular, this is what Stata shows me.
I searched on the forum and the command xtoverid, cluster(idcode) should be the command I may consider.
I installed it and ran it but it does not work. This is Stata message.
How can I run a Hausman test yo choose between FE e RE if I am using clustered robust standard errors for my panel data analysis?
Thanks in advance.
Regards,
I am using panel data and I want to execute a Hausman test to test Fixed-Effects and Random-Effects. I made the two estimates using the command xtreg with the option vce(cluster id).
I have a problem with the command Hausman fixed random. Baically, it says I cannot run the test if I had previously used xtreg with those options. In particular, this is what Stata shows me.
Code:
. hausman fixed random hausman cannot be used with vce(robust), vce(cluster cvar), or p-weighted data r(198);
I installed it and ran it but it does not work. This is Stata message.
Code:
. xtoverid, cluster(id) Error - must have ivreg2/ivreg29/ivreg28 version 2.1.15 or greater installed r(601);
Thanks in advance.
Regards,
Comment