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

Baseball World Series Victories Test the claim that the sequence of World Series wins by American League and National League teams is random. Given on the next page are recent results, with A = American League and N = National League.

A

N

A

N

N

N

A

A

A

A

N

A

A

A

A

N

A

N

N

A

A

N

N

A

A

A

A

N

A

N

N

A

A

A

A

A

N

A

N

A

N

A

N

A

A

A

A

A

A

A

N

N

A

N

A

N

N

A

A

N

N

N

A

N

A

N

A

N

A

A

A

N

N

A

A

N

N

N

N

A

A

A

N

A

N

A

N

A

A

A

N

A

N

A

A

A

N

A

N

A

A

N

A

N

A

N

N

N

A

N











Short Answer

Expert verified

There is not enough evidence to conclude that the given sequence of wins ofAmerican league and national league teams is random.

Step by step solution

01

Given information

The teams that won the World Series and belong to two different Leagues are provided.

02

Identify the hypothesis

The researcher wants to check the claim that sequence of wins by American league and national league teams is random.

The null hypothesis is as follows:

The sequence of wins by American league and national league teams is random.

The alternative hypothesis is as follows:

The sequence of winsby American league and national league teamis not random.

If the value of the test statistic is less than or equal to a smaller critical value or greater than or equal to a larger critical value, the null hypothesis is rejected.

03

Step 3:Calculate the test statistic

The sequence is as follows:

A

N

A

N

N

N

A

A

A

A

N

A

A

A

A

N

A

N

N

A

A

N

N

A

A

A

A

N

A

N

N

A

A

A

A

A

N

A

N

A

N

A

N

A

A

A

A

A

A

A

N

N

A

N

A

N

N

A

A

N

N

N

A

N

A

N

A

N

A

A

A

N

N

A

A

N

N

N

N

A

A

A

N

A

N

A

N

A

A

A

N

A

N

A

A

A

N

A

N

A

A

N

A

N

A

N

N

N

A

N











Now, the number of times N occurs is denoted by\({n_1}\)and the number of times A occurs is denoted by\({n_2}\).

Thus,

\(\begin{array}{l}{n_1} = 47\\{n_2} = 63\end{array}\)

The runs of the sequence are formed as follows:

\(\underbrace A_{{1^{st}}run}\underbrace N_{{2^{nd}}run}\underbrace A_{{3^{rd}}run}\underbrace {NNN}_{{4^{th}}run}\underbrace {AAAA}_{{5^{th}}run}\underbrace N_{{6^{th}}run}\underbrace {AAAA}_{{7^{th}}run}\underbrace N_{{8^{th}}run}\underbrace A_{{9^{th}}run}\underbrace N_{{{10}^{th}}run}\underbrace {AA}_{{{11}^{th}}run}\underbrace {NN}_{{{12}^{th}}run}\underbrace A_{{{13}^{th}}run}\)

\(\underbrace {AA}_{{{14}^{th}}run}\underbrace N_{{{15}^{th}}run}\underbrace A_{{{16}^{th}}run}\underbrace {NN}_{{{17}^{th}}run}\underbrace {AAAAA}_{{{18}^{th}}run}\underbrace N_{{{19}^{th}}run}\underbrace A_{{{20}^{th}}run}\underbrace N_{{{21}^{st}}run}\underbrace A_{{{22}^{nd}}run}\underbrace N_{{{23}^{rd}}run}\underbrace A_{{{24}^{th}}run}\underbrace N_{{{25}^{th}}run}\underbrace {AAAAA}_{{{26}^{th}}run}\)

\(\underbrace A_{{{27}^{th}}run}\underbrace {NN}_{{{28}^{th}}run}\underbrace A_{{{29}^{th}}run}\underbrace N_{{{30}^{th}}run}\underbrace A_{{{31}^{st}}run}\underbrace {NN}_{{{32}^{nd}}run}\underbrace {AA}_{{{33}^{rd}}run}\underbrace {NNN}_{{{34}^{th}}run}\underbrace A_{{{35}^{th}}run}\underbrace N_{{{36}^{th}}run}\underbrace A_{{{37}^{th}}run}\underbrace N_{{{38}^{th}}run}\underbrace A_{{{39}^{th}}run}\underbrace N_{{{40}^{th}}run}\underbrace {AA}_{{{41}^{st}}run}\underbrace N_{{{42}^{nd}}run}\)

\(\underbrace {AA}_{{{43}^{rd}}run}\underbrace {NNNN}_{{{44}^{th}}run}\underbrace {AAA}_{{{45}^{th}}run}\underbrace N_{{{46}^{th}}run}\underbrace A_{{{47}^{th}}run}\underbrace N_{{{48}^{th}}run}\underbrace A_{{{49}^{th}}run}\underbrace N_{{{50}^{th}}run}\underbrace {AAA}_{{{51}^{th}}run}\underbrace N_{{{52}^{nd}}run}\underbrace A_{{{53}^{rd}}run}\underbrace N_{{{54}^{th}}run}\underbrace {AAA}_{{{55}^{th}}run}\)

\(\underbrace A_{{{56}^{th}}run}\underbrace N_{{{57}^{th}}run}\underbrace {AA}_{{{58}^{th}}run}\underbrace N_{{{59}^{th}}run}\underbrace A_{{{60}^{th}}run}\underbrace N_{{{61}^{st}}run}\underbrace A_{{{62}^{nd}}run}\underbrace {NNN}_{{{63}^{rd}}run}\underbrace A_{{{64}^{th}}run}\underbrace N_{{{65}^{th}}run}\)

The total number of runs is denoted by G is equal to 6.

Here,\({n_1} > 20\)and\({n_2} > 20\). The value of the test statistic z needs to be calculated.

The mean value of G is calculated as follows:

\(\begin{array}{c}{\mu _G} = \frac{{2{n_1}{n_2}}}{{{n_1} + {n_2}}} + 1\\ = \frac{{2\left( {47} \right)\left( {63} \right)}}{{47 + 63}} + 1\\ = 54.84\end{array}\)

The standard deviation of G is computed as follows:

\(\begin{array}{c}{\sigma _G} = \sqrt {\frac{{2{n_1}{n_2}\left( {2{n_1}{n_2} - {n_1} - {n_2}} \right)}}{{{{\left( {{n_1} + {n_2}} \right)}^2}\left( {{n_1} + {n_2} - 1} \right)}}} \\ = \sqrt {\frac{{2\left( {47} \right)\left( {63} \right)\left( {2\left( {47} \right)\left( {63} \right) - 47 - 63} \right)}}{{{{\left( {47 + 63} \right)}^2}\left( {47 + 63 - 1} \right)}}} \\ = 5.108\end{array}\)

Thus, the test statistic (G) is computed below:

\(\begin{array}{c}z = \frac{{G - {\mu _G}}}{{{\sigma _G}}}\\ = \frac{{65 - 54.84}}{{5.108}}\\ = 1.989\end{array}\)

04

Determine the critical value and the conclusion of the test

The critical values of z at\(\alpha = 0.05\)are -1.96 and 1.96.

The value of z equal to 1.9089 does not lie between the two critical values. Thus, the decision is to reject the null hypothesis.

There is not enough evidence to conclude that the given sequence of wins is random.

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

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

Medical Malpractice In a study of 1228 randomly selected medical malpractice lawsuits, it was found that 856 of them were dropped or dismissed (based on data from the Physicians Insurers Association of America). Use a 0.01 significance level to test the claim that there is a difference between the rate of medical malpractice lawsuits that go to trial and the rate of such lawsuits that are dropped or dismissed.

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?

Randomness Refer to the following ages at inauguration of the elected presidents of the United States (from Data Set 15 “Presidents” in Appendix B). Test for randomness above and below the mean. Do the results suggest an upward trend or a downward trend?

57

61

57

57

58

57

61

54

68

49

64

48

65

52

46

54

49

47

55

54

42

51

56

55

51

54

51

60

62

43

55

56

52

69

64

46

54

47

















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

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.

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