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

Speed Dating Use the sample data from Exercise 1 to test the claim that females from the different age brackets give attribute ratings with the same median. Use a 0.05 significance level.

Short Answer

Expert verified

It can be concluded that females from the three age groups give attribute ratings with the same median.

Step by step solution

01

Given information

Three samples are given on male attribute ratings by females of three different age groups.

The signficance level is 0.05.

02

Identify the 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

Assign the ranks and calculate the sum of the ranks for all three samples

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:

Attribute ratings

Sample number

Ranks

38

Sample 1

21

42

Sample 1

25.5

30

Sample 1

6

39

Sample 1

22.5

47

Sample 1

29.5

43

Sample 1

27

33

Sample 1

11

31

Sample 1

7.5

32

Sample 1

9.5

28

Sample 1

5

39

Sample 2

22.5

31

Sample 2

7.5

36

Sample 2

17

35

Sample 2

13

41

Sample 2

24

45

Sample 2

28

36

Sample 2

17

23

Sample 2

3

36

Sample 2

17

20

Sample 2

1

36

Sample 3

17

42

Sample 3

25.5

35.5

Sample 3

14

27

Sample 3

4

37

Sample 3

20

34

Sample 3

12

22

Sample 3

2

47

Sample 3

29.5

36

Sample 3

17

32

Sample 3

9.5

The sum of the ranks corresponding to the age bracket 20-22 is computed as follows:

\(\begin{array}{c}{R_1} = 21 + 25.5 + 6 + .... + 5\\ = 164.5\end{array}\)

The sum of the ranks corresponding to the age bracket 23-26 is computed as follows:

\(\begin{array}{c}{R_2} = 22.5 + 7.5 + 17 + .... + 1\\ = 150\end{array}\)

The sum of the ranks corresponding to the age bracket 27-29 is computed as follows:

\(\begin{array}{c}{R_3} = 17 + 25.5 + 14 + .... + 9.5\\ = 150.5\end{array}\)

04

Determine the sample sizes

Here, the size of sample 1, sample 2, and sample 3 is given as follows:

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

The total sample size is given as follows:

\(\begin{array}{c}N = 10 + 10 + 10\\ = 30\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}}{{30\left( {31} \right)}}\left( {\frac{{{{164.5}^2}}}{{10}} + \frac{{{{150}^2}}}{{10}} + \frac{{{{150.5}^2}}}{{10}}} \right) - 3\left( {31} \right)\\ = 0.012903\left( {7221.05} \right) - 93\\ = 0.1748\end{array}\)

06

Obtain the critical value and determine the conclusion of the test

The degrees of freedom are computed as follows:

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

Let k be the number of samples.

Here, k=3.

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

Since the 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.

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 Nonparametric Tests. In Exercises 1–10, use a 0.05 significance level with the indicated test. If no particular test is specified, use the appropriate nonparametric test from this chapter.

Speed Dating In a study of speed dating conducted at Columbia University, female subjects were asked to rate the attractiveness of their male dates, and a sample of the results is listed below (1 = not attractive; 10 = extremely attractive). Use the sign test to test the claim that the sample is from a population with a median equal to 5.

5

8

3

8

6

10

3

7

9

8

5

5

6

8

8

7

3

5

5

6

8

7

8

8

8

7





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.

Using Nonparametric Tests. In Exercises 1–10, use a 0.05 significance level with the indicated test. If no particular test is specified, use the appropriate nonparametric test from this chapter.

Presidents, Popes, Monarchs Listed below are numbers of years that U.S. presidents, popes, and British monarchs lived after their inauguration, election, or coronation, respectively. Assume that the data are samples randomly selected from larger populations. Test the claim that the three samples are from populations with the same median.

Presidents

10

29

26

28

15

23

17

25

0

20

4

1

24

16

12


4

10

17

16

0

7

24

12

4

18

21

11

2

9

36


12

28

3

16

9

25

23

32








Popes

2

9

21

3

6

10

18

11

6

25

23

6

2

15

32


25

11

8

17

19

5

15

0

26







Monarchs

17

6

13

12

13

33

59

10

7

63

9

25

36

15


Runs Test with Large Samples. In Exercises 9–12, use the runs test with a significance level of\(\alpha \)= 0.05. (All data are listed in order by row.)

Testing for Randomness of Super Bowl Victories Listed below are the conference designations of conference designations that won the Super Bowl, where N denotes a team from the NFC and A denotes a team from the AFC. Do the results suggest that either conference is superior?

N

N

A

A

A

N

A

A

A

A

A

N

A

A

A

N

N

A

N

N

N

N

N

N

N

N

N

N

N

N

N

A

A

N

A

A

N

A

A

A

A

N

A

N

N

N

A

N

A












Finding Critical Values An alternative to using Table A–9 to find critical values for rank correlation is to compute them using this approximation:

\({r_s} = \pm \sqrt {\frac{{{t^2}}}{{{t^2} + n - 2}}} \)

Here, t is the critical t value from Table A-3 corresponding to the desired significance level and n - 2 degrees of freedom. Use this approximation to find critical values of\({r_s}\)for Exercise 15 “Blood Pressure.” How do the resulting critical values compare to the critical values that would be found by using Formula 13-1 on page 633?

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