Repository navigation
Expand file tree
/
Copy pathpermutation-tests.qmd
More file actions
104 lines (65 loc) · 3.33 KB
/
Copy pathpermutation-tests.qmd
File metadata and controls
104 lines (65 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
title: "Permutation Tests"
format:
html: default
revealjs:
output-file: permutation-tests-slides.html
shift-heading-level-by: 1
pdf:
output-file: permutation-tests-handout.pdf
docx:
output-file: permutation-tests-handout.docx
resources:
- data/khan.csv
---
{{< include sds/_subfiles/shared-config.qmd >}}
{{< include sds/_subfiles/permutation-tests/_prose-intro.qmd >}}
# The Khan gene expression data {#sec-permutation-khan-data}
{{< include sds/_subfiles/shared/_load-khan.qmd >}}
# Exchangeability under the null hypothesis {#sec-exchangeability}
<!-- No slidebreak here: the heading shares its slide with the def-exchangeable div. -->
{{< include sds/_subfiles/permutation-tests/_def-exchangeable.qmd >}}
{{< slidebreak >}}
# The permutation distribution and p-value {#sec-permutation-distribution}
## The permutation distribution {#sec-permutation-distribution-def}
<!-- No slidebreak here: the heading shares its slide with the def-permutation-distribution div. -->
{{< include sds/_subfiles/permutation-tests/_def-permutation-distribution.qmd >}}
{{< slidebreak >}}
## The permutation p-value {#sec-permutation-p-value}
<!-- No slidebreak here: the heading shares its slide with the def-permutation-p-value div. -->
{{< include sds/_subfiles/permutation-tests/_def-permutation-p-value.qmd >}}
{{< slidebreak >}}
## Why the permutation p-value is valid {#sec-permutation-validity}
<!-- No slidebreak here: the heading shares its slide with the exr-top-k-count div. -->
{{< include sds/_subfiles/permutation-tests/_exr-permutation-p-valid.qmd >}}
{{< slidebreak >}}
{{< include sds/_subfiles/permutation-tests/_thm-permutation-p-valid.qmd >}}
::: {.reading}
- @hoggtanis2015 [Sec. 8.5, pp. 392--402] covers some distribution-free tests.
- @rice2007mathematical [Sec. 11.2.3, pp. 435--442] covers the Mann--Whitney test.
- @rice2007mathematical [Sec. 11.4.6, p. 456] covers randomization.
:::
{{< slidebreak >}}
# The Monte Carlo approximation {#sec-monte-carlo-permutation}
<!-- No slidebreak here: the heading shares its slide with the def-monte-carlo-p-value div. -->
{{< include sds/_subfiles/permutation-tests/_def-monte-carlo-p-value.qmd >}}
{{< slidebreak >}}
{{< include sds/_subfiles/permutation-tests/_thm-monte-carlo-p-valid.qmd >}}
::: {.reading}
@hoggtanis2015 [Sec. 7.7, pp. 353--360] covers resampling methods.
:::
{{< slidebreak >}}
# Permutation tests and multiple testing {#sec-permutation-multiple-testing}
<!-- No slidebreak here: the heading shares its slide with the exm-permutation-all-genes div. -->
{{< include sds/_subfiles/permutation-tests/_exm-permutation-all-genes.qmd >}}
# Further reading {#sec-permutation-reading}
- Good [@good2005permutation] gives a book-length treatment of permutation tests.
- Phipson and Smyth [@phipson2010permutation] explain why [Monte Carlo permutation p-values](#def-monte-carlo-p-value) need the added 1.
- Chapter 12 of the [*Computational and Inferential Thinking*](https://www.inferentialthinking.com/) textbook for UC Berkeley's Data 8 introduces permutation tests through plain-language A/B testing examples.
- Section 24.2 of Lange's textbook [@lange2010numerical]
covers permutation tests,
with an emphasis on computation.
- Chapter 13 of @james2021islr2e applies permutation and other resampling methods to multiple testing.
# References {.unnumbered}
::: {#refs}
:::