Skip to content

Commit f7bde1e

Browse files
committed
add the do operator to make the intervention more clear
1 parent cfee6f1 commit f7bde1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/knowledgebase/quasi_dags.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -675,20 +675,20 @@
675675
"- $Y_1^{(1)}$ is the potential outcome if the unit receives treatment ($T=1$).\n",
676676
"- $Y_1^{(0)}$ is the potential outcome if the unit does not receive treatment ($T=0$).\n",
677677
"\n",
678-
"For treated units ($T=1$):\n",
678+
"For treated units:\n",
679679
"\n",
680680
"$$\n",
681681
"\\begin{aligned}\n",
682-
"Y_1^{(1)} = \\mathbb{E}[Y_1 \\,|\\, T=1, Y_0, \\mathbf{X}] &= \\alpha + 1 \\tau \\times + \\gamma Y_0 + \\mathbf{X}\\\\\n",
682+
"Y_1^{(1)} = \\mathbb{E}[Y_1 \\,|\\, \\text{do}(T=1), Y_0, \\mathbf{X}] &= \\alpha + 1 \\tau \\times + \\gamma Y_0 + \\mathbf{X}\\\\\n",
683683
" &= \\alpha + \\tau + \\gamma Y_0 + \\mathbf{X}\\boldsymbol\\beta\n",
684684
"\\end{aligned}\n",
685685
"$$\n",
686686
"\n",
687-
"For untreated units ($T=0$):\n",
687+
"For untreated units:\n",
688688
"\n",
689689
"$$\n",
690690
"\\begin{aligned}\n",
691-
"Y_1^{(0)} = \\mathbb{E}[Y_1 \\,|\\, T=0, Y_0, \\mathbf{X}] &= \\alpha + 0 \\tau + \\gamma Y_0 + \\mathbf{X}\\boldsymbol\\beta\\\\\n",
691+
"Y_1^{(0)} = \\mathbb{E}[Y_1 \\,|\\, \\text{do}(T=0), Y_0, \\mathbf{X}] &= \\alpha + 0 \\tau + \\gamma Y_0 + \\mathbf{X}\\boldsymbol\\beta\\\\\n",
692692
" &= \\alpha + \\gamma Y_0 + \\mathbf{X}\\boldsymbol\\beta\n",
693693
"\\end{aligned}\n",
694694
"$$\n",

0 commit comments

Comments
 (0)