Expected number of visible heads in a queue of 20
Question
Twenty people stand in a single-file line, their heights drawn i.i.d. from some continuous distribution. Looking from the front of the line, you can see a person's head exactly when they are taller than everyone standing in front of them. Let count the visible heads. Find to one decimal place.
Short answer
About . Write as a sum of indicators: the -th person is visible iff they are the tallest of the first , which has probability . By linearity, .
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 Expectation and Variance Revisited
- Sample Spaces, Events, and the Probability Axioms
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