Skip to content

Commit 5c8bf4c

Browse files
committed
add clarification about _conditional_ posterior predictive
1 parent 10c5622 commit 5c8bf4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/generalized_linear_models/GLM-simpsons-paradox.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@
810810
"source": [
811811
"The plot on the left shows the data and the posterior of the **conditional mean**. For a given $x$, we get a posterior distribution of the model (i.e. of $\\mu$).\n",
812812
"\n",
813-
"The plot in the middle shows the **posterior predictive distribution**, which gives a statement about the data we expect to see. Intuitively, this can be understood as not only incorporating what we know of the model (left plot) but also what we know about the distribution of error.\n",
813+
"The plot in the middle shows the conditional **posterior predictive distribution**, which gives a statement about the data we expect to see. Intuitively, this can be understood as not only incorporating what we know of the model (left plot) but also what we know about the distribution of error.\n",
814814
"\n",
815815
"The plot on the right shows our posterior beliefs in **parameter space**."
816816
]

examples/generalized_linear_models/GLM-simpsons-paradox.myst.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ plot(idata1)
245245

246246
The plot on the left shows the data and the posterior of the **conditional mean**. For a given $x$, we get a posterior distribution of the model (i.e. of $\mu$).
247247

248-
The plot in the middle shows the **posterior predictive distribution**, which gives a statement about the data we expect to see. Intuitively, this can be understood as not only incorporating what we know of the model (left plot) but also what we know about the distribution of error.
248+
The plot in the middle shows the conditional **posterior predictive distribution**, which gives a statement about the data we expect to see. Intuitively, this can be understood as not only incorporating what we know of the model (left plot) but also what we know about the distribution of error.
249249

250250
The plot on the right shows our posterior beliefs in **parameter space**.
251251

0 commit comments

Comments
 (0)