Page 1 of 1

A bug in the DID?

Posted: Mon Nov 06, 2023 8:08 pm
by kzmh78
Hi, I did the Callaway and Sant'Anna (2021) example on page 1294 of Users Guide2.
Then, on page 1296 of the Users Guide, the coefficient of TREATED is -0.036549, but my estimate is 5.776771 (see eq01).

However, as is, if I do the CS Group-Time Effects on page 1296, I get the results on page 1297 (see spool_eq01).

Is it because my procedure is wrong that the TREATED coefficient is not -0.036549? Or is it an error in EViews13?

Re: A bug in the DID?

Posted: Mon Nov 06, 2023 10:33 pm
by EViews Gareth
Bug in EViews for that initial estimate - thanks for reporting, we'll issue a fix asap.

Re: A bug in the DID?

Posted: Tue Nov 07, 2023 10:23 am
by EViews Gareth
Patch released

Re: A bug in the DID?

Posted: Tue Nov 07, 2023 4:41 pm
by kzmh78
Thank you for releasing the Patch !
I estimate using Nov 7 2023 build ver, the coefficient of TREATED is now -0.036549, as written on page 1296 of the Users Guide2.

Re: A bug in the DID?

Posted: Tue Nov 07, 2023 5:08 pm
by EViews Gareth
Great. You can verify that is the correct number by estimating a two-way fixed effects Least Squares model with a constant and Treated as the regressor.

Command:

Code: Select all

equation eq_test.ls(cx=f, per=f) lemp c treated show eq_test