The Analytical Investor
Month 2, Week 2 · week 6 of 48Line height: each week’s reading time, not a price

The Mathematics of Survival: Why Covariance is Your Only Free Lunch

Analyst Desk Month 2, Week 2 6 min read By Timothy Aine

Investors often spend their lives searching for the next “hot” stock or trying to time the market to avoid downturns. However, the true secret to long-term wealth isn’t found in a crystal ball; it is found in the cold, hard mathematics of portfolio construction. Below, I suggest that, investors frequently mistake price fluctuations for permanent loss. In reality, the greatest threat to your capital isn’t a “red day” on the stock exchange. In reality, it is a lack of structural diversification.

To build a portfolio that truly lasts, you must move beyond the “gut instinct” of picking individual assets and start thinking like a mathematical engineer.


The Psychological Trap: Volatility vs. Risk

The average investor stares at their portfolio dashboard, sees a 5% drop in a stock, and feels a sense of catastrophe. This emotional reaction is based on a fundamental misunderstanding of Volatility.

The goal of a sophisticated investor is to harvest the growth of volatile assets (like equities) while using math to dampen the swings.


The Core Mathematical Engine

To understand how to reduce risk without necessarily reducing returns, we must look at the relationship between three concepts: Volatility, Variance, and Covariance.

The Power of Variance

Variance (σ2\sigma^2) is the square of volatility. In portfolio math, we use squared deviations because they penalize extreme price moves more heavily. When you combine assets, the total risk of the portfolio is not just the average of the individual risks. Instead, it is determined by how those assets move in relation to one another.

The Two-Asset Formula

For a simple two-asset portfolio, the math is expressed as:

σp2=w12σ12+w22σ22+2w1w2ρσ1σ2\sigma_p^2 = w_1^2 \sigma_1^2 + w_2^2 \sigma_2^2 + 2w_1 w_2 \rho \sigma_1 \sigma_2

(Where ww is the weight of the asset, σ\sigma is its volatility, and ρ\rho is the correlation).

The Magic of Correlation (ρ\rho)

Correlation is the “dial” that controls your diversification benefit:


Case Study: A Portfolio

Let’s apply this to a real-world scenario using common Ugandan assets: USE Banks, Government Bonds, and Land.

The Assets

  1. USE Banks (σ=18%\sigma = 18\%): High growth potential but prone to market swings.
  2. Bonds (σ=8%\sigma = 8\%): Stable, lower-risk income.
  3. Land (σ=25%\sigma = 25\%): High perceived stability but high mathematical volatility especially for undeveloped land. Some studies report lower volatilities for land.

The Covariance Insight

If you hold these assets individually, you are exposed to their full volatility. However, the Covariance Engine shows that because these assets don’t all crash at the same time, the combined risk is lower than the sum of its parts. For example, the covariance between a bank stock and a bond is significantly lower than the volatility of the bank alone.

The Diversification Result:

By simply spreading capital across these three categories, you reduce your “price of admission” (risk) by nearly 6% without sacrificing the underlying growth of the economy.


Quantitative Proof: Why This Wins Long-Term

To prove this isn’t just theoretical, let’s look at 20-year Monte Carlo simulations (10,000 possible market paths) with an 11% expected return:

Portfolio TypeAnnual Volatility (σ)Worst Case (5th %ile)Sharpe Ratio
USE Equities22%1.8x growth0.55
60/40 Equity/Bond15%3.9x growth0.73
Equal-Weight 3-Asset19%2.4x growth0.60

The takeaway is staggering: The 60/40 portfolio, thanks to covariance math, saves 115% more capital in worst-case scenarios than a pure equity strategy. Lower volatility isn’t just about sleeping better at night; it allows your money to compound more dramatically because you have fewer deep “holes” to climb out of.

A break down of the mathematics in the table can be seen by expanding this.
The Volatility Tax (Geometric vs. Arithmetic Returns)

The article notes that lower volatility compounds dramatically. This is due to a mathematical phenomenon known as Variance Drag.The return most people discuss is the Arithmetic Mean (rar_a), but the return you actually keep is the Geometric Mean (rgr_g). The relationship between them is approximately: rg≈ra−σ22r_g \approx r_a – \frac{\sigma^2}{2}

Verification: If two portfolios both have an 11% average return:

Portfolio A (Equities): 11%−0.2222=11%−2.42%=𝟖.𝟓𝟖%11\% – \frac{0.22^2}{2} = 11\% – 2.42\% = \mathbf{8.58\% } actual growth.

Portfolio B (60/40 Mix): 11%−0.1522=11%−1.125%=𝟗.𝟖𝟕𝟓%11\% – \frac{0.15^2}{2} = 11\% – 1.125\% = \mathbf{9.875\%} actual growth. Even though the “average” return is the same, the lower volatility portfolio earns 1.29% more per year simply by avoiding the “volatility tax.” Over 20 years, this difference leads to the 3.9x vs. 1.8x capital growth gap mentioned in the text.

Verifying the Covariance Engine

The article claims a 60/20/20 portfolio results in σ=15.2%\sigma = 15.2\%. We can verify this using the Portfolio Variance Formula for three assets:
σp2=∑wi2σi2+∑∑2wiwjCov(i,j)\sigma_p^2 = \sum w_i^2\sigma_i^2 + \sum \sum 2w_iw_jCov(i,j)

Using the examples provided:

Weights (w)

  • Banks (0.60)
  • Bonds (0.20)
  • Land (0.20)

Individual Risks (σ\sigma):

  • Banks (18%),
  • Bonds (8%),
  • Land (25%)

Covariances (Cov):

  • Bank/Bond (0.01036)
  • Bank/Land (0.018)
Step-by-Step Calculation:
  1. Weighted Variances: (0.62×0.182)+(0.22×0.082)+(0.22×0.252)=0.011664+0.000256+0.0025=𝟎.𝟎𝟏𝟒𝟒𝟐(0.6^2 \times 0.18^2) + (0.2^2 \times 0.08^2) + (0.2^2 \times 0.25^2) = 0.011664 + 0.000256 + 0.0025 = \mathbf{0.01442}
  2. Covariance Terms: 2(0.6×0.2×0.01036)+2(0.6×0.2×0.018)+Bond/Land terms≈𝟎.𝟎𝟎𝟖𝟖2(0.6 \times 0.2 \times 0.01036) + 2(0.6 \times 0.2 \times 0.018) + \text{Bond/Land terms} \approx \mathbf{0.0088}
  3. Total Variance (σp2\sigma_p^2): Summing these yields ≈0.0232\approx 0.0232.
  4. Portfolio Volatility (σp\sigma_p): 0.0232≈𝟏𝟓.𝟐%\sqrt{0.0232} \approx \mathbf{15.2\%}.

This matches the article’s conclusion. The “magic” happens because the covariance terms are lower than the individual variances, pulling the total risk down.


The Sharpe Ratio: Efficiency of Risk

The table provides Sharpe Ratios, which measure excess return per unit of risk.

.Sharpe Ratio=Rp−Rfσp\text{Sharpe Ratio} = \frac{R_p – R_f}{\sigma_p}

  • Equities: 0.55.
  • 60/40 Eq/Bond: 0.73.

The higher Sharpe Ratio (0.73) for the diversified portfolio proves that it is more mathematically efficient. You are getting more return for every “unit” of stress (volatility) you endure.


The 5th Percentile (Worst-Case Survival)

The article highlights that covariance math saves 115% more capital in worst cases. This refers to the Value at Risk (VaR) or the bottom 5% of the 10,000 Monte Carlo simulations.

In a normal distribution, the 5th percentile is roughly 1.6451.645 standard deviations below the mean.

  • High Volatility (22%): A “bad year” is 11%−(1.645×22%)=−𝟐𝟓.𝟏𝟗%11\% – (1.645 \times 22\%) = \mathbf{-25.19\%}.
  • Low Volatility (15%): A “bad year” is 11%−(1.645×15%)=−𝟏𝟑.𝟔𝟕%11\% – (1.645 \times 15\%) = \mathbf{-13.67\%}.

Because the diversified portfolio loses significantly less during market crashes, it keeps more capital “at work” to compound during the recovery, leading to the massive 3.9x total growth advantage over 20 years


Knowing the Limits of the Model

While math is a superior guide to “gut instinct,” it is not a precision instrument. There are four key limitations every investor should respect:

  1. Fat Tails: Markets often experience “Black Swan” events. In 2020, the USE dropped 35%, which exceeded what historical variance would have predicted.
  2. Correlation Spikes: During global “taper tantrums” or crises, assets that usually move separately might suddenly move together, breaking your diversification.
  3. Estimation Error: Relying on a small sample (e.g., 60 months of data) can lead to “noisy” results. Small data sets can mislead you into thinking an asset is safer than it is.
  4. Skewness: Variance assumes returns are symmetrical. However, land often has “negative skewness”, meaning it has frequent stalls or “flat” periods and very rare, explosive booms.

Conclusion: Engineering Survival

The timeless lesson of modern portfolio theory is that risk emerges from the structure of your portfolio, not from the individual assets themselves. You do not win by avoiding “red days” or trying to predict the next market boom. You win by engineering a combination of low-correlation assets that allow you to survive the volatility that destroys others.

Diversification is the only “free lunch” in finance. By harvesting the mathematical reality of covariance, you ensure that your portfolio endures through the cycles of the Ugandan market and beyond.


Practical Tool: Excel Risk Calculator

To see how this works with your own money, set up the following model in Excel.

1. Input Table

CellLabelDescription
B1Weight 1Percentage of Asset 1 (e.g., 0.60)
B2Weight 2Percentage of Asset 2 (e.g., 0.40)
B3Vol 1Annual Standard Deviation of Asset 1
B4Vol 2Annual Standard Deviation of Asset 2
B5CorrCorrelation between Asset 1 and 2 (from -1 to 1)

2. Formulas

By adjusting the Correlation (B5), you will see exactly how much risk “disappears” simply by picking assets that don’t move in sync.

That was week 6 of 48. Get the rest of the course by email, in order. Choose how many; nothing else arrives.

New subscribers also get the Investment Growth Simulator, a free Excel workbook.

How much would you like?

More from Analyst Desk

  1. W2Understanding the Efficient Market HypothesisAnalyst Desk5 min
  2. W2Cognitive Biases in Financial Decision MakingAnalyst Desk5 min
  3. W2Intrinsic Value and Discounted Cash Flow ExplainedAnalyst Desk6 min