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–4, use the following sequence of political party affiliations of recent presidents of the United States, where R represents Republican and D represents Democrat.

R R RR D R D R RR D R RR D D R D D R R D R R D R D

Notation Identify the values of n1, n2, and G that would be used in the runs test for randomness.

Short Answer

Expert verified

The value of\({n_1}\)is equal to 17.

The value of\({n_1}\)is equal to 10.

The value of G is equal to 16.

Step by step solution

01

Given information

A sequence of presidents from two political parties is provided.

02

Identify the values of \({{\bf{n}}_{\bf{1}}}{\bf{,}}{{\bf{n}}_{\bf{2}}},\;{\bf{and}}\;{\bf{G}}\)

\({n_1}\)denotes the number of Republican presidents in the sequence,that is, the number of times R occurs in the sequence.

The value of\({n_1}\)is equal to 17.

\({n_2}\)denotes the number of Democrat presidents in the sequence,that is, the number of times D occurs in the sequence.

The value of\({n_2}\)is equal to 10.

G represents the number of runs in the sequence.

A run is a sequence of similar symbols bounded by two different symbols on either side.

The number of runs in the sequence iscomputed as follows:

\(\underbrace {RRRR}_{{1^{st}}run}\underbrace D_{{2^{nd}}run}\underbrace R_{{3^{rd}}run}\underbrace D_{{4^{th}}run}\underbrace {RRR}_{{5^{th}}run}\underbrace D_{{6^{th}}run}\underbrace {RRR}_{{7^{th}}run}\underbrace {DD}_{{8^{th}}run}\underbrace R_{{9^{th}}run}\underbrace {DD}_{{{10}^{th}}run}\underbrace {RR}_{{{11}^{th}}run}\underbrace D_{{{12}^{th}}run}\underbrace {RR}_{{{13}^{th}}run}\underbrace D_{{{14}^{th}}run}\underbrace R_{{{15}^{th}}run}\underbrace D_{{{16}^{th}}run}\)

Thus, the value of G is equal to 16 runs.

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

Ages of Best Actresses and Best Actors Listed below are ages of Best Actresses and Best Actors at the times they won Oscars (from Data Set 14 “Oscar Winner Age” in Appendix B). Do these data suggest that there is a correlation between ages of Best Actresses and Best Actors?

Actress

61

32

33

45

29

62

22

44

54

Actor

45

50

48

60

50

39

55

44

33

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.

California Lottery Listed below are consecutive first-digits drawn in the California Daily 4 lottery. Test for randomness of even and odd integers. Does the lottery appear to be working as it should?

5

2

2

8

4

8

8

7

1

0

6

4

1

5

1

5

5

3

1

4

1

5

0

0

3

9

6

6

3

7





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.

Job Stress and Income Listed below are job stress scores and median annual salaries (thousands of dollars) for various jobs, including firefighters, airline pilots, police officers, and university professors (based on data from “Job Rated Stress Score” from CareerCast.com). Do these data suggest that there is a correlation between job stress and annual income? Does it appear that jobs with more stress have higher salaries?

Stress

71.59

60.46

50.82

6.94

8.1

50.33

49.2

48.8

11.4

Median Salary

45.6

98.4

57

69

35.4

46.1

42.5

37.1

31.2

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












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

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