Odd and Even Digits in Pi A New York Times article about the calculation of decimal places of\(\pi \)noted that “mathematicians are pretty sure that the digits of\(\pi \)are indistinguishable from any random sequence.” Given below are the first 25 decimal places of\(\pi \). Test for randomness in the way that odd (O) and even (E) digits occur in the sequence. Based on the result, does the statement from the New York Times appear to be accurate?

1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3

Short Answer

Expert verified

There is enough evidence to conclude that the sequence of the decimal places of\(\pi \)is random.

Thus, the mathematicians have accurately stated that the digits of \(\pi \) are indistinguishable from any random sequence.

Step by step solution

01

Given information

A sequence is given showing the decimal places of \(\pi \).

02

Frame the statistical hypothesis and the decision rule

The mathematicians have stated that the digits of\(\pi \)are indistinguishable from any random sequence.

This means that the given sequence of decimal places of\(\pi \)is a random sequence.

The null hypothesis is as follows:

The given sequence of decimal places of\(\pi \)is random.

The alternative hypothesis is as follows:

The given sequence of decimal places of\(\pi \)is not random.

If the value of the number of runs (G) 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

Arrange the data

Represent the odd digits of the decimal places with O.

Represent the even digits of the decimal places with E.

The table below shows the indicated symbols:

Decimal Places

Symbol

1

O

4

E

1

O

5

O

9

O

2

E

6

E

5

O

3

O

5

O

8

E

9

O

7

O

9

O

3

O

2

E

3

O

8

E

4

E

6

E

2

E

6

E

4

E

3

O

3

O

04

Step 4:Calculate the test statistic

The sequence is as follows:

O

E

O

O

O

E

E

O

O

O

E

O

O

O

O

E

O

E

E

E

E

E

E

O

O

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

Thus,

\(\begin{array}{l}{n_1} = 14\\{n_2} = 11\end{array}\)

The runs of the sequence are formed as follows:

\(\underbrace O_{{1^{st}}run}\underbrace E_{{2^{nd}}run}\underbrace {OOO}_{{3^{rd}}run}\underbrace {EE}_{{4^{th}}run}\underbrace {OOO}_{{5^{th}}run}\underbrace E_{{6^{th}}run}\underbrace {OOOO}_{{7^{th}}run}\underbrace E_{{8^{th}}run}\underbrace O_{{9^{th}}run}\underbrace {EEEEEE}_{{{10}^{th}}run}\underbrace {OO}_{{{11}^{th}}run}\)

The number of runs denoted byG is equal to 11.

Here,\({n_1} \le 20\)and\({n_2} \le 20\).

Thus, the test statistic is G, and the level of significance\(\left( \alpha \right)\)is equal to 0.05.

The critical values of G for\({n_1} = 14\)and\({n_2} = 11\)are 8 and 19.

The value of G equal to 11 is neither less than or equal to 8 nor greater than or equal to 19. Thus, the decision is fail to reject the null hypothesis.

05

Step 5:Conclusion of the test

There is not enough evidence to conclude that the given sample is not random.

The sequence of decimal places of\(\pi \)is random.

Thus, the statement of the mathematicians that the digits of\(\pi \)are indistinguishable from any random sequence is accurate.

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

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 RRR D R D R RR D R RR D D R D D R R D R R D R D

Good Sample? Given the sequence of data, if we fail to reject randomness, does it follow that the sampling method is suitable for statistical methods? Explain.

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

Testing for Bias Can the runs test be used to show the proportion of Republicans is significantly greater than the proportion of Democrats?

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?

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

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 Repeat the preceding exercise using the Wilcoxon signed-ranks test.

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