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

Arsenic in Rice Listed below are amounts of arsenic in samples of brown rice from three different states. The amounts are in micrograms of arsenic and all samples have the same serving size. The data are from the Food and Drug Administration. Use a 0.01 significance level to test the claim that the three samples are from populations with the same median.

Arkansas

4.8

4.9

5

5.4

5.4

5.4

5.6

5.6

5.6

5.9

6

6.1

California

1.5

3.7

4

4.5

4.9

5.1

5.3

5.4

5.4

5.5

5.6

5.6

Texas

5.6

5.8

6.6

6.9

6.9

6.9

7.1

7.3

7.5

7.6

7.7

7.7

Short Answer

Expert verified

There is not enough evidence to support the claim that thethree samples come from populations with the same median.

Step by step solution

01

Given information

Three samples are given showing the amount of arsenic present in brown rice servings of the three different states.

The significance level is 0.01.

02

Hypotheses

The Kruskal-Wallis test is used to test the difference of medians between the given threesamples.

The null hypothesis is as follows:

The three samples are obtained from populations with the same median.

The alternative hypothesis is as follows:

The three samples are obatined from populations with different medians.

This is a two-tailed test.

03

Assign ranks and calculate the sum of the ranks

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

  • Combine the three samples and tag the sample name against each observation.
  • Ranks are assigned to all observations. The smallest observation is assigned a rank of 1; the next smallest observation is assigned a rank of 2, and so on.
  • If two observations have the same value, the mean of the ranks is assigned to them.

The following table shows the ranks:

Amount of Arsenic

City Name

Ranks

4.8

Arkansas

5

4.9

Arkansas

6.5

5

Arkansas

8

5.4

Arkansas

13

5.4

Arkansas

13

5.4

Arkansas

13

5.6

Arkansas

19.5

5.6

Arkansas

19.5

5.6

Arkansas

19.5

5.9

Arkansas

24

6

Arkansas

25

6.1

Arkansas

26

1.5

California

1

3.7

California

2

4

California

3

4.5

California

4

4.9

California

6.5

5.1

California

9

5.3

California

10

5.4

California

13

5.4

California

13

5.5

California

16

5.6

California

19.5

5.6

California

19.5

5.6

Texas

19.5

5.8

Texas

23

6.6

Texas

27

6.9

Texas

29

6.9

Texas

29

6.9

Texas

29

7.1

Texas

31

7.3

Texas

32

7.5

Texas

33

7.6

Texas

34

7.7

Texas

35.5

7.7

Texas

35.5

The sum of the ranks corresponding to Arkansas is computed as follows:

\(\begin{array}{c}{R_1} = 5 + 6.5 + 8 + .... + 26\\ = 192\end{array}\)

The sum of the ranks corresponding to California is computed as follows:

\(\begin{array}{c}{R_2} = 1 + 2 + 3 + .... + 19.5\\ = 116.5\end{array}\)

The sum of the ranks corresponding toTexas is computed as follows:

\(\begin{array}{c}{R_3} = 19.5 + 23 + 27 + .... + 35.5\\ = 357.5\end{array}\)

04

Determine the sample sizes

Here,

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

and

\(\begin{array}{c}N = 12 + 12 + 12\\ = 36\end{array}\)

05

Calculate 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}}{{36\left( {37} \right)}}\left( {\frac{{{{192}^2}}}{{12}} + \frac{{{{116.5}^2}}}{{12}} + \frac{{{{357.5}^2}}}{{12}}} \right) - 3\left( {37} \right)\\ = 22.816\end{array}\)

06

Determine the critical value and conclusion of the test

Let k be the number of samples.

Thus, 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.01\)with 2 degrees of freedom is equal to 9.21.

Since the test statistic value is greater than the critical value, the null hypothesis is rejected.

It can be concluded that the three samples are obtained from populations with different medians.

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

Student Evaluations of Professors Example 1 in this section used samples of course evaluations, and the table below lists student evaluations of female professors and male professors (from Data Set 17 “Course Evaluations” in Appendix B). Are the requirements for using the Wilcoxon rank-sum test satisfied? Why or why not?

Female

3.9

3.4

3.7

4.1

3.7

3.5

4.4

3.4

4.8

4.1

2.3

4.2

3.6

4.4

Male

3.8

3.4

4.9

4.1

3.2

4.2

3.9

4.9

4.7

4.4

4.3

4.1



Sample Size Advances in technology are dramatically affecting different aspects of our lives. For example, the number of daily print newspapers is decreasing because of easy access to Internet and television news. To help address such issues, we want to estimate the percentage of adults in the United States who use a computer at least once each day. Find the sample size needed to estimate that percentage. Assume that we want 95% confidence that the sample percentage is within two percentage points of the true population percentage.

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

Overtime Rule in Football Before the overtime rule in the National Football League was changed in 2011, among 460 overtime games, 252 were won by the team that won the coin toss at the beginning of overtime. Using a 0.05 significance level, test the claim that the coin toss is fair in the sense that neither team has an advantage by winning it. Does the coin toss appear to be fair?

Efficiency of the Wilcoxon Signed-Ranks Test Refer to Table 13-2 on page 600 and identify the efficiency of the Wilcoxon signed-ranks test. What does that value tell us about the test?

Sign Test and Wilcoxon Signed-Ranks Test What is a major advantage of the Wilcoxon signed-ranks test over the sign test when analyzing data consisting of matched pairs?

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