JMSLab / xtevent

Stata package -xtevent-
MIT License
43 stars 12 forks source link

store results from the linear pre-trend test in xteventtest #169

Open Constantino-Carreto-Romero opened 7 months ago

Constantino-Carreto-Romero commented 7 months ago

In an email on Jan 22, 2024, a user asked if it was possible to add to the event-study plot the p-value from the test for a linear pre-trend (linpretrend) instead of the p-values from the tests overidentifying restriction. One way to do this would be to take the p-value from the test and add it to the plot with the note option. However, currently xteventtest doesn't save the p-value from the linpretrend option.