-
Permutation Hypothesis TestingMathematics 2020. 12. 29. 14:05
Tutorial about its theory:
Computational implementation of the theory:
Summary
- Specify $H_0$ (null hypothesis) and $H_1$. For example, $H_0$ : weight gain is irrelevant to a diet.
- Choose a test statistic: (absolute) difference in mean or median.
- Compute a distribution of the test statistic using the permutations of the observed data.
- Compute $p-value$ which is the probability of getting the permutation test statistic same as the observed test statistic or more extreme if the null hypothesis is true.
- If $p-value$ is smaller than the significance level $\alpha$, we can reject the null hypothesis $H_0$.
Note that the test statistic would be close to zero if the weight gain were irrelevant to two groups. If $H_0$ is true, $p-value$ should be relatively large, and if $H_0$ is false, $p-value$ should be fairly small (if it's smaller than $\alpha$, we can reject $H_0$).
'Mathematics' 카테고리의 다른 글
F-ratio (F-statistic), F-distribution, and F-test (0) 2020.12.30 Exponential Distribution (0) 2020.12.28 Bootstrap / Bootstrapping (0) 2020.12.28