5. (14 points) Suppose we are comparing samples X = (1, 2, 4, 6) and Y = (3, 5, 7, 8, 9, 10). We wish to test the hypoth
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
5. (14 points) Suppose we are comparing samples X = (1, 2, 4, 6) and Y = (3, 5, 7, 8, 9, 10). We wish to test the hypoth
5. (14 points) Suppose we are comparing samples X = (1, 2, 4, 6) and Y = (3, 5, 7, 8, 9, 10). We wish to test the hypothesis that they come from the same distribution. (a) Analytically find the p-value of a two-sided Wilcoxon or Mann-Whitney test of the hypothesis. (Note: You must show how to calculate the p-value by hand, in order to receive full credit. You could use the R function to conduct the test and check your answer. But presenting R results only will receive 0 point.) (b) Find, either analytically or by simulation, the p-value of a permutation test of the hypothesis (i.e., a test with statistic X - Y). iid
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!