Skip to content
nonconvexcard

The bagging variance formula

ProofIntermediate⏱ 30 minClassical MLbaggingvariancecorrelationrandom forest

Problem

Derive Var⁡(fˉ)=ρσ2+1−ρBσ2\Var(\bar f) = \rho\sigma^2 + \frac{1-\rho}{B}\sigma^2 for the average of BB predictors with common variance σ2\sigma^2 and pairwise correlation ρ\rho. Compute the limit, and explain precisely what random forests do about it and at what cost.

Write a complete argument. Every inequality you use should be one you could state precisely.

Solution

Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.

Related problems

All problems
SolvedProblemFieldTypeDifficultyTime
The Δ²/12 noise varianceQuantizationProofBeginner15 min
Concave impurity gives non-negative information gainClassical MLProofIntermediate30 min
Gradient boosting fits the negative functional gradientClassical MLProofIntermediate30 min
Mini-batching and the compute budgetSGDNumericalIntermediate30 min
The 1/n variance rate requires uncorrelated samplesProbabilityNumericalIntermediate30 min