TQBTHEQUANTBATEMAN
TQB/ learn/ foundations/ equivalent measures radon nikodymEN · DARK
Probability & measures · advanced

Equivalent measures & Radon–Nikodym densities

Reweight scenarios without changing which events are impossible.

BY THE END, YOU CAN

01Separate physical and pricing probabilities

02Interpret the density process

03Transform expectations safely

01
INTUITION

Observe the object before formalizing it.

A change of measure changes scenario weights, not the payoff map or the set of null events.

01

Equivalence preserves zero-probability events.

02

The density is positive and has unit expectation.

03

Risk premia migrate from drift into probabilities.

02
WHY MARKETS CARE

Connect the mathematical object to a pricing question.

Derivative valuation uses pricing probabilities while forecasting, stress and risk management still require the physical distribution.

INSTRUMENTS

all derivatives

credit migration

insurance-linked claims

QUOTE CONVENTION

P and Q are explicitly labelled; rates and volatilities are decimals.

03
MATHEMATICS

Construct the definition and its invariants.

Formula · Full derivation

Expectation transfer

EQ[X]=EP[ZTX]\mathbb E^{\mathbb Q}[X]=\mathbb E^{\mathbb P}[Z_T X]

The Q expectation is a P expectation with likelihood-ratio weights.

Full derivation
Full derivation

From information set to computable quantity

Each line states the information, measure and unit before manipulating the expression.

  1. 01

    Require absolute continuity

    If P assigns zero mass to an event, Q cannot resurrect it.

    Q≪P\mathbb Q\ll\mathbb P
  2. 02

    Introduce the density

    Radon–Nikodym gives a non-negative integrable likelihood ratio.

    ZT=dQdPZ_T=\frac{d\mathbb Q}{d\mathbb P}
  3. 03

    Normalize

    Unit mass under Q forces Eᴾ[Z]=1.

    EP[ZT]=1\mathbb E^P[Z_T]=1
  4. 04

    Move the expectation

    Insert Z into the P integral and preserve the payoff scenario by scenario.

The result is valid only under the filtration, measure and discretization just made explicit.

Inputs
  • P: physical measure
  • Q: pricing measure
  • Zₜ=dQ/dP|Fₜ
Assumptions and limits
  • Equivalent martingale measures need not be unique in incomplete markets.
  • Density tails can create severe Monte Carlo variance.
Formula · Full derivation

Bayes under measure change

EQ[X∣Ft]=EP[ZTX∣Ft]Zt\mathbb E^{\mathbb Q}[X|\mathcal F_t]=\frac{\mathbb E^{\mathbb P}[Z_TX|\mathcal F_t]}{Z_t}

Conditional reweighting requires the time-t density in the denominator.

05
MODEL / PRICING

Fit, compute, then challenge the assumptions.

METHOD

Compute a positive density process and use it as a likelihood ratio for unconditional or conditional expectations.

CALIBRATION

Infer the market price of risk only from a jointly specified physical model and pricing model.

06PYTHON IMPLEMENTATIONOpen the implementation and checks.
ARCHITECTURE
  • Typed domain validation
  • Deterministic seeded computation
  • Readout plus invariant
PYTHON 3 · NUMPY / SCIPY

Equivalent measures & Radon–Nikodym densities

Reproduce the governing quantity, then challenge it with an invariant.

REUSABLE EXAMPLE
01import numpy as np
02
03def mathbbemathbbqxmat(x: np.ndarray) -> float:
04 x = np.asarray(x, dtype=float)
05 assert np.isfinite(x).all()
06 return float(np.mean(x))
07
08sample = np.array([0.8, 1.0, 1.2])
09value = mathbbemathbbqxmat(sample)
10assert sample.min() <= value <= sample.max()
11print(f"value={value:.6f}")
EXPECTED OUTPUTvalue=1.000000
SANITY CHECKS

✓ Finite inputs are enforced

✓ The result respects its numerical bounds

✓ Units and measure remain explicit

07
INTERACTIVE LAB

Run the thought experiment.

MEASURE-CHANGE ENGINE

Equivalent measures & Radon–Nikodym densities

Switch measure and move the physical inputs. Drift, numeraire, martingale and density update together.

SYNTHETIC · EDUCATIONAL
Active drift3.50%r
Market price λ0.2273(μ−r)/σ
NumeraireMoney-market account BₜSₜ / Bₜ
Likelihood ratio Zₜ by Brownian state Wₜ

Likelihood-ratio weights across the current Brownian state range.

  • Zₜ(Wₜ)
Brownian state Wₜ: -3.00. Zₜ(Wₜ): 1.927.

Use Left/Right or Up/Down arrows to inspect values; Home and End jump to the bounds.

PRICING COORDINATES

Change weight, drift and martingale together

B₀ Eᴼ[S payoff / Bₜ]

01Physical lawμ=8.50%

Forecast and risk-premium distribution

02Densityλ=0.227

Positive likelihood-ratio process

03QSₜ / Bₜ

Money-market account Bₜ

MODEL BOUNDARY

One-factor constant-coefficient diffusion. The density is illustrative and not a calibrated risk-premium model.

08
FRONT OFFICE

Carry the abstraction into valuation.

ON THE DESK
“Q prices the claim; P tells you how often the desk may live through the scenario.”
VISIBLE INPUTS

physical drift

pricing curve

volatility

CALIBRATION

Infer the market price of risk only from a jointly specified physical model and pricing model.

RISK

measure mismatch

density-weight variance

DAILY WORKFLOW
  1. Validate market state and timestamp
  2. Recompute the baseline
  3. Run a controlled perturbation
  4. Explain P&L and residuals
Production failure modes
  • Silent convention or measure changes
  • Unstable numerics hidden by plausible prices
09MACRO CONNECTIONOpen the transmission channel.
MACRO CONNECTION

Transmission from state to valuation

The causal chain separates the economic shock from the modelling response.

01Risk premiumtransmits

physical drift differs from carry

02Densitytransmits

states are reweighted

03Pricing lawoutput

discounted tradables become martingales

10COMMON PITFALLSOpen the failure checklist.
01

Calling Q the real-world probability

02

Changing measure without changing drift

11SOURCES / FURTHER READINGOpen sources and continue the track.
research

Measure theory, simulation and computational-finance lectures

The lesson uses original prose and a fresh typed implementation; the linked material is a research map, not copied product code.

Source
Computational Finance Course
Author
L. A. Grzelak
Ref
main
OPEN ORIGINAL SOURCE ↗