You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/notebooks/did_pymc_banks.ipynb
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -539,6 +539,25 @@
539
539
"The only change here compared to the classic 2$\\times$2 DiD model above is the addition of a main effect of `year`. Because this is coded numerically (not categorically) this can capture any linear changes in the outcome variable over time."
540
540
]
541
541
},
542
+
{
543
+
"cell_type": "markdown",
544
+
"metadata": {},
545
+
"source": [
546
+
"We will use the formula: `bib ~ 1 + year + district*post_treatment` which equates to the following model of expected values:\n",
"The only change here compared to the classic 2$\\times$2 DiD model above is the addition of a main effect of `year`. Because this is coded numerically (not categorically) this can capture any linear changes in the outcome variable over time."
0 commit comments