Question

In: Statistics and Probability

Suppose that we flip a fair coin until either it comes up tails twice or we...

Suppose that we flip a fair coin until either it comes up tails twice or we have flipped it six times. What is the expected number of times we flip the coin?

Solutions

Expert Solution

Let n be the number flips

then, we have to start from n =2 because we need to tails, so tails on first flip then tails on second flip

so, we will start from n = 2

Expected number of flips required to come up with two tailes before flipping it for 6 time =

[(n-1)/2^n)]

So, the expected number = n*probability

For n=2, expected number is n*[(n-1)/2^n)] = 2*[(2-1)/2^2] = 2/4

similarly for 3,4 and 5, we can write

For n=3, expected number is n*[(n-1)/2^n)] = 3*[(3-1)/2^3] = 3*(2/8)

For n=4, expected number is n*[(n-1)/2^n)] = 4*[(4-1)/2^4] = 4*(3/16)

For n=5, expected number is n*[(n-1)/2^n)] = 5*[(5-1)/2^5] = 5*(4/32)

Now, for the 6th flip, we have to stop

so, Probability of flips for 6th time = 1 - Probability of 2nd, 3rd, 4th and 5th flip = 1 - [1/4+2/8+3/16+4/32] = 1 - 13/16

so, probability of flip for 6th time = 3/16

expected number of flips for the 6th time to get two tails = 6*(3/16)

so, the total expected number of times we flip the coin = 2/4 + 3*(2/8)+ 4*(3/16)+5*(4/32)+6*(3/16) = 15/4

or we can write it as 3.75

so, the required answer is 3.75 or 15/4 flips


Related Solutions

We toss a fair 6 sided die and flip a fair coin twice. Define the random...
We toss a fair 6 sided die and flip a fair coin twice. Define the random variable Y1 to be the number of sports atop the die. Define Y2 to be the total number of heads obtained on the two flips of the coin. a) Find the mean value and standard deviation of Y1. b) Find the mean value and standard deviation of Y2. c) Find the mean value and standard deviation of Y1+Y2. d) What are the mean value...
A coin is tossed repeatedly until heads has occurred twice or tails has occurred twice, whichever...
A coin is tossed repeatedly until heads has occurred twice or tails has occurred twice, whichever comes first. Let X be the number of times the coin is tossed. Find: a. E(X). b. Var(X).
) Suppose you flip a coin. If it comes up heads, you win $20; if it...
) Suppose you flip a coin. If it comes up heads, you win $20; if it comes up tails, you lose $20. a) Compute the expected value and variance of this lottery. b) Now consider a modification of this lottery: You flip two fair coins. If both coins come up heads, you win $20. If one coin comes up heads and the other comes up tails, you neither win nor lose – your payoff is $0. If both coins come...
Your unfair coin comes up heads with probability 0.6. You flip it until you get four...
Your unfair coin comes up heads with probability 0.6. You flip it until you get four heads in a row. Let t be the expected number of times you flip. Write an equation for t. (Your equation, if solved, should give the value of t).
in tossing a coin 1024 times we get 460 tails. is this coin fair? use a...
in tossing a coin 1024 times we get 460 tails. is this coin fair? use a significance level equal to 5%
A coin is flipped repeatedly until either two heads appear in a row or two tails...
A coin is flipped repeatedly until either two heads appear in a row or two tails appear in a row(and then stop). Find the exact answer for P(two heads in a row appears before two tails in a row) for a coin with probability p of getting heads.
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...
30.Consider a coin that comes up heads with probability p and tails with probability 1 −...
30.Consider a coin that comes up heads with probability p and tails with probability 1 − p. Let qn be the probability that after n independent tosses, there have been an even number of heads. Derive a recursion that relates qn to qn−1, and solve this recursion to establish the formula qn = 1 + (1 − 2p) n 2 Using method other than Mathematical Induction
Suppose we have a biased coin that comes up heads 55% of the time. We perform...
Suppose we have a biased coin that comes up heads 55% of the time. We perform an experiment where we toss the coin until the first tails appears. Let T be the number of tosses until the first tails. What is the expected value and standard deviation for T? What is the probability that it takes 5 or more tosses before the first tails appears?
In a sequence of independent flips of a fair coin thwr comes up heads with probability...
In a sequence of independent flips of a fair coin thwr comes up heads with probability 0.6, what is the probability that there is a run of three consecutive heads within the first 10 flips? Show a Markov chain that counts the number of consecutive heads attained.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT