Dear Statalist users,
I have the following situation - I run three versions of xtreg on dataset with uneven panels (ID) and gaps in time (Time):
All three give me exactly the same (identical) results. Digging in the Internet I found out that using "robust" automatically adds "cluster" when FE option is specified, but it still does not explain why all 3 are the same.
P.S.
just to be sure I didn't make any mistake in a code, I also run
and in this case results are very similar, but not identical.
P.S.2
What is the difference between:
and
I have the following situation - I run three versions of xtreg on dataset with uneven panels (ID) and gaps in time (Time):
Code:
xtset ID Time */ 1 xtreg y x1 x2 x3, fe */ 2 xtreg y x1 x2 x3, fe vce(robust) */ 3 xtreg y x1 x2 x3, fe cluster(ID)
All three give me exactly the same (identical) results. Digging in the Internet I found out that using "robust" automatically adds "cluster" when FE option is specified, but it still does not explain why all 3 are the same.
P.S.
just to be sure I didn't make any mistake in a code, I also run
Code:
xtreg y x1 x2 x3, fe vce(conventional)
P.S.2
What is the difference between:
Code:
xtreg y x1 x2 x3, fe vce(cluster ID)
Code:
xtreg y x1 x2 x3, fe cluster(ID)
Comment