Question

In: Statistics and Probability

A biased coin (P(head) = p , p is not equal to 0.5) is tossed repeatedly....

A biased coin (P(head) = p , p is not equal to 0.5) is tossed repeatedly. Find the probability that there is a run of r heads in a row before there is a run of s tails, where r and s are positive integers. Express the answer in terms of p, r and s.

Solutions

Expert Solution

biased coin (P(head) = p

biased coin (P(tail) = 1 - p

=  being the first hitting time of the state of r consecutive heads if we keep on tossing the coin indefinitely

=  being the first hitting time of the state of s consecutive tails if we keep on tossing the coin indefinitely

Conditioning on the first throw is a head, we have 2 possibilities:
(a) we get a further r-1 heads, in which case we stop at success; or
(b) somewhere in the next r-1 tosses we have the first tail; in which case it is as if our first toss is a tail, forgetting all those previous heads, by what is called the strong Markov property.

This gives us the equation

Conditioning on the first throw is a tail, we have 2 possibilities:
(a') we get further s-1 tails, in which case we stop at failure; or
(b') somewhere in the next s-1 tosses, we have the first head; in which case it is as if our first toss is a head, forgetting all those previous tails, by the strong Markov property.

This gives us the equation

Solving this pair of simultaneous equations gives you

Finally, remember we conditioned on the first toss


Related Solutions

A biased coin with P(Head) = 0.4 is tossed 1000 times. Let X be the counts...
A biased coin with P(Head) = 0.4 is tossed 1000 times. Let X be the counts of heads in the tossing. Find the upper bound for P(X ≤ 300 or X ≥ 500). Use Gaussian approximation to compute P(X ≤ 300 or X ≥ 500).
A coin has a probability of 1/4 for head, and is repeatedly tossed until we throw...
A coin has a probability of 1/4 for head, and is repeatedly tossed until we throw head. The successive results of the toss are independent of each other. What is the probability that the first time we throw head after an odd number of toss? Hint: Use the law of total probability and consider the event that the first toss is head is, and her complement, as conditioning events. Correct answer: 3/7
A coin with P[Heads]= p and P[Tails]= 1p is tossed repeatedly (the tosses are independent). Define...
A coin with P[Heads]= p and P[Tails]= 1p is tossed repeatedly (the tosses are independent). Define (X = number of the toss on which the first H appears, Y = number of the toss on which the second H appears. Clearly 1X<Y. (i) Are X and Y independent? Why or why not? (ii) What is the probability distribution of X? (iii) Find the probability distribution of Y . (iv) Let Z = Y X. Find the joint probability mass function
A perfectly balanced coin is tossed, there is equal chance to get a head (H) or...
A perfectly balanced coin is tossed, there is equal chance to get a head (H) or a tail (T ). Consider a random experiment of throwing SEVEN perfectly balanced and identical coins. Let S denote the sample space. a) List the elements in S. (b) Find the probability that there is three tails and four heads.
A) To test whether a coin is biased, we have these hypotheses: H0: p = 0.5,...
A) To test whether a coin is biased, we have these hypotheses: H0: p = 0.5, H1: p is not 0.5, where p is the population proportion of "heads" when the coin is tossed. A random sample of 50 tosses resulted in 30 heads. What is the value of the test statistic (Zstat) for this sample? (Provide two decimal places) B) A sample data set consists of these values: 5, 2, 1, 5. Find the z-score of 5. (Provide two...
A coin with P(head) = 2/3 is tossed six times (independently). What is the probability of...
A coin with P(head) = 2/3 is tossed six times (independently). What is the probability of obtaining exactly four CONSECUTIVE heads or exactly five CONSECUTIVE heads?
A fair coin is tossed until a head appears. Given that the first head appeared on...
A fair coin is tossed until a head appears. Given that the first head appeared on an even-numbered toss, find the probability that it occurred on the second or the fourth toss.
A fair coin will be tossed three times. (a) Indicating a head by H and a...
A fair coin will be tossed three times. (a) Indicating a head by H and a tail by T write down the outcome space. (b) What is the probability that on the first toss the outcome with a tail? (c) What is the probability of obtaining exactly two heads from the three coin tosses? (d) What is the probability that the first toss gives a tail and exactly two heads are obtained from the three coin tosses? Are the outcomes...
1. A fair coin is tossed twice. Consider the following events: a) A = a head...
1. A fair coin is tossed twice. Consider the following events: a) A = a head on the first toss; b) B = a tail on the first toss; c) C = a tail on the second toss; d) D = a head on the second toss. Are events A and B mutually exclusive ? WHY or WHY NOT ? Are events C and D Independent ? WHY or WHY NOT ? 2. Suppose there are 3 similar boxes. Box...
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.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT