Day 44 — The standard error of a Sharpe ratio, derived
Saturday, 19 September 2026 · Week 7 of 52 · Returns and noise · Study day · 55 min
This is the single most useful thing your statistics training buys you in this field, and almost nobody in it reports the interval.
What you should be able to do tonight
- Derive the asymptotic standard error of an estimated Sharpe ratio under iid returns, using the delta method.
- Say how many years of daily data are needed before a true Sharpe of 1 is distinguishable from 0 at conventional confidence.
Tasks 55 min
30 min Derive it. The estimator is the ratio of the sample mean to the sample standard deviation. Write the joint asymptotic distribution of those two moments under iid normal returns, apply the delta method, and simplify. You should land on a variance of the form one plus half the squared Sharpe, divided by the sample size.
25 min Check the derivation by simulation rather than by trusting the algebra: generate 10,000 return series with a known true Sharpe at your sample length, compute the realised Sharpe for each, and compare the empirical standard deviation against your formula. They should agree to two decimal places.
Resources
Deliverable
notebooks/day-044-sharpe-se.ipynb with the delta-method derivation written out and a simulation confirming it at two sample lengths.
Checkpoint
Three years of daily returns, realised Sharpe 1.0. Give the standard error and say whether you can reject a true Sharpe of zero.
Prepare for tomorrow
Ten minutes tonight so Day 45, Sunday, 20 September 2026 starts clean. This is what the evening email sends you.
Have yesterday’s derivation to hand; tomorrow it becomes code and a test.
Decide what your qlib/stats.py should return: a number, or a small object carrying the estimate, the standard error and the sample size. Write down which and why.
Look at how empyrical-reloaded structures its return values for comparison.