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

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.

Short Answer

Expert verified

There is not enough evidence to rejectthe claim that the three samples are from the populations with the same median departure delay time.

Step by step solution

01

Given information

Threesamples show the departure delay times (in minutes) for three flights.

02

Step 2:Identify the appropriate non-parametric test and frame the statistical hypothesis

To test if the samples come from populations with equal medians, you can use theKruskal-Wallis test,a non-parametric test.

The null hypothesis for the test is as follows:

The three samples come from populations with the same median.

The alternative hypothesis for the test is as follows:

The three samples do not come from populations with the same median.

The test is two-tailed.

03

Assign ranks

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

  • Combine the three samples and mark each observation with the name/number of the sample from which it is obtained.
  • The smallest observation is given rank one;the next smallest is given rank two, and so on until the largest value is reached.
  • If two observations have the same rank, they are given the mean of the ranks.

The following table shows the ranks:

Delay Times

Sample Number

Ranks

–2

Sample 1

17.5

–1

Sample 1

13.5

–2

Sample 1

17.5

2

Sample 1

8

–2

Sample 1

17.5

0

Sample 1

10.5

–2

Sample 1

17.5

–3

Sample 1

20

19

Sample 2

5

–4

Sample 2

21.5

–5

Sample 2

23

–1

Sample 2

13.5

–4

Sample 2

21.5

73

Sample 2

2

0

Sample 2

10.5

1

Sample 2

9

18

Sample 3

6

60

Sample 3

3

142

Sample 3

1

–1

Sample 3

13.5

–11

Sample 3

24

–1

Sample 3

13.5

47

Sample 3

4

13

Sample 3

7

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

\(\begin{array}{c}{R_1} = 17.5 + 13.5 + .... + 20\\ = 122\end{array}\)

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

\(\begin{array}{c}{R_2} = 5 + 21.5 + .... + 9\\ = 106\end{array}\)

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

\(\begin{array}{c}{R_3} = 6 + 3 + ... + 7\\ = 72\end{array}\)

04

Determine the sample sizes

Let n be the sample size.

Let N be the total number of observations

Here,\({n_1} = {n_2} = {n_3} = 8\)

and

\(\begin{array}{c}N = 8 + 8 + 8\\ = 24.\end{array}\)

05

Calculate the test statistic

The value of the test statistic is computed 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}}{{24\left( {25} \right)}}\left( {\frac{{{{122}^2}}}{8} + \frac{{{{106}^2}}}{8} + \frac{{{{72}^2}}}{8}} \right) - 3\left( {25} \right)\\ = 3.26\end{array}\)

06

Determine the critical value and the conclusion of the test

Let k be the number of samples.

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

Since the test statistic value is less than the critical value, the decision fails 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

Crickets and Temperature The association between the temperature and the number of times a cricket chirps in 1 min was studied. Listed below are the numbers of chirps in 1 min and the corresponding temperatures in degrees Fahrenheit (based on data from The Song of Insects by George W. Pierce, Harvard University Press). Is there sufficient evidence to conclude that there is a relationship between the number of chirps in 1 min and the temperature?

Chirps in 1 min

882

1188

1104

864

1200

1032

960

900

Temperature\(\left( {^ \circ F} \right)\)

69.7

93.3

84.3

76.3

88.6

82.6

71.6

79.6

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

CPI and the Subway Use CPI/subway data from the preceding exercise to test for a correlation between the CPI (Consumer Price Index) and the subway fare.

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

Draft Lottery In 1970, a lottery was used to determine who would be drafted into the U.S. Army. The 366 dates in the year were placed in individual capsules, they were mixed, and then capsules were selected to identify birth dates of men to be drafted first. The first 30 results are listed below. Test for randomness before and after the middle of the year, which is July 1.

Sept.14

Apr.24

Dec.30

Feb.14

Oct.18

Sept.6

Oct.26

Sept.7

Nov.22

Dec.6

Aug.31

Dec.7

July 8

Apr.11

July12

Dec.29

Jan.15

Sept.26

Nov.1

June 4

Aug.10

June26

July24

Oct.5

Feb.19

Dec.14

July 21

June 5

Mar.2

Mar.31

Clinical Trials of Lipitor The sample data below are changes in LDL cholesterol levels in clinical trials of Lipitor (atorvastatin). It was claimed that Lipitor had an effect on LDL cholesterol. (The data are based on results given in a Parke-Davis memo from David G. Orloff, M.D., the medical team leader for clinical trials of Lipitor. Pfizer declined to provide the author with the original data values.) Negative values represent decreases in LDL cholesterol. Use a 0.05 significance level to test the claim that for those treated with 20 mg of Lipitor and those treated with 80 mg of Lipitor, changes in LDL cholesterol have the same median. What do the results suggest?

GroupTreatedwith20 mgofLipitor

-28

-32

-29

-39

-31

-35

-25

-36

-35

-26

-29

-34

-30


GroupTreatedwith80 mgofLipitor

-42

-41

-38

-42

-41

-41

-40

-44

-32

-37

-41

-37

-34

-31

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