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
Statistics & Math
Quantitative Researcher
Voleon
November 29, 2026
Quantitative Researcher
Onsite
Statistics & Math
Medium

0

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
linearity of expectation
indicator variables
harmonic numbers
symmetry
order statistics
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample Answer
Clarify

Values X1,…,XnX_1, \dots, X_n i.i.d. from a continuous distribution (so no ties), n = 252. Day 1 counts as a record....

Approach

Let Ik=1I_k = 1 if Xk>max⁡(X1,…,Xk−1)X_k > \max(X_1, \dots, X_{k-1}). The number of records is R=∑kIkR = \sum_k I_k. By symmetry, each of the first k values is equally likely to be the largest of those k, so $P(I_k = 1) = ...


Submit Your Answer
Markdown supported

Related Questions