New Reply

Flipping a coin, length of runs

 
Share Thread
Dec4-11, 06:01 AM   #1
 

Flipping a coin, length of runs


1. The problem statement, all variables and given/known data

We flip a biased coin (the probability of a head is p, the probability of a tail is q=1-p). Denote X and Y the length of the first and the second run. A "run" is a maximal sequence of consecutive flips that are all the same. For example, if the sequence is HHHTHH... , then X=4, Y=1, if the sequence is THHTHTH..., then X=1, Y=2. Find the followings: E(X), E(Y), E(X^2), E(Y^2), Var(X), Var(Y), Cov(X, Y).

2. Relevant equations



3. The attempt at a solution

I am quite unsure, but I think we should use conditional expeted value conditioning with the result of the first toss. I suppose that to calculate Cov(X, Y) we should use the law of total covariance.

I would be really grateful if you could help me!
PhysOrg.com science news on PhysOrg.com

>> City-life changes blackbird personalities, study shows
>> Origins of 'The Hoff' crab revealed (w/ Video)
>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
New Reply

Tags
conditional, covariance, expected value, flip, probabality

Similar discussions for: Flipping a coin, length of runs
Thread Forum Replies
Probability of flipping a biased coin k times Precalculus Mathematics Homework 8
flipping a coin Calculus & Beyond Homework 1
flipping a coin (similar to the ballot problem) Precalculus Mathematics Homework 4
Probabilities of Unfair Coin Flipping Calculus & Beyond Homework 1
coin flipping Set Theory, Logic, Probability, Statistics 6