#217 Fix results reposting for Sun and Abraham implementation#219
Conversation
* #210 Changes to xtevent helpfile, enable abbreviations * #210 Changes to other helpfiles * #214 Change ci default style to p1 (#215) (#216) * #210 add link to impute note * #210 minor edit * #210 minor edit to acknowledgements * #210 minor clarification * #210 update description of impute * "#210 revert previous commit" This reverts commit 824b616. * #210 update impute note * #210 revert minor unintended changes * #210 docs to create impute note * #210 #213 Delete issue folder --------- Co-authored-by: Constantino Carreto Romero <carretoromeroc@gmail.com>
|
@Constantino-Carreto-Romero The following returns an error: This error happens because the GMM trend code is trying to adjust the covariance between the other coefficients and the event-time coefficients after adjusting the latter by the trend. The reposting now clears all the other coefficients, so the GMM adjustment code does not find any other coefficients to adjust. So I think two things need to be fixed:
Can you check this please @Constantino-Carreto-Romero ? |
@jorpppp showed the same error message. Therefore, in bddc29b I implemented it, so the program first checks whether there are covariates or a constant in the the regression output. If there are not, the mata code skips adjusting by the covariance with convariates. This is the note for gmm trend extrapolation for reference. produces 1 and 2. |
|
Thanks @Constantino-Carreto-Romero, this looks good. We are only pending the check about saving the results of the interacted regression. I think e(b) and e(V) should save the aggregates, as we are doing now, such that -test- works on the aggregates, but we need to save the full results from the interacted regression too. |
@jorpppp I get the following output. |
|
Thank you @Constantino-Carreto-Romero , this looks good. Did you run the test file again after this last change? |
|
Thank you @Constantino-Carreto-Romero . Merging now. |
Closes #217