Event Study

Use this skill whenever the user wants to conduct an event study, create event study plots, test for parallel trends, implement difference-in-differences designs, or work with any panel data estimation that involves pre/post treatment comparisons. Trigger on phrases like "event study", "parallel trends", "pre-trends", "dynamic treatment effects", "leads and lags", "TWFE", "two-way fixed effects", "staggered adoption", "staggered treatment", "difference-in-differences", "DiD", "Sun and Abraham", "Callaway and Sant'Anna", "de Chaisemartin", "Borusyak", "did_multiplegt", "fixest", "did2s", "bacon

36 stars 11 forksLearning & Education

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dariia-m/my_claude_skills --skill event-study
Manual install
git clone --depth 1 https://github.com/dariia-m/my_claude_skills.git /tmp/my_claude_skills
mkdir -p ~/.claude/skills
cp -r /tmp/my_claude_skills/event-studies ~/.claude/skills/event-study

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Event Study Skill

This skill covers everything needed to conduct event studies in R - from the traditional
two-way fixed effects (TWFE) approach through modern robust estimators that handle
staggered treatment timing and heterogeneous treatment effects.

## When to Use This Skill

Use this skill when the user wants to:
- Create event study plots (coefficient plots around a treatment event)
- Test for parallel pre-trends in a difference-in-differences design
- Estimate dynamic treatment effects
- Work with staggered treatment adoption (units treated at different times)
- Implement any of the modern DiD estimators (Callaway & Sant'Anna, Sun & Abraham, etc.)
- Diagnose problems with TWFE under treatment effect heterogeneity

## Quick Decision Tree

Before writing any code, determine the user's situation:

1. **Is treatment timing the same for all treated units?**
   - Yes → Traditional TWFE event study is fine. See `traditional-event-study.md`
   - No (staggered) → Go to step 2.

2. **Is there reason to expect heterogeneous treatment effects across cohorts or over time?**
   - No strong reason → Traditional TWFE may still be OK, but consider robust alternatives.
   - Yes or unsure → Use a robust estimator. See `modern-extensions.md`

3. **What is the user's goal?**
   - Quick visualization of pre-trends → Traditional approach, fast and familiar.
   - Publication-quality estimation → Recommend a robust estimator + traditional as comparison.
Read the full skill on GitHub

Details

Skill name
event-study
Path
event-studies/SKILL.md
License
MIT
Repo updated
16 November 2026

FAQ

What does the Event Study skill do?

Use this skill whenever the user wants to conduct an event study, create event study plots, test for parallel trends, implement difference-in-differences designs, or work with any panel data estimation that involves pre/post treatment comparisons. Trigger on phrases like "event study", "parallel trends", "pre-trends", "dynamic treatment effects", "leads and lags", "TWFE", "two-way fixed effects", "staggered adoption", "staggered treatment", "difference-in-differences", "DiD", "Sun and Abraham", "Callaway and Sant'Anna", "de Chaisemartin", "Borusyak", "did_multiplegt", "fixest", "did2s", "bacon

How do I install the Event Study skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add dariia-m/my_claude_skills --skill event-study. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Event Study popular?

It lives in dariia-m/my_claude_skills, which has 36 GitHub stars and 11 forks.

Related skills

Academic Paper Verify

36

dariia-m/my_claude_skills

Thoroughly verify all code, tables, figures, modeling decisions, and quantitative claims in an academic paper against its source R scripts and output files. Use this skill whenever you need to audit, replicate, or verify an academic research paper - including cross-checking LaTeX tables against R output, validating econometric modeling choices, ensuring sample sizes are consistent, building a verification manifest, and running automated replication tests. Trigger this skill for any mention of: paper verification, replication check, table audit, code-paper consistency, reproducing results, veri

Research & Science11

Academic Writing

36

dariia-m/my_claude_skills

Activate when the user is drafting any academic economics content from scratch (e.g., outlines, abstracts, introductions, data/methods/identification sections, results narratives, conclusions, referee responses, table/figure captions) and needs economics-specific structure, phrasing options, and quality checks to produce publication-ready prose.

Research & Science11

Anti Hallucination

36

dariia-m/my_claude_skills

ALWAYS activate this skill. Apply these rules to every task regardless of domain. This skill governs how Claude Code verifies information, writes code, references documentation, and avoids fabricating functions, arguments, APIs, file paths, data structures, or facts. These rules override any inclination to guess.

Writing & Content11

Learn From This

62

ElliotJLT/Claude-Skill-Potions

When a session contains a significant failure, misunderstanding, or repeated mistake, analyse the root cause and draft a new skill that would have prevented it. The skill library should grow from real failures, not hypothetical improvements. Every painful debugging session is a skill waiting to be written.

Learning & Education

Understanding Check

48

harvard-lil/lawskills-hub

Helps law students check their understanding of course material, test whether they grasp key concepts, identify gaps in their knowledge, or review what they've learned so far in a class. Use when the student wants to verify comprehension, diagnose weak spots, or assess readiness before an exam or the next class.

Learning & Education

Skill Forge

62

ElliotJLT/Claude-Skill-Potions

When Claude discovers a non-obvious solution, unusual pattern, or hard-won insight during a session, automatically forge it into a new skill. Don't just note the learning - create the actual skill file so future sessions benefit immediately. This is the flywheel: work → discovery → skill → smarter future sessions → repeat.

Learning & Education

Browse the most popular Claude skills, all learning & education skills, or write your own with the skills generator.