Control variates

1

The control variates method is a variance reduction technique used in Monte Carlo methods. It exploits information about the errors in estimates of known quantities to reduce the error of an estimate of an unknown quantity.

Underlying principle

Let the unknown parameter of interest be \mu, and assume we have a statistic m such that the expected value of m is μ:, i.e. m is an unbiased estimator for μ. Suppose we calculate another statistic t such that is a known value. Then is also an unbiased estimator for \mu for any choice of the coefficient c. The variance of the resulting estimator m^{\star} is By differentiating the above expression with respect to c, it can be shown that choosing the optimal coefficient minimizes the variance of m^{\star}. (Note that this coefficient is the same as the coefficient obtained from a linear regression.) With this choice, where is the correlation coefficient of m and t. The greater the value of, the greater the variance reduction achieved. In the case that, , and/or are unknown, they can be estimated across the Monte Carlo replicates. This is equivalent to solving a certain least squares system; therefore this technique is also known as regression sampling. When the expectation of the control variable,, is not known analytically, it is still possible to increase the precision in estimating \mu (for a given fixed simulation budget), provided that the two conditions are met: 1) evaluating t is significantly cheaper than computing m; 2) the magnitude of the correlation coefficient is close to unity.

Example

We would like to estimate using Monte Carlo integration. This integral is the expected value of f(U), where and U follows a uniform distribution [0, 1]. Using a sample of size n denote the points in the sample as. Then the estimate is given by Now we introduce g(U) = 1+U as a control variate with a known expected value and combine the two into a new estimate Using n=1500 realizations and an estimated optimal coefficient we obtain the following results The variance was significantly reduced after using the control variates technique. (The exact result is .)

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article