mcaceresb / stata-pretrends

Power calculations and visualization of pre-trends tests following Roth (2022). (Stata version of the R package of the same name.)
22 stars 12 forks source link

Baseline Period in Stata #7

Open AMus01 opened 3 months ago

AMus01 commented 3 months ago

Hello Mauricio and Jonathan,

Many thanks for this excellent package. I am using the eventdd package to run an event study, with the baseline as t=-2. My time period starts from -5 and goes up to +8.

Is there a way to do a parallel trends test on those periods before -2 and to have that be reflected in the coefplot? Each time I try to do so, I can't seem to get the linear trend to pass through any time period apart from -1.

jonathandroth commented 3 months ago

I believe you can use the referenceperiod option

On Sun, Aug 18, 2024 at 11:31 AM AMus01 @.***> wrote:

Hello Mauricio and Jonathan,

Many thanks for this excellent package. I am using the eventdd package to run an event study, with the baseline as t=-2. My time period starts from -5 and goes up to +8.

Is there a way to do a parallel trends test on those periods before -2 and to have that be reflected in the coefplot? Each time I try to do so, I can't seem to get the linear trend to pass through any time period apart from -1.

— Reply to this email directly, view it on GitHub https://github.com/mcaceresb/stata-pretrends/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6EXFHMMCSXVTJSXP2Z2ZTZSC46HAVCNFSM6AAAAABMWOTEPGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TEMBSGY3TKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>