Closed jorpppp closed 2 months ago
@Constantino-Carreto-Romero in https://github.com/JMSLab/xtevent/commit/c9a2fa24cd6c54078616d24c977bc18f37c0e865 I posted a change to post the model degrees of freedom to the baseline regression for you to take a look. From here we can:
Either way should work, so try to see which one would be easier @Constantino-Carreto-Romero
@Constantino-Carreto-Romero in c9a2fa2 I posted a change to post the model degrees of freedom to the baseline regression for you to take a look. From here we can:
- Generalize the code to post all of the results from e() to the base regression
- Set the interacted regression as the base regression for the Sun and Abraham case, and replace the coefficients for that one.
Either way should work, so try to see which one would be easier @Constantino-Carreto-Romero
@jorpppp in https://github.com/JMSLab/xtevent/commit/ff551c3afa616099cedc4c12f39bd8b7bbc52ae6 I implemented the second alternative. The SA estimation flow is as follows:
repostdelta
following this post.
regress
. To be able to post the new regression table I changed cmd
for _coef_table_header
and _coef_table
here.cmd
for _coef_table_header
and _coef_table
. EventStudyInteract
which reports only the event-time coefficients. Thanks @Constantino-Carreto-Romero, this looks good. Opening a PR now.
Summary: In this issue we fixed a bug where header results were incorrect for Sun and Abraham estimation. Thread continues in #219
After estimation via Sun and Abraham's method, the coefficients and standard errors are reposted to an xtevent regression, but other elements are not reposted, such as the degrees of freedom. Because of this, some elements of the header in the estimation results after Sun and Abraham estimation are wrong.