ArticleslgStudy

mathematics

Control variates

Control variates is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Control variates rather than just read about it. In short: 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.

Key takeaways

  • Control variates belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Control variates to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Control variates from memory before moving on to harder problems.

Reference excerpt

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 μ, and assume we have a statistic m such that the expected value of m is μ: 𝔼[m]=μ, i.e. m is an unbiased estimator for μ. Suppose we calculate another statistic t such that 𝔼[t]=τ is a known value. Then

m⋆=m+c(t−τ) is also an unbiased estimator for μ for any choice of the coefficient c. The variance of the resulting estimator m⋆ is

Var(m⋆)=Var(m)+c2Var(t)+2cCov(m,t). By differentiating the above expression with respect to c, it can be shown that choosing the optimal coefficient

c⋆=−Cov(m,t)Var(t) minimizes the variance of m⋆. (Note that this coefficient is the same as the coefficient obtained from a linear regression.) With this choice,

Var(m⋆)=Var(m)−[Cov(m,t)]2Var(t)=(1−ρm,t2)Var(m) where

ρm,t=Corr(m,t) is the correlation coefficient of m and t. The greater the value of |ρm,t|, the greater the variance reduction achieved. In the case that Cov(m,t), Var(t), and/or ρm,t 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, 𝔼[t]=τ, is not known analytically, it is still possible to increase the precision in estimating μ (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 |ρm,t| is close to unity.

Example We would like to estimate

I=∫0111+xdx using Monte Carlo integration. This integral is the expected value of f(U), where

f(U)=11+U and U follows a uniform distribution [0, 1]. Using a sample of size n denote the points in the sample as u1,⋯,un. Then the estimate is given by

I≈1n∑if(ui). Now we introduce g(U)=1+U as a control variate with a known expected value 𝔼[g(U)]=∫01(1+x)dx=32 and combine the two into a new estimate

I≈1n∑if(ui)+c(1n∑ig(ui)−3/2). Using n=1500 realizations and an estimated optimal coefficient c⋆≈0.4773 we obtain the following results

The variance was significantly reduced after using the control variates technique. (The exact result is I=ln⁡2≈0.69314718.)

See also Antithetic variates Importance sampling

Notes

References Ross, Sheldon M. (2002) Simulation 3rd edition ISBN 978-0-12-598053-1 Averill M. Law & W. David Kelton (2000), Simulation Modeling and Analysis, 3rd edition. ISBN 0-07-116537-1 S. P. Meyn (2007) Control Techniques for Complex Networks, Cambridge University Press. ISBN 978-0-521-88441-9. Downloadable draft (Section 11.4: Control variates and shadow functions)

Worked examples

Example 1 — a first encounter with Control variates

Start with the simplest possible case. Write down what Control variates claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Control variates before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Control variates ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Control variates

In research
Control variates appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Control variates in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Control variates is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational statistics, Monte Carlo methods, Statistical randomness, so understanding it makes those chapters shorter.
In everyday life
Look for Control variates outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Control variates” →

How to study Control variates in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Control variates means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Control variates out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Control variates in simple terms?

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.

Why does Control variates matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Control variates?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Control variates.

Tags

  • Computational statistics
  • Monte Carlo methods
  • Statistical randomness
  • Variance reduction

Keep exploring