Hello, I am doing some analysis to different levels using multilevel analysis, I did it, but now I was asked to cluster by country.
I have 3 models, one I am using fracreg and the others xtlogit. I saw that I can use the command vce(cluster), but I am not clear about how to define what to use as clusters. I saw in another forum a vce(cluster industry) command, should I use the same command but country instead of industry?
something like:
xtlogit depvar indvar control var i.year, vce(cluster country)?
could be that correct? I have 40 countries.
using last version of stata.
thank you so much for your kind help!!
best regards
I have 3 models, one I am using fracreg and the others xtlogit. I saw that I can use the command vce(cluster), but I am not clear about how to define what to use as clusters. I saw in another forum a vce(cluster industry) command, should I use the same command but country instead of industry?
something like:
xtlogit depvar indvar control var i.year, vce(cluster country)?
could be that correct? I have 40 countries.
using last version of stata.
thank you so much for your kind help!!
best regards
Comment