Question

In: Statistics and Probability

Find the expected number of flips of a coin, which comes up heads with probability p,...

Find the expected number of flips of a coin, which comes up heads with probability p, that are necessary to obtain the pattern h, t, h, h, t, h, t, h.

This is from Sheldon/Ross Introduction to Probability models 11th edition Chapter 3#91. I know there is the textbook solution manual on Chegg, but I am not able to make sense of the solution. I would greatly appreciate if anyone can help me make sense of it!

Solutions

Expert Solution

Answer

Given that the probability of getting on flippig of a coin = p.

Now the given pattern of outcomes of flippig of a coin = h, t, h, h, t, h, t, h

Let us assume it as an event A. That is A= getting the pattern defined above

Then Probability of event A = P(A)= p*(1-p)*p*p*(1-p)*p(1-p)*p , Since the outcomes of coin flipping are independent , where 1-p is probability of getting tail.

So that P(A) = p5(1-p)3.

Now assume that a random variable X following Geometric distribution with event A as its success outcome with probablity of success P(A).

Then pmf of X is

where x refers to number of failures before first success.

Then obviously if X=0, then the success (event A) occurs in first trial , i.e. no failures before first success. That means we get the pattern in the first 8 filips of a coin. Similarly if X=1, then the success(event A) does not occur in first trial but occurs in second trial. That means we get the pattern in 9 flips of a coin.

Then mean of X is given by

Then define Y=X+8; Y gives the numer of flips of a coin to get pattern

. Then expecetd value of Y is

E(Y) gives the expected number of flips of coin to get the pattern.


Related Solutions

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.
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
Coin 1 comes up heads with probability 0.6 and coin 2 with probability 0.5. A coin...
Coin 1 comes up heads with probability 0.6 and coin 2 with probability 0.5. A coin is continually flipped until it comes up tails, at which time that coin is put aside and we start flipping the other one. (a) What proportion of flips use coin 1? (b) If we start the process with coin 1 what is the probability that coin 2 is used on the fifth flip? (c) What proportion of flips land heads?
Consider successive flips of a coin that always lands on "heads" with probability p, and determine...
Consider successive flips of a coin that always lands on "heads" with probability p, and determine the probability distribution of the first time, after the beginning, that the total number of heads is equal to the total number of tails. Hint: the first time that this occurs is at time 2n can be obtained by first conditioning on the total number of heads in the first 2n trials.
A coin is tossed with P(heads) = p. a) What is the expected number of tosses...
A coin is tossed with P(heads) = p. a) What is the expected number of tosses required to get n heads? b) Determine the variance of the number of tosses needed to get the first head. c) Determine the variance of the number of tosses needed to get n heads.
A coin is tossed with P(heads) = p. a) What is the expected number of tosses...
A coin is tossed with P(heads) = p. a) What is the expected number of tosses required to get n heads? b) Determine the variance of the number of tosses needed to get the first head. c) Determine the variance of the number of tosses needed to get n heads.
There is a fair coin and a biased coin that flips heads with probability 1/4.You randomly...
There is a fair coin and a biased coin that flips heads with probability 1/4.You randomly pick one of the coins and flip it until you get a heads. Let X be the number of flips you need. Compute E[X] and Var[X]
Please give detailed solution for this Coin 1 comes up heads with probability .3, whereas coin...
Please give detailed solution for this Coin 1 comes up heads with probability .3, whereas coin 2 comes up heads with probability .6. A coin is randomly chosen and flipped 10 times. (a) Find the probability the first flip lands heads. (b) Find the expected number of heads in the 10 flips. (c) Find the probability that there are a total of 7 heads.
A biased coin has probability of p =0.52 for heads. What is the minimum number of...
A biased coin has probability of p =0.52 for heads. What is the minimum number of coin tosses needed such that there will be more heads than tails with 99% probability.
What’s the probability that a fair coin results in 12 or fewer heads from 40 flips?...
What’s the probability that a fair coin results in 12 or fewer heads from 40 flips? And What does that probability say about the fairness of the coin?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT