This is regarding the ETREGRESS example in STATA V14 manual (here, Example 6 in page 18).
In Page 18, code for estimating ATET is given as
In Page 17, an alternate code for estimating ATET is given as
The two codes produce different results of ATET. Would you know the difference between the two estimates? Which factors govern which estimate should be used
Thanks
Gouri
In Page 18, code for estimating ATET is given as
Code:
margins, predict(cte) subpop(if ins == 1) vce(unconditional)
Code:
margins r.ins, vce(unconditional) contrast(nowald) subpop(if ins==1)
Thanks
Gouri