ArticleslgStudy

science

Inverse-variance weighting

Inverse-variance weighting is a science 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 Inverse-variance weighting rather than just read about it. In short: In statistics, inverse-variance weighting is a method of aggregating two or more random variables to minimize the variance of the weighted average. Each random variable is weighted in inverse proportion to its variance (i.e., proportional to its precision).

Key takeaways

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

Reference excerpt

In statistics, inverse-variance weighting is a method of aggregating two or more random variables to minimize the variance of the weighted average. Each random variable is weighted in inverse proportion to its variance (i.e., proportional to its precision).

Formulation

Given a sequence of independent observations yi with variances σi2, the inverse-variance weighted average is given by

ŷ=∑iyi/σi2∑i1/σi2. The inverse-variance weighted average has the least variance among all weighted averages, which can be calculated as

Var(ŷ)=1∑i1/σi2. This variance can be used to parametrize a confidence interval. If the variances of the measurements are all equal, then the inverse-variance weighted average becomes the simple average. Inverse-variance weighting is typically used in statistical meta-analysis or sensor fusion to combine the results from independent measurements.

Context Suppose an experimenter wishes to measure the value of a quantity, say the acceleration due to gravity of Earth, whose true value happens to be μ. A careful experimenter makes multiple measurements, which we denote with n random variables X1,X2,...,Xn. If they are all noisy but unbiased, i.e., the measuring device does not systematically overestimate or underestimate the true value and the errors are scattered symmetrically, then the expectation value E[Xi]=μ ∀i. The scatter in the measurement is then characterised by the variance of the random variables Var(Xi):=σi2, and if the measurements are performed under identical scenarios, then all the σi are the same, which we shall refer to by σ. Given the n measurements, a typical estimator for μ, denoted as μ̂, is given by the simple average X‾=1n∑iXi. Note that this empirical average is also a random variable, whose expectation value E[X‾] is μ but also has a scatter. If the individual measurements are uncorrelated, the square of the error in the estimate is given by Var(X‾)=1n2∑iσi2=(σn)2. Hence, if all the σi are equal, then the error in the estimate decreases with increase in n as 1/n, thus making more observations preferred. Instead of n repeated measurements with one instrument, if the experimenter makes n of the same quantity with n different instruments with varying quality of measurements, then there is no reason to expect the different σi to be the same. Some instruments could be noisier than others. In the example of measuring the acceleration due to gravity, the different "instruments" could be measuring g from a simple pendulum, from analysing a projectile motion etc. The simple average is no longer an optimal estimator, since the error in X‾ might actually exceed the error in the least noisy measurement if different measurements have very different errors. Instead of discarding the noisy measurements that increase the final error, the experimenter can combine all the measurements with appropriate weights so as to give more importance to the least noisy measurements and vice versa. Given the knowledge of σ12,σ22,...,σn2, an optimal estimator to measure μ would be a weighted mean of the measurements μ̂=∑iwiXi∑iwi, for the particular choice of the weights wi=1/σi2. The variance of the estimator Var(μ̂)=∑iwi2σi2(∑iwi)2, which for the optimal choice of the weights become Var(μ̂opt)=(∑iσi−2)−1. Note that since Var(μ̂opt)<minjσj2, the estimator has a scatter smaller than the scatter in any individual measurement. Furthermore, the scatter in μ̂opt decreases with adding more measurements, however noisier those measurements may be.

Derivation

Uncorrelated measurements Consider a generic weighted sum Y=∑iwiXi, where the weights wi are normalised such that ∑iwi=1. If the Xi are all independent, the variance of Y is given by (see Bienaymé's identity)

Var(Y)=∑iwi2σi2. For optimality, we wish to minimise Var(Y) which can be done by equating the gradient with respect to the weights of Var(Y) to zero, while maintaining the constraint that ∑iwi=1. Using a Lagrange multiplier w0 to enforce the constraint, we express the variance:

Var(Y)=∑iwi2σi2−w0(∑iwi−1). For k>0,

0=∂∂wkVar(Y)=2wkσk2−w0, which implies that:

wk=w0/2σk2. The main takeaway here is that wk∝1/σk2. Since ∑iwi=1,

2w0=∑i1σi2:=1σ02. The individual normalised weights are:

wk=1σk2(∑i1σi2)−1. It is easy to see that this extremum solution corresponds to the minimum from the second partial derivative test by noting that the variance is a quadratic function of the weights. Thus, the minimum variance of the estimator is then given by:

Var(Y)=∑iσ04σi4σi2=σ04∑i1σi2=σ041σ02=σ02=1∑i1/σi2.

Correlated measurements

Normal distributions For normally distributed random variables inverse-variance weighted averages can also be derived as the maximum likelihood estimate for the true value. Furthermore, from a Bayesian perspective the posterior distribution for the true value given normally distributed observations yi and a flat prior is a normal distribution with the inverse-variance weighted average as a mean and variance Var(Y).

Multivariate case

For potentially correlated multivariate distributions an equivalent argument leads to an optimal weighting based on the covariance matrices 𝐂i of the individual vector-valued estimates 𝐱i:

𝐱̂=𝐂̂∑i𝐂i−1𝐱i 𝐂̂=(∑i𝐂i−1)−1 For multivariate distributions the term "precision-weighted" average is more commonly used. The Kalman filter gain minimizes the determinant of the posterior covariance (i.e. the generalized variance) of the estimated mean. This step of the Kalman filter, therefore, employs inverse-variance weighting, where more precise (i.e., lower variance) sources of information are weighted more heavily in the update step of the Kalman filter.

See also Weighted least squares Portfolio theory Cramér–Rao bound

References

Worked examples

Example 1 — a first encounter with Inverse-variance weighting

Start with the simplest possible case. Write down what Inverse-variance weighting claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, 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 Inverse-variance weighting 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 Inverse-variance weighting 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 Inverse-variance weighting

In research
Inverse-variance weighting appears in science 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 Inverse-variance weighting 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
Inverse-variance weighting is common in secondary-school and first-year university syllabi. It links to neighbouring topics Estimation methods, Meta-analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Inverse-variance weighting 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 “Inverse-variance weighting” →

How to study Inverse-variance weighting in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Inverse-variance weighting 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 Inverse-variance weighting out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Inverse-variance weighting in simple terms?

In statistics, inverse-variance weighting is a method of aggregating two or more random variables to minimize the variance of the weighted average. Each random variable is weighted in inverse proportion to its variance (i.e., proportional to its precision).

Why does Inverse-variance weighting matter?

Because it connects several science 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 Inverse-variance weighting?

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 Inverse-variance weighting.

Tags

  • Estimation methods
  • Meta-analysis

Keep exploring