The number is to be estimated by Monte Carlo with uniform on and
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Probability, statistics and stochastic methods · Probability, statistics and stochastic methods
Error, Chance and the Machine, Ch Monte Carlo integration and variance reduction
Problem
The number ln2=∫01du/(1+u) is to be estimated by Monte Carlo with U uniform on (0,1) and f(u)=1/(1+u). The control variate is g(u)=u, whose mean μg=21 is known, so that each draw contributes f(U)−c(g(U)−μg) to the average.
((a)) Show that var(f)=21−(ln2)2 and cov(f,g)=1−23ln2, evaluate both, and find the optimal coefficient c∗.
((b)) Find the correlation coefficient ρfg, and the factor by which the variance per draw at c∗ is smaller than the plain variance var(f).
((c)) A student takes c=1, as in the example f=eU, g=1+U of the text. Find the variance per draw at c=1 and compare it with plain sampling.
((d)) Explain in two or three sentences why a negative c∗ causes no difficulty.