Expected Number of Record Highs in a Random Price Path
Last updated: November 29, 2026
Quick Overview
If a year of 252 daily closes are i.i.d. continuous random variables, what is the expected number of days that set a new running maximum, and what is its variance?
Voleon
November 29, 20260
0
0 solved
If a year of 252 daily closes are i.i.d. continuous random variables, what is the expected number of days that set a new running maximum, and what is its variance?
Combinatorics and indicator-variable tricks show up often in Voleon's research interviews because they let a candidate get an exact answer quickly. The interviewer checks linearity of expectation, the symmetry argument for each indicator, independence of record events, and a sensible comment on whether real prices behave like this.
What the Interviewer Expects
- Define an indicator for day k being a record
- Use symmetry to get probability 1/k
- Sum to the harmonic number and approximate it
- Show record indicators are independent for the variance
- Contrast with a random walk price model
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the probability that day 252 is a record and so is day 251?
- How does the answer change for a random walk instead of i.i.d. levels?
- What is the expected number of new lows as well as highs?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Values i.i.d. from a continuous distribution (so no ties), n = 252. Day 1 counts as a record....
Approach
Let if . The number of records is . By symmetry, each of the first k values is equally likely to be the largest of those k, so $P(I_k = 1) = ...