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

Airline Fares Refer to the same data from the preceding exercise. Use the Wilcoxon signed ranks test to test the claim that differences between fares for flights scheduled 1 day in advance and those scheduled 30 days in advance have a median equal to 0. What do the results suggest?

Short Answer

Expert verified

There is enough evidence to reject the claim that the differences between the costs of flights scheduled oneday in advance and those scheduled 30 days in advance have a median equal to 0.

Step by step solution

01

Given information

Twosamples show the airfares of eight different flights from New York to San Francisco.

It is claimed that the differences between the fares of flights scheduled oneday in advance and those scheduled 30 days in advance have a median equal to 0.

02

Identify the hypothesis of the test

The Wilcoxon signed-ranks test is used to test the claim that there is no difference in the cost between the flights scheduled oneday prior and the flights scheduled 30 days prior.

The null hypothesis is as follows:

The difference between the costs of flights scheduled oneday in advance and those scheduled 30 days in advance have a median equal to 0.

The alternative hypothesis is as follows:

The difference between the costs of flights scheduled oneday in advance and those scheduled 30 days in advance does not have a median equal to 0.

If the value of the test statistic is less than the critical value, the null hypothesis is rejected, else not.

03

Assign signed-ranks

Compute the differences of the values by subtracting the cost of the flights scheduled 30 days prior from the cost of thosescheduled oneday prior.

Compute the ranks of the absolute differences by assigning rank 1 to the smallest difference, rank 2 to the next smallest difference, and so on.

Mark the sign of the ranks corresponding to the sign of the difference.

The following table shows the signedranks:

Flights scheduled oneday prior

584

490

584

584

584

606

628

717

Flights scheduled 30 days prior

254

308

244

229

284

509

394

258

Differences (d)

330

182

340

355

300

97

234

459

Rank of |d|

5

2

6

7

4

1

3

8

Signed-Ranks

+5

+2

+6

+7

+4

+1

+3

+8

04

Calculate the test statistic

The total number of observations (n) is 8.

Since \(n < 30\), the value of the test statistic (T) needs to be determined.

Compute the sum of the positive ranks as shown:

\(\begin{array}{c}Su{m_{positive}} = 5 + 2 + .... + 8\\ = 36\end{array}\)

Since there are no negative ranks, \(Su{m_{negative}} = 0\).

T assumes a value corresponding to the smaller of the two sums.

Thus, \(T = 0\).

05

Determine the critical value and the conclusion of the test

The critical value of T for n=8 and \(\alpha = 0.05\) for a two-tailed test is equal to 4.

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

There is enough evidence to conclude that the difference between the costs of flights scheduled one day in advance and those scheduled 30 days in advance does not have a median equal to 0.

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.

Old Faithful Listed below are time intervals (min) between eruptions of the Old Faithful geyser. The “recent” times are within the past few years, and the “past” times are from 1995. Test the claim that the two samples are from populations with the same median. Does the conclusion change with a 0.01 significance level?

Recent

78

91

89

79

57

100

62

87

70

88

82

83

56

81

74

102

61

Past(1995)

89

88

97

98

64

85

85

96

87

95

90

95






Drug Tests There is a 3.9% rate of positive drug test results among workers in the United States (based on data from Quest Diagnostics). Assuming that this statistic is based on a sample of size 2000, construct a 95% confidence interval estimate of the percentage of positive drug test results. Write a brief statement that interprets the confidence interval.

Using the Mann-Whitney U Test The Mann-Whitney U test is equivalent to the Wilcoxon rank-sum test for independent samples in the sense that they both apply to the same situations and always lead to the same conclusions. In the Mann-Whitney U test we calculate

\(z = \frac{{U - \frac{{{n_1}{n_2}}}{2}}}{{\sqrt {\frac{{{n_1}{n_2}\left( {{n_1} + {n_2} + 1} \right)}}{{12}}} }}\)

Where

\(U = {n_1}{n_2} + \frac{{{n_1}\left( {{n_1} + 1} \right)}}{2} - R\)

and R is the sum of the ranks for Sample 1. Use the student course evaluation ratings in Table 13-5 on page 621 to find the z test statistic for the Mann-Whitney U test. Compare this value to the z test statistic found using the Wilcoxon rank-sum test.

Mean and Median In a recent year, the players on the New York Yankees baseball team had salaries with a mean of \(7,052,129 and a median of \)2,500,000. Explain how the mean and median can be so far apart.

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