馃攳
Event-Study Plots: Suggestions - YouTube
Channel: unknown
[2]
welcome back to our series on聽
visualization identification and estimation聽聽
[6]
in the linear panel events study design
in this video we're going to think about聽聽
[10]
ways to make event study plots more informative
in the previous video in this series on "event聽聽
[16]
study plots: basics" jorge introduced you聽
to the estimating equation that underlies聽聽
[21]
our plots which is repeated over here
jorge further explained the interpretation聽聽
[25]
of this equation and its relationship聽
to a standard distributed lag model聽
[30]
if this equation looks new to you i聽
encourage you to take a look at the video聽聽
[33]
"event study plots: basics" before proceeding
to quickly recap y is the outcome variable of聽聽
[39]
interest here z denotes the policy variable and we聽
will continue to refer to k as event time and the聽聽
[45]
vector delta as the event time path of the outcome
what that means is that we can plot delta against聽聽
[50]
k and what we get is our typical event study plot聽
and this typical plot may look something like this聽
[57]
so today i'm going to talk about a number聽
of suggestions for the construction of聽聽
[60]
these very plots and our hope is that these聽
make your event study plots more informative聽
[65]
many of these are common聽
practice already some less so聽聽
[70]
the first thing i want to talk about is that聽
by construction the z terms on the previous聽聽
[74]
estimating equation are going to be collinear聽
so what that means is that not all deltas are聽聽
[79]
going to be identified and we're going to聽
have to impose some sort of normalization聽
[84]
so our first suggestion which is already somewhat聽
common practice is to normalize the coefficient聽聽
[89]
immediately preceding any anticipatory effect聽
and often that means the coefficient at minus one聽聽
[95]
so here the treatment happens at event time聽
zero so this is when the event happens and we聽聽
[101]
normalize the coefficient at minus one immediately聽
preceding the event we think that the first lead聽聽
[105]
is a good default because this enables convenient聽
tests of hypothesis relative to event time minus聽聽
[111]
one throughout the next few slides i will use the聽
two examples depicted here as running examples聽聽
[118]
you can think of them as two separate hypothetical聽
data sets that you might encounter in practice聽
[123]
on the left hand side over here we have an event聽
study path that is generally decreasing in event聽聽
[128]
time but on the right hand side we have an聽
identical pattern pre-event so these point聽聽
[133]
estimates are exactly the same as on the聽
left-hand side then a jump at event time聽聽
[137]
before this negative trend sort of continues
now if i look at these plots i might like to聽聽
[142]
know something about the economic as well as聽
the statistical significance of my estimates聽
[147]
these plots make that hard to discern partly聽
because it doesn't convey anything about the聽聽
[151]
overall level of the dependent variable and so聽
what i mean by that is that the policy effect聽聽
[156]
might be very small but precisely estimated聽
here thus it might be statistically significant聽聽
[161]
but not economically meaningful this brings us to聽
our second recommendation which is to add a label聽聽
[168]
to your plot that indicates the average value聽
of the outcome corresponding to the normalized聽聽
[173]
coefficient with staggered adoption and no聽
anticipatory effects this would simply be聽聽
[178]
the average value of the outcome of interest聽
in the period immediately preceding the event聽
[185]
for example here knowing that the outcome takes聽
on a value of around 42 as indicated by the聽聽
[190]
labels up here might be helpful in deciding聽
the economic significance of the effect
[197]
now our next suggestion addresses the fact that聽
pointwise confidence intervals are appropriate聽聽
[203]
only for testing pre-specified pairwise hypotheses聽
so for example looking at the two figures up here聽聽
[210]
and ex post concluding that there's a significant聽
pre-trend because the coefficient at minus five聽聽
[214]
right here is significantly different from聽
zero is generally invalid because likely this聽聽
[221]
is not the type of pre-specified hypothesis we聽
were interested in when we ran this event study聽聽
[226]
and so more generally since we're depicting聽
the entire event time path on our event plot聽聽
[231]
we might want to also visualize what type of聽
event time paths are consistent with the data here聽聽
[236]
so considering the entire path rather than聽
a single pre-specified component of it聽
[242]
in order to do that we suggest to add聽
uniform confidence bands to your plots.聽
[247]
in particular we found sup t-bands both聽
computationally and visually convenient聽聽
[251]
now i'm not going to go into too聽
much detail about these today聽聽
[255]
but note that our package xtevent has an option聽
to simply add them to your plots automatically聽聽
[260]
and intuitively the idea is that these聽
uniform bands give us a way to think about the聽聽
[264]
plausibility of the entire event time path so for聽
instance going back to the specific examples here聽聽
[271]
based on the pointwise confidence intervals聽
you might have concluded that the lead at -5聽聽
[275]
again take this coefficient聽
over here might be significant聽聽
[278]
now the correct confidence bands to use here are聽
probably the uniform ones and they actually cover聽聽
[283]
zero in all five pre-periods as indicated by the聽
sort of outer edges of those lines of the bands
[294]
so for example consider an聽
event time path that is zero聽聽
[298]
everywhere leading up to the event聽
so it would look something like this聽
[304]
the uniform bands sort of suggest聽
that you can't actually reject聽聽
[307]
that that is sort of a plausible path that聽
the outcome might take in population here聽聽
[314]
so it's not clear this part聽
is rejected by the data
[319]
now there are a few hypothesis tests聽
that are generally of particular interest聽聽
[322]
one is this test for pre-trends that i alluded to聽
already and relating this back to the estimating聽聽
[327]
model again the model if true implies that聽
leads further than g leads should all be zero聽聽
[333]
so our next suggestion is to include聽
the p-value for this test on the plot聽聽
[340]
so of course so this was done over here聽
and corresponds to this .22 over here and聽聽
[346]
corresponds to the p-value that all of the聽
coefficients pre-event are equal to zero聽
[351]
of course similarly the model also implies that聽
lags further out than m lags should be zero聽聽
[356]
so we also suggest to include the p-value聽
for a similar test of where the dynamics聽聽
[360]
have leveled off at event time m and this聽
is indicated by the second p-value down here聽
[366]
now one of the reasons i think economists聽
like these type of events study plots聽聽
[370]
is that we may have intuitions about what they聽
look like when the policy is having an effect聽聽
[374]
versus what they look like when there聽
is no policy effect but there's some聽聽
[379]
sort of confound going on masquerading as a聽
statistically significant effect of the policy聽聽
[383]
in some form of static summary statistic
so for example you might see a significant聽聽
[388]
static effect in the table for this figure here聽
in a specification with a simple post-event聽聽
[393]
dummy right because you get something聽
negative and statistically significant聽聽
[398]
but the fact that you can basically fit a聽
straight line through all of these confidence聽聽
[402]
intervals right here likely gives you some pause
the uniform confidence intervals are already聽聽
[408]
helpful for that but we've developed this idea聽
a little bit further with our next suggestion
[415]
so for this suggestion we suggest to explicitly聽
show something about what kinds of confounds聽聽
[419]
are consistent with the estimated event聽
time path of the outcome in your plots
[424]
in particular we suggest that the least wiggly聽
confound that is consistent with the null of聽聽
[429]
no treatment effect where consistent here聽
means that we can't reject the confound聽聽
[434]
path through a wald test so for instance if we聽
look at the two concrete examples here again聽聽
[439]
on the left hand side we cannot reject聽
that the true event time path follows this聽聽
[443]
essentially straight line from beginning to聽
end of the figure so therefore we might think聽聽
[449]
that this plot doesn't show very strong聽
evidence of a causal effect of the policy
[453]
on the other hand looking at this plot on the聽
right hand side here it seems much harder to chalk聽聽
[458]
up this jump at event time we see to confounding聽
alone - the smoothest path we can find that can聽聽
[464]
fit the data here and that's not rejected by a聽
wald test still looks pretty wiggly so you have聽聽
[468]
to have these kind of compound dynamics going on聽
to explain this type of observed event type path
[478]
of course these type of judgments are聽
context dependent because in different聽聽
[481]
settings different confounds and different聽
dynamic effects the policy might be plausible聽聽
[485]
but either way i think that in a lot of situations聽
including this type of curve can help your readers聽聽
[490]
form useful intuitions about what sort聽
of confounds are consistent with the data
[494]
so to give you some intuition our procedure聽
essentially works as follows we first try to fit聽聽
[499]
a straight line to the estimated coefficients聽
so roughly you can think of this thing on the聽聽
[503]
left here if such a straight line exists where聽
an f-test cannot reject that in population the聽聽
[508]
event time path follows that line we're done聽
and we add that straight line to the figure
[513]
if no such straight line exists聽
we try to fit a quadratic term聽聽
[517]
if that's feasible we use the quadratic term with聽
the lowest curvature and add that to the figure聽聽
[522]
if it's not feasible we add a cubic term and so on
[526]
again this is implemented in xtevent聽
in stata and in fact before i conclude聽聽
[530]
this video now let me quickly give you a quick聽
sense of of how our accompanying stata package聽聽
[535]
facilitates the adoption of the suggestions聽
we just discussed including the smoothest line
[546]
so i have preloaded an example data set here聽
that use the same notation for all variables that聽聽
[552]
we've seen in the slides and so to run an event聽
study here i simply type xtevent i declare the聽聽
[558]
outcome variable of interest i declare聽
the panel variable which is denoted by i聽聽
[564]
similar i declare t as the time variable聽
the policy variable is indicated by z
[574]
i have to define the window length
[578]
and that runs my my specification
[581]
now to look at the corresponding event study plots聽
i simply type xteventplot and that pulls up this聽聽
[588]
figure right here and you note that it includes聽
uniform bands includes the label indicating the聽聽
[592]
value of the outcome variable and it includes the聽
p-values we discussed earlier below the figure
[597]
now we can also add the confound dynamics聽聽
[605]
so the smoothest line that we聽
just discussed to this figure
[607]
to do so you simply write xteventplot聽
and you add smoothest path聽聽
[614]
and we're going to do so using a line and you聽
get this figure over here and so in this case聽聽
[622]
what this figure tells you is that you need a very聽
wiggly confound to explain the event time path of聽聽
[626]
the outcome if there was no treatment effect
so this is the kind of confound that you would聽聽
[630]
need to explain the observed event time path under聽
the null of no treatment effect and with that聽聽
[637]
i'd like to thank you for watching this video and聽
i hope you find this helpful for your research
Most Recent Videos:
You can go back to the homepage right here: Homepage





