A two-group comparison has groups too large to enumerate, so the permutation distribution is approximated by drawing B=999B = 999B=999 relabellings at random. Among those 999999999 sampled relabellings, 999 give a test statistic at least as extreme in absolute value as the observed one.
Report the Monte Carlo estimate of the two-sided p-value, using the standard estimator that includes the observed labelling itself. Enter a decimal number to four decimal places.
Give your answer as a number.
Unlock full course notes by signing up
Permutation Test: difficulty 4
Answer all four parts.
(1) State the null hypothesis a two-group permutation test actually tests, and explain what exchangeability of the labels means and where it comes from.
(2) A comparison gives group A: 20, 2420,\ 2420, 24; group B: 13, 15, 1813,\ 15,\ 1813, 15, 18. Using the difference in group means, enumerate the permutation distribution and compute the exact two-sided p-value. Show enough of the enumeration to justify the count.