I am trying to estimate vote shares of different parties. So, I have 3 parties, each having its own column in the data set. Hence, the sum of vote shares is 1. So, I can estimate only two equations, because otherwise I will get a singular matrix.
So, I have a system of 3 equations and I am using --sureg-- to estimate it.
Code:
sureg (voteshare_party1 voteshare_party2 = X_variables i.fixedeffectvariable1), isure
So, from suggestions on the forum, I used --gsem-- command (cannot use --sem-- because I need to add fixed effects), and my code now is:
Code:
gsem (voteshare_party1 <- X_variables i.fixedeffectvariable1) (voteshare_party2 <- X_variables i.fixedeffectvariable1), covstruct(e.voteshare_party1 e.voteshare_party2, unstructured) nocapslatent vce(cluster Area_level_variable)
However, this kept on running and showing the same likelihood value and (not concave), and so, I had to use iterate(20). Does stopping the iteration in-between give correct results?
My questions:
- Can we cluster standard errors in --sureg--?
- Will --gsem-- be a more efficient way to estimate the equations in my case?
- Does stopping the iteration in-between give correct results?
I am happy to share more context if I haven't explained myself clearly.
Thank You
0 Response to Cluster standard errors in SUR estimation - sureg or gsem?
Post a Comment