Two regression models and are combined as . Assume both are unbiased, their errors and have variances and , and , where is the correlation of the errors. Which minimises the variance of the combined error, and what is that minimum variance?
Supervised learning, Ensembles
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can write the variance of a weighted sum of correlated errors and minimise a quadratic in one variable.
Key idea
The combined error is . It is still unbiased, and . Setting the derivative to zero gives
Steps
- Write the combined error. Since the weights and add up to 1, . Both errors have mean 0 (the models are unbiased), so the combined error has mean 0 and its mean squared error equals its variance.
- Use : .
- Differentiate and set to zero: . Collect the terms: , which gives .
- Check it is a minimum: , which is positive unless the two errors are identical.
- Substitute back to get the minimum: . It is never larger than , because and are among the choices.
- Sanity checks. With : , so the less noisy model gets more weight. With : and , so the less correlated the models, the bigger the gain.
Common mistakes
- Dropping the covariance term. That gives the answer for every case.
- Writing the cross term as ; it is .
- Assuming lies in . If and , the numerator is negative, so .
- Not saying why unbiasedness matters. Without it the mean squared error also contains a squared-bias term, and the answer changes.
How long your answer should be
Half a page; about 5 minutes.
Last checked on 4 December 2026.
Read this
- The Elements of Statistical Learning (ESL): Free PDF. Section 15.2 (Definition of Random Forests), eq. (15.1), p. 588: variance of an average of identically distributed estimators with pairwise correlation rho, rho*sigma^2 + (1-rho)/B*sigma^2, i.e. why correlation limits the gain from averaging.
- Goodfellow, Bengio & Courville, Deep Learning: Free online. Section 7.11 (Bagging and Other Ensemble Methods): the expected squared error of an ensemble average with error variance v and covariance c, (1/k)v + ((k-1)/k)c. Fully correlated errors give no gain; uncorrelated errors shrink as 1/k.
Previous in Supervised learning: A linear support vector regression (SVR) with an -insensitive loss, and , is trained on five points and learns (so , ). The points are , , , and . Using the dual variables, which points are support vectors, and which have zero training loss?
Next in Supervised learning: A binary classification training set has 64 one-dimensional samples, 32 from each class, and all 64 values of are distinct. A decision tree splits with thresholds and keeps splitting until every leaf is pure. Justify each answer. (a) What is the maximum possible training accuracy? (b) What is the maximum possible depth of the tree? (c) What is the minimum possible depth? (d) Does the minimum-depth tree need regularisation?