Skip to content

Commit 79ecc09

Browse files
committed
Merge branch 'main' of github.com:statisticalbiotechnology/dsbook
2 parents 004daa6 + 3f3e8a9 commit 79ecc09

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dsbook/statistics/multiple.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "1c634eaa",
5+
"id": "0",
66
"metadata": {},
77
"source": [
88
"# Multiple Hypothesis Corrections\n",
@@ -137,7 +137,7 @@
137137
{
138138
"cell_type": "code",
139139
"execution_count": null,
140-
"id": "a6b0beaf",
140+
"id": "1",
141141
"metadata": {
142142
"tags": [
143143
"hide-input"
@@ -189,7 +189,7 @@
189189
},
190190
{
191191
"cell_type": "markdown",
192-
"id": "97c48585",
192+
"id": "2",
193193
"metadata": {},
194194
"source": [
195195
"In the plot above, we simulate $p$ values for a large number of hypotheses (1,000 in this case). Half of these hypotheses represent **nulls** (meaning there is no effect), while the other half represent **alternative hypotheses** (meaning there is a true effect).\n",
@@ -217,7 +217,7 @@
217217
"\n",
218218
"When applying a significance threshold, we aim to find a balance between detecting true effects and minimizing errors. Specifically, we want to find a threshold that provides a good proportion of true findings while controlling the **False Discovery Rate (FDR)**.\n",
219219
"\n",
220-
"The **FDR** is defined as the expected proportion of false positives among all rejected hypotheses. Mathematically, it is approximately:\n",
220+
"The **FDR** is defined as the expected proportion of false positives among all rejected null hypotheses. This is approximately:\n",
221221
"\n",
222222
"```{math}\n",
223223
"\\text{FDR} \\approx \\frac{\\text{FP}}{\\text{TP + FP}}\n",

dsbook/statistics/multiple.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ In hypothesis testing, we want to determine a **threshold** that can help us ide
209209

210210
When applying a significance threshold, we aim to find a balance between detecting true effects and minimizing errors. Specifically, we want to find a threshold that provides a good proportion of true findings while controlling the **False Discovery Rate (FDR)**.
211211

212-
The **FDR** is defined as the expected proportion of false positives among all rejected hypotheses. Mathematically, it is approximately:
212+
The **FDR** is defined as the expected proportion of false positives among all rejected null hypotheses. This is approximately:
213213

214214
```{math}
215215
\text{FDR} \approx \frac{\text{FP}}{\text{TP + FP}}

0 commit comments

Comments
 (0)