Quant interview toolkit · Bayesian estimation

After a five-basis-point signal, what should you expect next?

One instrument shows a five-basis-point improvement in a noisy execution study. Across comparable instruments the persistent improvements vary by about two basis points, while this particular measurement has a three-basis-point standard error. If an independent desk repeats the study, is five basis points your best forecast?

Shrink a noisy signal toward zero

Posterior expected signal (bp)

Normal prior variance 1 and observation-noise variance 4 give a 20% shrinkage weight.

Describe what persists across repetitions

Model the instrument’s persistent effect as θ∼N(μ,τ2)\theta\sim N(\mu,\tau^2). A study measures Y=θ+ϵY=\theta+\epsilon with ϵ∼N(0,s2)\epsilon\sim N(0,s^2) independent of θ\theta. The center μ\mu and the two variances are assumed known for now. A repeat study shares θ\theta and has fresh independent measurement noise.

Given Y=yY=y, the posterior density for θ\theta is proportional to the product of the prior density and the observation likelihood. Up to constants, minus twice its log is

(θ−μ)2τ2+(y−θ)2s2.\frac{(\theta-\mu)^2}{\tau^2}+\frac{(y-\theta)^2}{s^2}.

Collect the quadratic and linear terms in θ\theta. The coefficient of θ2\theta^2 is 1/τ2+1/s21/\tau^2+1/s^2 and the linear coefficient is −2(μ/τ2+y/s2)-2(\mu/\tau^2+y/s^2). Completing the square gives a normal posterior with

v=(1τ2+1s2)−1,m=μ+τ2τ2+s2(y−μ).v=\left(\frac1{\tau^2}+\frac1{s^2}\right)^{-1},\qquad m=\mu+\frac{\tau^2}{\tau^2+s^2}(y-\mu).

The observed deviation from the group mean gets weight τ2/(τ2+s2)\tau^2/(\tau^2+s^2). If measurements become extremely precise, the weight approaches one. If persistent effects across instruments are tightly clustered and measurements are noisy, a large deviation carries less information about this instrument’s persistent effect.

Put the units back in

Take μ=0\mu=0, τ=2\tau=2 bp, s=3s=3 bp and y=5y=5 bp. The signal gets weight 4/134/13, so the posterior mean is 20/13≈1.5420/13\approx1.54 bp. Posterior variance is 36/1336/13 bp². A repeat measurement with the same standard error has the same conditional mean but adds 9 bp² of fresh noise.

Quantity given the studyMean (bp)Standard deviation (bp)
Persistent effect1.541.66
Independent repeat measurement1.543.43

The distinction changes a probability statement. The posterior chance of a positive persistent effect is Φ(1.54/1.66)≈82%\Phi(1.54/1.66)\approx82\%. The chance that the repeat study prints a positive estimate is only Φ(1.54/3.43)≈67%\Phi(1.54/3.43)\approx67\%. Both figures use the same observed five basis points.

Where the forecast weight can go wrong

Suppose both desks use the same miscalibrated reference price. Their measurement errors may now be correlated. Under a joint Gaussian model with error covariance cc between the original and repeat measurements, their total covariance is τ2+c\tau^2+c. The slope for forecasting the second measurement from the first becomes (τ2+c)/(τ2+s2)(\tau^2+c)/(\tau^2+s^2). Reproducible bias can make a number easier to predict without making it a better estimate of the instrument’s underlying effect.

In practice the group center and spread also have to come from somewhere. The marginal variance of the original measurements in the simple equal-noise model is τ2+s2\tau^2+s^2. Using the full observed cross-sectional variance as the prior variance counts measurement noise twice. A group assembled only from instruments with spectacular reported improvements creates a further problem. Its observed distribution has already been truncated by selection.

Practice

ReplicationA second independent measurement also reports five basis points, again with a three-basis-point standard error. What happens to the estimate?
Show answer

The two-study average is still 5 but its variance about the persistent effect is 9/29/2. Its weight becomes 4/(4+4.5)=8/174/(4+4.5)=8/17, so the updated posterior mean is 40/17≈2.3540/17\approx2.35 bp. Independent corroboration increases the weight given to the observed improvement.

Choice of centerIf comparable instruments have a known mean improvement of two basis points, how would the original forecast change?
Show answer

The measured deviation from the group center is now 5−2=35-2=3. Keep 4/134/13 of that deviation and add it to 2. The forecast is 2+12/13≈2.922+12/13\approx2.92 bp. Shrinkage pulls toward the modeled group center, wherever that center lies.