Skip to content

Commit da9f77c

Browse files
committed
fix math formatting
1 parent bed06c5 commit da9f77c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/notebooks/event_study_pymc.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@
2525
"An event study analyzes panel data where some units receive treatment at a specific time. Unlike standard difference-in-differences which estimates a single average treatment effect, event studies estimate **separate coefficients for each time period relative to treatment**.\n",
2626
"\n",
2727
"The key concept is **event time** (or relative time):\n",
28+
"\n",
2829
"$$E_{it} = t - G_i$$\n",
2930
"\n",
3031
"where $t$ is the calendar time and $G_i$ is the treatment time for unit $i$.\n",
3132
"\n",
3233
"The model estimates:\n",
34+
"\n",
3335
"$$Y_{it} = \\alpha_i + \\lambda_t + \\sum_{k \\neq k_0} \\beta_k \\cdot \\mathbf{1}\\{E_{it} = k\\} + \\varepsilon_{it}$$\n",
3436
"\n",
3537
"where:\n",

0 commit comments

Comments
 (0)