Question

In: Statistics and Probability

I flip a coin 20 times and record the results as follows: T T H H...

I flip a coin 20 times and record the results as follows: T T H H H T H H T T H H H T T T T T T H. Use the runs test for randomness at a significance level of 0.05 to test this sequence of coin flips for randomness.

Solutions

Expert Solution

Solution:

Givem: A coin is flipped 20 times

T T H H H T H H T T H H H T T T T T T H

We have to use  the runs test for randomness at a significance level of 0.05 to test this sequence of coin flips for randomness.

Step 1) State H0 and H1:

H0: The sequence of coin flips is random

Vs

H1: The sequence of coin flips is not random

Step 2) Find r = number of runs.

Run is an unbroken sequence of simmilar symbols

thus we have:

T T H H H T H H T T H H H T T T T T T H
1 2 3 4 5 6 7 8

Thus

Number of runs are:

r = 8

m = Number of symbols of type T = 11

n = Number of symbols of type H = 9

Step 3) Find critical value using run test critical value table.

thus critical values are:

a = 6 , b = 16

Step 4) Decision rule:

If a < r < b, then we do not reject the null hypothesis H0, otherwise we reject H0.

Since a = 6 < r = 8 < b = 16, we do not reject the null hypothesis H0.

Step 5) Conclusion:

At 0.05 level of significance , we conclude that the sequence of coin flips is random


Related Solutions

HOMEWORK-You flip a coin FOUR times. Let H = Number of Heads. Calculate: (a) P (H...
HOMEWORK-You flip a coin FOUR times. Let H = Number of Heads. Calculate: (a) P (H = 4) = (b) P (H ≥ 1) = (c) P (H < 4) = (d) P (1 < H ≤ 4) = HINT: GET YOUR SAMPLE SPACE. Leave your answers EITHER as a simplified fraction ( e.g. 4/16 = 1/4 when simplified)  OR a decimal rounded to FOUR decimal places. Also do not forget to enter your leading zero when entering decimals. CAUTION: FOLLOW...
1. A) If you flip an unfair coin 100 times, and the probability for a coin...
1. A) If you flip an unfair coin 100 times, and the probability for a coin to be heads is 0.4, then the number of heads you expect on average is: B) If you flip an unfair coin 100 times, and the probability for a coin to be heads is 0.4, then the standard deviation for the number of heads is: C) If you flip an unfair coin 2 times, and the probability for a coin to be heads is...
We flip a fair coin 20 times. Find the probability that we obtain between 8 and...
We flip a fair coin 20 times. Find the probability that we obtain between 8 and 17 heads, inclusively. Show work and please explain to someone that hardly understands statistics!
Create a histogram on excel for a coin toss. Flip the coin 6 times, each time...
Create a histogram on excel for a coin toss. Flip the coin 6 times, each time moving down to the left (for heads) and to the right (for tails). Consider it a success if when flipping a coin, the coin lands with the head side facing up. Then the probability of a success is .5 (p=.5) and the probability of failure is .5 (q=.5) for each event of flipping a coin. In this lab you will repeat a procedure of...
Create a histogram on excel for a coin toss. Flip the coin 6 times, each time...
Create a histogram on excel for a coin toss. Flip the coin 6 times, each time moving down to the left (for heads) and to the right (for tails). Consider it a success if when flipping a coin, the coin lands with the head side facing up. Then the probability of a success is .5 (p=.5) and the probability of failure is .5 (q=.5) for each event of flipping a coin. In this lab you will repeat a procedure of...
Flip a coin 10 times. Put a 1 each time the coin comes up heads and...
Flip a coin 10 times. Put a 1 each time the coin comes up heads and a 0 each time the coin comes up tails. Count the number of heads you obtained and divide by 10. What number did you get? a. Is the number you obtained in part (a) a parameter or a statistic? b. Now flip the coin 25 times. Put a 1 each time you obtain a heads and a 0 for tails. Count the number of...
Flip a fair coin 4 times. Let ? and ? denote the number of heads and...
Flip a fair coin 4 times. Let ? and ? denote the number of heads and tails correspondingly. (a) What is the distribution of ?? What is the distribution of ? ? (b) Find the joint PMF. Are ? and ? independent? (c) Calculate ?(? ?) and ?(X≠?)(d) Calculate C??(?, ? ) and C???(?, ? )
I flip a fair coin and recorded the result. If it is head, I then roll...
I flip a fair coin and recorded the result. If it is head, I then roll a 6-sided die: otherwise, I roll a 4-sided die and record the results. Let event A be the die has a 3 or greater. let event B be I flip tails. (a)-List all the outcomes in the Sample space (b)- List the outcomes in Event A and B (c)- List the outcomes in A or not B (d)- Calculate the probability of event A...
Suppose that you flip a coin 11 times. What is the probability that you achieve at...
Suppose that you flip a coin 11 times. What is the probability that you achieve at least 4 tails? A sign on the pumps at a gas station encourages customers to have their oil checked, and claims that one out of 5 cars needs to have oil added. If this is true, what is the probability of each of the following: A. One out of the next four cars needs oil. Probability = B. Two out of the next eight...
Flip a fair coin 5 times. What is the probability that at least one time the...
Flip a fair coin 5 times. What is the probability that at least one time the coin lands on heads?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT