On the 1st anniversary of my twitter account, I'm happy to share w/the #EconTwitter community our #stata commands for event studies:

did_imputation: robust and efficient imputation estimator

event_plot: event study plots after various estimation methods

github.com/borusyak/did_i…
I’ve discussed did_imputation in the 🧵 on our paper w/@XJaravel and @jannspiess

Key points: the estimator is
- robust to heterogeneous effects
- efficient under homoskedasticity
- transparent
- robust to pre-testing
- works w/controls, triple-diffs, etc

Now on the plotting command:

With event_plot, you can make event study plots for at least 5 methods:
- our did_imputation
- robust estimators of @CdeChaisemartin-D’Haultfoeuille, Callaway-@pedrohcgs, Sun-Abraham
- traditional OLS

And combine them with each other if you wish! 5 event study estimators us...
On this figure you can see:

- how precise each event study estimator is (which of course depends on the DGP)
- how long estimation takes
- how dynamic OLS is biased with heterogeneous effects (Sun-Abraham’s result)
This is likely the first time all estimators are on one graph. The code is on github for you to use in any application!

But don’t overlook the differences in assumptions, properties & interpretation of coefs (e.g. which reference groups are used for causal effects & pre-trends)
Comments and feedback on both commands and on our paper with @XJaravel and @jannspiess are most welcome!

And special thanks to @kylefbutts for the help with preparing the helpfiles for both commands

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Kirill Borusyak

Kirill Borusyak Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @borusyak

Jun 23, 2021
📢 I’d like to share with #TradeTwitter a 🧵 on what @XJaravel and I have learned about the unequal effects of international trade through both cost-of-living and wages in the U.S.

For those of you who have seen my JMP, this is a much-revised draft

dropbox.com/s/eiygfth61vp4… Image
@XJaravel Let’s start with the effects on costs-of-living, which are understood less well

Who benefits more from lower prices of imports in the US?

A typical guess & prior estimates: poor consumers who buy more tradable goods, esp. from China

So trade could REDUCE (real) inequality
@XJaravel But has it actually been documented who buys imported products and benefit when they become cheaper?

Not much, and that’s what we do as accurately as we can!

We measure import shares of spending across income and education groups using several newly linked datasets
Read 13 tweets
May 18, 2021
🥁 I’m thrilled to announce our paper w/@XJaravel and @jannspiess, “Revisiting Event Studies: Robust and Efficient Estimation” 🥁

It’s a fully revised version of our 2017 draft that the diff-in-diff loving audience may have seen

dropbox.com/s/y92mmyndlbku… Image
@XJaravel @jannspiess Event studies are diff-in-diff research designs with staggered adoption of treatment:

- Units in a panel get treated at different times (and stay treated forever)
- Some units may be never treated

We are interested in heterogenous or dynamic treatment effects
What do we do?

1) Clarify the assumptions behind event studies
2) Discuss problems with conventional OLS estimation, arising because the assumptions get conflated
3) Derive a robust & efficient "imputation" estimator, inference for it & a new pre-trend test (Stata code included)
Read 18 tweets
Sep 16, 2020
New WP: “Non-Random Exposure to Exogenous Shocks” (w/ @autoregress). Summary 🧵:

Papers often estimate causal effects by leveraging exogenous shocks that affect many observations jointly, to different extents

We show problems w/this & offer new solutions
dropbox.com/s/brhuxe1b1k8x… Image
Examples:

- New railroad construction affects all regions via increased market access

- State-level policies affect different people depending on demographics

- Trade shocks affect different regions

- Shocks propagate through networks.

(More in the paper!) Image
We discuss a likely bias in such settings due to non-random exposure to exogenous shocks

Imagine randomly connecting regions by roads, as in an RCT. These random shocks increase market access. But a regression on MA growth may suffer from omitted varables bias (OVB). Why? Image
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(