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

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.

Efficiency of the Wilcoxon Signed-Ranks Test Refer to Table 13-2 on page 600 and identify the efficiency of the Wilcoxon signed-ranks test. What does that value tell us about the test?

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





Matched Pairs.In Exercises 5–8, use the sign test for the data consisting of matched pairs.

Speed Dating: Attributes Listed below are “attribute” ratings made by couples participating in a speed dating session. Each attribute rating is the sum of the ratings of five attributes (sincerity, intelligence, fun, ambition, shared interests). The listed ratings are from Data Set 18 “Speed Dating” in Appendix B. Use a 0.05 significance level to test the claim that there is a difference between female attribute ratings and male attribute ratings.

Rating of Male by Female

29

38

36

37

30

34

35

23

43

Rating of Female by Male

36

34

34

33

31

17

31

30

42

Speed Dating Listed on the top of the next page are attribute ratings of males by females who participated in speed dating events (from Data Set 18 “Speed Dating” in Appendix B ). In using the Kruskal-Wallis test, we must rank all of the data combined, and then we must find the sum of the ranks for each sample. Find the sum of the ranks for each of the three samples.

Age 20-22

38

42

30

39

47

43

33

31

32

28

Age 23-26

39

31

36

35

41

45

36

23

36

20

Age 27-29

36

42

35.5

27

37

34

22

47

36

32

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