- #1
houston07
- 1
- 0
Hi,
I have the following problem: Suppose you have a coin that has chance p of landing heads. Suppose you flip the coin n times and let X denote the number of 'head runs' in n flips. A 'head run' is defined as any sequence of heads. For example the sequence HHTHHHHHTTTTHHTHT contains 4 head runs. Given this information, compute E[X] and Var[X].
I cannot understand how to set up the indicator method that will allow me to solve this problem quickly.
I have the following problem: Suppose you have a coin that has chance p of landing heads. Suppose you flip the coin n times and let X denote the number of 'head runs' in n flips. A 'head run' is defined as any sequence of heads. For example the sequence HHTHHHHHTTTTHHTHT contains 4 head runs. Given this information, compute E[X] and Var[X].
I cannot understand how to set up the indicator method that will allow me to solve this problem quickly.