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

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

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.

World Series The last 110 baseball World Series ended with 63 wins by American League teams and 47 wins by National League teams. Use the sign test to test the claim that in each World Series, the American League team has a 0.5 probability of winning.

Sign Test and Wilcoxon Signed-Ranks Test What is a major advantage of the Wilcoxon signed-ranks test over the sign test when analyzing data consisting of matched pairs?

Pizza and the Subway The “pizza connection” is the principle that the price of a slice of pizza in New York City is always about the same as the subway fare. Use the data listed below to determine whether there is a correlation between the cost of a slice of pizza and the subway fare.

Year

1960

1973

1986

1995

2002

2003

2009

2013

2015

Pizza Cost

0.15

0.35

1.00

1.25

1.75

2.00

2.25

2.3

2.75

Subway Fare

0.15

0.35

1.00

1.35

1.5

2.00

2.25

2.5

2.75

CPI

30.2

48.3

112.3

162.2

191.9

197.8

214.5

233

237.2

Using the Mann-Whitney U Test The Mann-Whitney U test is equivalent to the Wilcoxon rank-sum test for independent samples in the sense that they both apply to the same situations and always lead to the same conclusions. In the Mann-Whitney U test we calculate

\(z = \frac{{U - \frac{{{n_1}{n_2}}}{2}}}{{\sqrt {\frac{{{n_1}{n_2}\left( {{n_1} + {n_2} + 1} \right)}}{{12}}} }}\)

Where

\(U = {n_1}{n_2} + \frac{{{n_1}\left( {{n_1} + 1} \right)}}{2} - R\)

and R is the sum of the ranks for Sample 1. Use the student course evaluation ratings in Table 13-5 on page 621 to find the z test statistic for the Mann-Whitney U test. Compare this value to the z test statistic found using the Wilcoxon rank-sum test.

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.

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