use the Kruskal - Wallis test?. Highway Fuel Consumption? Listed below are highway fuel consumption amounts (mi/gal) for cars categorized by the sizes of small, midsize, and large (from Data Set 14 in Appendix B). Using a 0.05 significance level, test the claim that the three size categories have the same median highway fuel consumption. Does the size of a car appear to affect highway fuel consumption? Small??28?26?23?24?26?24?25 Midsize?28?31?26?30?28?29?31 Large??34?36?28?40?33?35?26
Solution 8BSC Step 1 Kruskal-Wallis test satisfies the following two requirements. 1. Sample data must be independent and drawn according to simple random sampling. 2. Each sample must contain minimum of five entries. By using the data from exercise, we see that the samples are drawn at random, where the three samples are independent to each other. Hence the first requirement is satisfied. Now, we see that the sample size of Small is 7, sample size of Midsize is 7 and sample size of Large is 7. Hence the second requirement is satisfied. Therefore, the two requirements of Kruskal-Wallis test are satisfied.