I'm running the following code:
The treatment effect is exactly the same, both the coefficient and the standard error.
The time fixed-effects are exactly the same (both coefficient and standard error).
However, there are two differences:
1. The `didregress` output do not report group fixed-effects (Group ID).
2. The intercept is slightly different. For `didregress`, the estimated intercept is 3.445 with a standard error of (0.011).
While in `regress` the coefficient equals 3.172 with a standard error of (0.017)
Why there are these differences between these 2 models?
Code:
clear all webuse hospdd, clear didregress (satis) (procedure), group(hospital) time(month) estimates store model1 regress satis i.hospital i.month i.procedure, cluster(hospital) estimates store model2 etable
The time fixed-effects are exactly the same (both coefficient and standard error).
However, there are two differences:
1. The `didregress` output do not report group fixed-effects (Group ID).
2. The intercept is slightly different. For `didregress`, the estimated intercept is 3.445 with a standard error of (0.011).
While in `regress` the coefficient equals 3.172 with a standard error of (0.017)
Why there are these differences between these 2 models?

Comment