Mark Yourself Question
A group-label simulation uses a predeclared difference in medians. Of 1,600 shuffled label assignments, 72 produce an absolute difference at least as large as the observed absolute difference. Calculate the empirical two-sided p-value and give a precise interpretation. Accept a decimal tolerance of plus or minus 0.0005.
Unlock full course notes by signing up
Comparing Two Groups Using Simulation: difficulty 4
Two independent groups have a continuous outcome. (i) State a suitable observed statistic for a two-sided comparison. (ii) Describe one valid label-shuffle simulation iteration. (iii) State how to form the p-value and one design condition needed before interpreting the result causally.