Skip to content

Commit 32fbbbb

Browse files
committed
add note box about controversy
1 parent 29f6aba commit 32fbbbb

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

examples/howto/hypothesis_testing.ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@
6565
"We'll work through a scenario where we want to know if the mean of some metric (e.g., monthly profit) is different from zero."
6666
]
6767
},
68+
{
69+
"cell_type": "markdown",
70+
"id": "bf2a9ed5",
71+
"metadata": {},
72+
"source": [
73+
":::{note}\n",
74+
"Many Bayesian practitioners argue that collapsing a rich posterior distribution into a single binary decision (e.g., \"reject\" or \"fail to reject\") undermines the essence of Bayesian inference. The Bayesian perspective values the entire posterior as a nuanced representation of uncertainty about parameters. Reducing it to yes/no decisions discards that nuance and may mislead by oversimplifying the uncertainty involved.\n",
75+
"\n",
76+
"However, in real-world scenarios—such as policy-making, resource allocation, or medical decision-making—practitioners often must choose a single course of action. In such cases, translating the posterior into a decision rule or threshold is necessary. The key is to do so transparently and thoughtfully, ideally incorporating utilities, costs, and the full breadth of uncertainty in the decision process.\n",
77+
":::"
78+
]
79+
},
6880
{
6981
"cell_type": "markdown",
7082
"id": "5c268654",

examples/howto/hypothesis_testing.myst.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ We'll work through a scenario where we want to know if the mean of some metric (
5151

5252
+++
5353

54+
:::{note}
55+
Many Bayesian practitioners argue that collapsing a rich posterior distribution into a single binary decision (e.g., "reject" or "fail to reject") undermines the essence of Bayesian inference. The Bayesian perspective values the entire posterior as a nuanced representation of uncertainty about parameters. Reducing it to yes/no decisions discards that nuance and may mislead by oversimplifying the uncertainty involved.
56+
57+
However, in real-world scenarios—such as policy-making, resource allocation, or medical decision-making—practitioners often must choose a single course of action. In such cases, translating the posterior into a decision rule or threshold is necessary. The key is to do so transparently and thoughtfully, ideally incorporating utilities, costs, and the full breadth of uncertainty in the decision process.
58+
:::
59+
60+
+++
61+
5462
## Setting up the example
5563

5664
Rather than focus on a complex example, we'll pick a trivial one were we are simply estimating the mean of a single variable. This will allow us to focus on the hypothesis testing. The important thing is what we do with our MCMC samples, not the particulars of the model.

0 commit comments

Comments
 (0)