CONTENTS

Exercise: Verifying a Radon-Nikodym Derivative — Normal Shift

Problem

Under P\mathbb{P}, let XN(0,1)X \sim \mathcal{N}(0, 1). Define:

Z:=exp ⁣(θX12θ2),θR.Z := \exp\!\left(\theta X - \tfrac{1}{2}\theta^2\right), \qquad \theta \in \mathbb{R}.
  1. Verify EP[Z]=1\mathbb{E}^{\mathbb{P}}[Z] = 1. (Hint: MGF of the standard normal at θ\theta is eθ2/2e^{\theta^2/2}.)

  2. Define Q\mathbb{Q} by dQ/dP=Zd\mathbb{Q}/d\mathbb{P} = Z. Compute Q(Xx)\mathbb{Q}(X \le x) by the change-of-measure formula and identify the distribution of XX under Q\mathbb{Q}.

  3. Compute EQ[X]\mathbb{E}^{\mathbb{Q}}[X] and EQ[X2]\mathbb{E}^{\mathbb{Q}}[X^2] using the change-of-measure formula EQ[g(X)]=EP[Zg(X)]\mathbb{E}^{\mathbb{Q}}[g(X)] = \mathbb{E}^{\mathbb{P}}[Z\cdot g(X)], and verify they match the moments of N(θ,1)\mathcal{N}(\theta, 1).

  4. Importance sampling application. Suppose you want to estimate P(X>4)\mathbb{P}(X > 4) for XN(0,1)X \sim \mathcal{N}(0, 1) under P\mathbb{P}. Direct Monte Carlo is terrible: most samples fall below 44. Use the change of measure with θ=4\theta = 4 to write an importance-sampling estimator for P(X>4)\mathbb{P}(X > 4): P(X>4)=EQ ⁣[1Z1X>4]=EQ ⁣[eθX+θ2/21X>4],\mathbb{P}(X > 4) = \mathbb{E}^{\mathbb{Q}}\!\left[\frac{1}{Z}\cdot \mathbf{1}_{X > 4}\right] = \mathbb{E}^{\mathbb{Q}}\!\left[e^{-\theta X + \theta^2/2}\mathbf{1}_{X > 4}\right], where under Q\mathbb{Q}, XN(4,1)X \sim \mathcal{N}(4, 1). Simulate 10510^5 samples under Q\mathbb{Q} and compare the tail-probability estimate to the exact value Φ(4)3.17105\Phi(-4) \approx 3.17\cdot 10^{-5}.

Hint

For part 4, compare the IS estimator's variance to naive Monte Carlo. Naive MC with 10510^5 samples will typically produce zero hits; IS converges rapidly.

Jump to the solution when you're ready.