Dear all
I am estimating IV model. I would like to cluster at the village level
We have only two villages.
Both x and z are dummy variables and we have x=1 and z=1 in both villages.
When I estimate
xi: ivreg2 y (x=z) i.village , cluster (village)
I got the following error message.
"Warning: estimated covariance matrix of moment conditions not of full rank.
overidentification statistic not reported, and standard errors and
model tests should be interpreted with caution.
Possible causes:
number of clusters insufficient to calculate robust covariance matrix
singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
partial option may address problem."
This sounds that clustering by only two village is not feasible.
However, if I estimate OLS
xi: y x i.village, cluster (village)
It works.
"partial option" did not help.
Can somebody give me advice on why this happen?
Thank you very much!
Related Posts with clustered standard error with IV
Building a panel dataset from individual level data using loopsHi guys, I am quite new to Stata and I can't find a solution to the following problem: I am workin…
Generating values in a variable through two other variables in the datasetHi! I need help to create the values in a variable automatically from two other variables. My data …
RE model with AR(1), heteroskedasticity, and serial correlationHello everyone! My name is Evgeny and i want to ask you to help me. In my panel data a RE model was …
Panel Date IV Regression, Fixed EffectsHello! I am running an IV Fixed Effects Regression with Panel Data. I have t=4 (1995-1998), N=550 d…
Box plot - Only lable Most extreme outliersDear Statalists, after going through several tutorials and information about box plots in Stata, I …
Subscribe to:
Post Comments (Atom)
0 Response to clustered standard error with IV
Post a Comment