Exercise: Tail probability via importance sampling
Estimate for using:
(a) Plain Monte Carlo with .
(b) Importance sampling with for .
True value: .
Tasks
-
Implement both estimators. For each, report the point estimate, 95% CI, and the ratio of the IS standard error to the plain SE.
-
Vary . Plot the IS standard error against .
-
Optimum. From the optimal- formula (where ), what's ? Approximate it with a normal — what mean and variance?
-
Compare (centre on barrier) with (slight overshoot). Why does work well?