Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Using the Kruskal-Wallis Test. In Exercises 5–8, use the Kruskal-Wallis test.

Car Crash Measurements Use the following listed chest deceleration measurements (in g, where g is the force of gravity) from samples of small, midsize, and large cars. (These values are from Data Set 19 “Car Crash Tests” in Appendix B.) Use a 0.05 significance level to test the claim that the different size categories have the same median chest deceleration in the standard crash test. Do the data suggest that larger cars are safer?

Small

44

39

37

54

39

44

42

Midsize

36

53

43

42

52

49

41

Large

32

45

41

38

37

38

33

Short Answer

Expert verified

It can be concluded that there is no difference in the medians of the three samples.

No, it cannot be said that larger cars are safer.

Step by step solution

01

Given information

Three samples are given on the chest deceleration measurements for three car sizes.

02

Hypotheses

The Kruskal-Wallis test is used to test the difference of medians between three or more samples when the populations of the three samples are not necessarily required to follow normal distribution.

The null hypothesis is as follows:

There is no difference in the medians of the threesamples.

The alternative hypothesis is as follows:

There is a difference in the medians of the threesamples.

This is a two-tailed test.

03

Ranks

The ranks of the observations from the three samples are given using the following steps:

  • Combine the threesamples and label each observation with the sample name/number it comes from.
  • The smallest observation is assigned rank 1;the next smallest observation is assigned rank 2, and so on until the largest value.
  • If two observations have the same value, the mean of the ranks is assigned to them.

The following table shows the ranks:

Chest Deceleration

Sample Name

Ranks

44

Small

15.5

39

Small

8.5

37

Small

4.5

54

Small

21

39

Small

8.5

44

Small

15.5

42

Small

12.5

36

Midsize

3

53

Midsize

20

43

Midsize

14

42

Midsize

12.5

52

Midsize

19

49

Midsize

18

41

Midsize

10.5

32

Large

1

45

Large

17

41

Large

10.5

38

Large

6.5

37

Large

4.5

38

Large

6.5

33

Large

2

The sum of the ranks corresponding to the small car size is computed as follows:

\(\begin{array}{c}{R_1} = 15.5 + 8.5 + 4.5 + .... + 12.5\\ = 86\end{array}\)

The sum of the ranks corresponding to the medium car size is computed as follows:

\(\begin{array}{c}{R_2} = 3 + 20 + 14 + .... + 10.5\\ = 97\end{array}\)

The sum of the ranks corresponding to the large car size is computed as follows:

\(\begin{array}{c}{R_3} = 1 + 17 + 10.5 + .... + 2\\ = 48\end{array}\)

04

Determine the sample sizes and the total size of all samples

Here, the sample sizes for all samples are given as:

\({n_1} = {n_2} = {n_3} = 7\)

The total size (N) is given as:

\(\begin{array}{c}N = 7 + 7 + 7\\ = 21\end{array}\)

05

Determine the test statistic

The value of the test statistic is computed as shown below:

\(\begin{array}{c}H = \frac{{12}}{{N\left( {N + 1} \right)}}\left( {\frac{{{R_1}^2}}{{{n_1}}} + \frac{{{R_2}^2}}{{{n_2}}} + \frac{{{R_3}^2}}{{{n_3}}}} \right) - 3\left( {N + 1} \right)\\ = \frac{{12}}{{21\left( {22} \right)}}\left( {\frac{{{{86}^2}}}{7} + \frac{{{{97}^2}}}{7} + \frac{{{{48}^2}}}{7}} \right) - 3\left( {22} \right)\\ = 4.905\end{array}\)

06

Determine the critical value and conclusion of the test

Let k be the number of samples.

Here, k=3.

The degrees of freedom are computed as follows:

\(\begin{array}{c}df = k - 1\\ = 3 - 1\\ = 2\end{array}\)

The critical value of chi-square for\(\alpha = 0.05\)with 2 degrees of freedom is equal to 5.991.

Since the absolute test statistic value is less than the critical value, so the decision is fail to reject the null hypothesis.

It can be concluded that there is no difference in the medians of the three samples.

Since the three samples have equal medians, it can be said that larger cars are not safer than the other cars.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Using the Runs Test for Randomness. In Exercises 5–10, use the runs test with a significance level of\(\alpha \)= 0.05. (All data are listed in order by row.) Law Enforcement Fatalities Listed below are numbers of law enforcement fatalities for 20 recent and consecutive years. First find the mean, identify each value as being above the mean (A) or below the mean (B), then test for randomness above and below the mean. Is there a trend?

183

140

172

171

144

162

241

159

150

165

163

156

192

148

125

161

171

126

107

117

What Are We Testing? Refer to the sample data in Exercise 1. Assuming that we use the Wilcoxon rank-sum test with those data, identify the null hypothesis and all possible alternative hypotheses.

Nominal Data. In Exercises 9–12, use the sign test for the claim involving nominal data.

Stem Cell Survey Newsweek conducted a poll in which respondents were asked if they “favor or oppose using federal tax dollars to fund medical research using stem cells obtained from human embryos.” Of those polled, 481 were in favor, 401 were opposed, and 120 were unsure. Use a 0.01 significance level to test the claim that there is no difference between the proportions of those opposed and those in favor.

In Exercises 1–3, use the data listed below. The values are departure delay times (minutes) for American Airlines flights from New York to Los Angeles. Negative values correspond to flights that departed early.

Flight 1(min)

-2

-1

-2

2

-2

0

-2

-3

Flight 19 (min)

19

-4

-5

-1

-4

73

0

1

Flight 21(min)

18

60

142

-1

-11

-1

47

13

Departure Delay Times Use a nonparametric test to test the claim that the three samples are from populations with the same median departure delay time.

Using the Kruskal-Wallis Test. In Exercises 5–8, 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 20 “Car Measurements” 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

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free