Question: Hypotheses and test statistic for top spas. Refer to Exercise. State appropriate null and alternative hypotheses for this setting and calculate the value of W, the test statistic.
Exercise: Numbers of rooms in top spas. A report of a readers' poll in Condé Nast Traveler magazine ranked 36 top resort spas. Let Group A be the top-ranked 18 spas, and let Group B be the next 18 rated spas in the list. A simple random sample of size 5 was taken from each group, and the number of rooms in each selected spa was recorded. Here are the data:
Group A 552 448 68 243 30
Group B 329 780 560 540 240
Rank all the observations together and make a list of the ranks for Group A and Group B.