Skip to content

Commit 411c286

Browse files
authored
fix silly typo in mediation example notebook (#211)
* create truncated regression example * delete truncated regression example from main branch * fix typo
1 parent 04d973b commit 411c286

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/case_studies/mediation_analysis.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"\n",
1212
"This notebook covers Bayesian [mediation analysis](https://en.wikipedia.org/wiki/Mediation_(statistics) ). This is useful when we want to explore possible mediating pathways between a predictor and an outcome variable.\n",
1313
"\n",
14-
"It is important to note that the approach to moderation analysis has evolved over time. This notebook will attempt to use best practice as of now, and is heavily influenced by the approach of Hayes (2018) as set out in his textbook \"Introduction to Mediation, Moderation and Conditional Process Analysis.\""
14+
"It is important to note that the approach to mediation analysis has evolved over time. This notebook will attempt to use best practice as of now, and is heavily influenced by the approach of Hayes (2018) as set out in his textbook \"Introduction to Mediation, Moderation and Conditional Process Analysis.\""
1515
]
1616
},
1717
{
@@ -48,9 +48,9 @@
4848
"id": "tough-drinking",
4949
"metadata": {},
5050
"source": [
51-
"## The moderation model\n",
51+
"## The mediation model\n",
5252
"\n",
53-
"The simple moderation model is very simple where $m$ is a linear function of $x$, and $y$ is a linear function of $x$ and $m$:\n",
53+
"The simple mediation model is very simple where $m$ is a linear function of $x$, and $y$ is a linear function of $x$ and $m$:\n",
5454
"\n",
5555
"$$\n",
5656
"m_i \\sim \\mathrm{Normal}(i_M + a \\cdot x_i, \\sigma_M)\n",
@@ -863,7 +863,7 @@
863863
"name": "python",
864864
"nbconvert_exporter": "python",
865865
"pygments_lexer": "ipython3",
866-
"version": "3.8.5"
866+
"version": "3.9.6"
867867
}
868868
},
869869
"nbformat": 4,

0 commit comments

Comments
 (0)