Bayesian inference
7 posts
- Quant interview toolkit · Bayesian updating
Eight wins in ten trades: how good is the coin?
A small winning streak is evidence, but it is not an 80% law of nature. Use a beta-binomial model to update a hit-rate estimate, forecast the next trade, and distinguish uncertainty about a fixed rate from changing markets.
- Quant interview toolkit · Bayesian estimation
After a five-basis-point signal, what should you expect next?
Work through Gaussian shrinkage by completing the square and separate uncertainty about a persistent effect from uncertainty about the next observation.
- Quant interview toolkit · case-control sampling
Why a 90% alert can mean an 8.3% chance of an incident
Convert probabilities learned on a balanced case-control sample back to the live incident rate, then check the correction using counts.
- Quant techniques · time series
Detecting regime shifts with Bayesian online changepoints
Track the posterior distribution of time since the latest change point and update regime uncertainty as each financial observation arrives.
- Quant techniques · market microstructure
Adverse selection and the bid–ask spread: the Glosten–Milgrom model
Derive why a competitive dealer quotes a spread even with no inventory or processing costs, using Bayesian updates after buy and sell orders.
- Quant techniques · market microstructure
Kyle’s lambda: how informed orders move prices
Derive linear price impact in the one-auction Kyle model, calculate the equilibrium impact coefficient, and see how noise trading hides informed demand.
- Quant techniques · Bayesian filtering
Particle filters for stochastic volatility
Track a latent volatility distribution with sequential Monte Carlo, update particle weights from returns, and diagnose degeneracy before using forecasts.