QTQuant Terminal
A2-02A2·intro·~16 min

Volatility — the standard deviation of returns

statisticsvolatilitystd-devvol-clustering

▸ Pretest — guess, even if you don't know

If SPY's daily volatility is 1% and you (correctly) assume independence across days, what's its monthly volatility (~21 trading days)?

What volatility is

In finance, volatility is the standard deviation of returns. Almost always annualized. Some flavors you'll encounter:

For Phase 1 we mostly mean historical.

The sample standard deviation of returns is:

σ^=1N1t=1N(rtrˉ)2\hat{\sigma} = \sqrt{\frac{1}{N-1} \sum_{t=1}^{N} (r_t - \bar{r})^2}

The N1N-1 (Bessel's correction) instead of NN accounts for the fact that we used the sample mean to compute deviations. It makes the sample variance unbiased (the standard deviation itself remains slightly biased, but the correction helps).

Annualization

If daily returns are approximately independent with daily standard deviation σd\sigma_d, then:

σannual=σdT\sigma_{\text{annual}} = \sigma_d \cdot \sqrt{T}

where TT is trading days per year (252 for US equities, sometimes 252 or 250 for other markets).

For SPY: daily σ\sigma around 1% → annual σ\sigma around 16%. Memorize the multiplier 25215.87\sqrt{252} \approx 15.87.

Why volatility is easier to estimate than the mean

In A2-01 we said estimating the mean from a small sample is essentially hopeless. Volatility is the opposite — it's estimable from short samples.

Why? Not because variance is intrinsically easier — the reason is a scale mismatch: at daily frequency, volatility (~1%) is roughly 30× larger than the mean (~0.03%). Both estimators shrink their error as N\sqrt{N}, but the mean estimate has to resolve a tiny signal buried under a much larger noise term, while the volatility estimate is measuring the noise term itself.

Concretely, for (approximately) normal returns:

So for a 1-year sample of daily returns (N=252N = 252, daily σ=1%\sigma = 1\%, daily mean ≈ 0.03%):

(One caveat cuts the other way: fat tails make variance estimates noisier than the normal-theory formula suggests. The asymmetry survives, but it's the σ ≫ μ scale gap doing the work, not any magic of squared deviations.)

This asymmetry is enormous for trading. It means:

This is why disciplined quants focus relentlessly on risk: it's the part of strategy performance we can measure honestly.

The dark side: volatility isn't constant

Empirically, daily stock-return volatility:

A constant-vol assumption (which the basic formulas above implicitly make) underestimates risk during stress periods. More sophisticated models — GARCH, EWMA weighting recent observations more heavily — capture this. We'll meet them in the time series track.

For now: when you compute "the volatility" of an asset over a single window, you're computing an average across regimes. The vol you'll face going forward could be much higher or lower than the historical average.

A useful intuition: vol scales with T\sqrt{T}, returns scale with TT

Expected return scales linearly with time: E[rT]=TE[r1]E[r_T] = T \cdot E[r_1].

Volatility scales with the square root: σT=Tσ1\sigma_T = \sqrt{T} \cdot \sigma_1.

So as TT grows, the signal-to-noise ratio improves as T\sqrt{T}:

E[rT]σT=TE[r1]σ1\frac{E[r_T]}{\sigma_T} = \sqrt{T} \cdot \frac{E[r_1]}{\sigma_1}

This is why time itself is one of the biggest sources of edge in investing. Over a single day, returns are dominated by noise. Over 30 years, returns are dominated by expected return. The whole institutional-investing playbook (buy-and-hold equity, harvest the equity risk premium over decades) is just exploiting this fact.

It's also why intraday strategies are so much harder — your signal-to-noise is in the worst part of the curve.

Try it

Write the annualization yourself — this two-liner is one you'll type for the rest of the curriculum:

▮ EXERCISE · a2-02-ex1

Implement annualize_vol(daily_returns): the sample standard deviation (with Bessel's correction, ddof=1) of the daily returns, scaled by sqrt(252).

⧉ Review card
How do you annualize daily volatility for US equities?
Multiply by √252 ≈ 15.87. So daily vol of 1% → annual vol of ~16%. Assumes independence across days.
⧉ Review card
Why is volatility estimable from short samples while the mean isn't?
Scale mismatch: daily volatility (~1%) is ~30× the daily mean (~0.03%). Both SEs shrink as √N, but the vol estimate has small RELATIVE error (SE ~σ/√(2N) on a large quantity) while the mean estimate's SE (~σ/√N) exceeds the mean itself for any short sample.
⧉ Review card
What is volatility clustering?
Empirical fact: high-volatility days cluster together, as do low-volatility days. Standard normal-iid models miss this; GARCH-family models capture it.
⧉ Review card
Why does time horizon help investors?
Mean scales linearly (T), volatility scales as √T. Signal-to-noise grows as √T. Over decades, returns dominate noise; over days, noise dominates returns.

Explain it back

Without scrolling up, write 2 sentences: why is volatility easier to estimate than the mean, and why does this matter for trading?

◈ Calibration check

Could you compute and annualize a sample standard deviation from a return series?

1 = guessing · 5 = could teach it

⏻ End of lesson

Mark it read to book its 4 review cards into your deck.

Sources & further reading