Expected colour runs in a biased row of 25 cells
Question
A row has cells. Each cell is coloured black with probability and white with probability , independently. A component is a maximal block of neighbouring cells sharing one colour; for example BBWBWWWBBW has components. What is the expected number of components in the row?
Short answer
. The number of components is plus the number of neighbouring pairs whose colours differ. Two neighbours agree with probability , so they differ with probability , and there are pairs: .
Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
- Expectation, Mean, and Variance
- Conditional Probability, Total Probability, and Bayes' Rule
- Worked Examples — Probability Trees, Monty Hall, and Bayesian Updating
Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free