Skip to main content

Desk Lab · Game

Real or Simulated?

Each chart is either about six months of a real 2026 US Treasury yield or a random walk with the same start and the same daily volatility. Real or simulated? Ten charts.

REAL

Chart1 / 10
Correct0
Best—

Loading the 2026 Treasury data…

How it works

The simulated series start at the real level and use the real series' own daily standard deviation, so the scale looks right. Most people score close to a coin toss, which is the lesson: day-to-day yield moves look a lot like noise.

After each answer the chart is labelled REAL (with the tenor and dates) or SIMULATED.

Real series: U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates, 2026 (public domain). Simulated series: Gaussian random walks generated in your browser.

The Python behind it

Copy it into a notebook or the Code Playground. The comment shows what it prints.

import numpy as np

rng = np.random.default_rng(1)
real = np.array([4.17, 4.19, 4.15, 4.21, 4.18])   # paste a real daily yield series here (%)
sd = np.diff(real).std(ddof=1)                     # its own daily volatility
fake = real[0] + np.concatenate([[0], np.cumsum(rng.normal(0, sd, len(real) - 1))])
print(fake.round(2))

Practise it like an interview

From the Probability & Mental Maths questions. Type your answer, check it, then open the working.

Warm-up

Without a calculator, what is 1.05^10 to two decimal places? Show a quick way to get it in your head.

Show the answer and working

1.05^10 = e^(10 ln 1.05) ≈ e^0.4875 ≈ 1.63.

  1. ln(1.05) ≈ 0.05 − 0.05²/2 = 0.05 − 0.00125 = 0.04875.
  2. Times 10: ≈ 0.4875.
  3. e^0.4875 = e^0.5 × e^(−0.0125) ≈ 1.6487 × 0.9876 ≈ 1.628, so about 1.63.

CheckRule of 72: at 5% money doubles in about 72/5 = 14.4 years, so after 10 years you should be well past 1.5 but short of 2. 1.63 fits.

Interview trapAnswering 1.50 (simple interest, 10 × 5%). Interviewers want to see compounding and a log trick, not long multiplication.

Warm-up

A stock has a daily volatility of 1%. Assuming 252 trading days and independent days, what is its annual volatility in %? Estimate √252 in your head.

Show the answer and working

√252 ≈ 15.87, so annual volatility ≈ 1% × 15.87 ≈ 15.9%.

  1. Variances add over independent days, so annual σ = daily σ × √252.
  2. √256 = 16. Use √(a − b) ≈ √a − b/(2√a): √252 ≈ 16 − 4/32 = 16 − 0.125 = 15.875.
  3. Annual volatility ≈ 1% × 15.87 ≈ 15.9%.

Check15.87² ≈ 251.9, so the estimate is very close.

Interview trapMultiplying by 252 instead of √252, which gives 252%. A common follow-up runs the other way: 16% annual is about 1% daily, the handy divide-by-16 rule.

More from the Desk Lab

For education only; not investment advice. Labels on this site: REAL means real public data with its source given, SIMULATED means random numbers generated for the example, ILLUSTRATIVE means made-up inputs chosen to teach the idea.