Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 10

Quantifying Investment Risk: Variance, Semi-variance, and Shortfall Probability

Recommended resources

Welcome to the next lesson in our exploration of investment risk. In our previous session, we delved into the subjective side of risk by using utility theory to calculate the certainty equivalent and risk premium. These tools allowed us to put a precise monetary value on an investor's personal aversion to risk.

Today, we shift our focus from the investor's subjective feelings to the objective, statistical properties of the investment itself. We will explore three fundamental statistical measures used to quantify and compare investment risk: variance, semi-variance, and shortfall probability. Mastering these calculations is a core skill for the CM2 exam, providing you with a foundational toolkit for risk assessment. By the end of this lesson, you will be able to calculate each of these measures and understand their distinct roles in evaluating investment opportunities.

1. Variance: The Standard Measure of Total Risk

As a statistician, you are already well acquainted with variance as a measure of the dispersion of a random variable around its mean. In finance, we apply this concept directly to the distribution of investment returns. The variance of returns quantifies the total volatility of an investment—both the desirable upside movements and the undesirable downside movements.

For an investment with a discrete set of possible returns , each with a probability , the expected return is:

And the variance of returns, , is:

A higher variance indicates that returns are more spread out, implying greater uncertainty and, therefore, higher total risk.

To see this calculation in a practical financial context, let's watch a short video that compares two different stocks based on their expected return and standard deviation (the square root of variance).

(7 of 20) Ch.13 - Calculation of expected return, variance, & st. dev.: example with 2 stocks

The video "(7 of 20) Ch.13 - Calculation of expected return, variance, & st. dev.: example with 2 stocks" from the Teach me finance channel provides a clear, step-by-step numerical example.

Please watch the entire video from start to finish. Pay close attention to how the instructor calculates the expected return and variance for Stock A and then repeats the process for Stock B. The final comparison highlights the classic risk-return trade-off that is central to finance.

As the video demonstrates, Stock A offers a higher expected return but also comes with a significantly higher variance (and standard deviation), making it the "riskier" choice in terms of overall price fluctuation.

However, does variance tell the whole story? Most investors are not displeased with returns that are unexpectedly high. The risk they truly care about is the risk of loss or underperformance. This distinction leads us to our next set of measures, which focus exclusively on the downside.


2. Semi-variance: Focusing on Downside Risk

Semi-variance is a risk measure that addresses the main drawback of variance by considering only the returns that fall below a specified benchmark. By ignoring the returns above the benchmark, it isolates the "bad" volatility that investors typically want to avoid.

The benchmark, , is often the investment's mean return (), but it could also be a required rate of return or simply zero. The formula for semi-variance is the average of the squared deviations for all returns below the benchmark:

Note the similarity to the variance formula; the only difference is that the summation is restricted to the subset of returns that underperform. The square root of the semi-variance is called the semi-deviation.

The following video works through a CFA exam-style problem to calculate target semi-variance and semi-deviation, where the benchmark is a specific target return, not the mean.

Target semideviation and target semivariance (for the @CFA Level 1 exam)

This video, "Target semideviation and target semivariance," by Let me explain, is an excellent practical demonstration of the calculation process.

Please watch the video from start to finish. The key steps to observe are: Identifying the benchmark or target return. Filtering the data to include only the returns that fall below this target. Calculating the squared deviations from the target for these selected returns. Summing these squared deviations and dividing by n-1 (for a sample) to find the semi-variance. Taking the square root to find the semi-deviation.

Spreadsheets are also commonly used for this calculation. The image below shows the same logic applied in Excel. The formula in cell D20 calculates the semi-variance by first identifying returns less than the mean (Column C), calculating their squared differences from the mean (Column E), and then averaging these squared differences.

This spreadsheet shows the calculation of semi-variance for a series of monthly returns. It first calculates the mean return. Then, it identifies returns below the mean, computes their squared difference from the mean, and finally averages these squared differences to get the semi-variance.

3. Shortfall Probability: The Chance of Falling Short

While semi-variance measures the magnitude of downside risk, shortfall probability offers a more direct answer to a crucial question: "What is the probability that my return will be less than my minimum acceptable return?"

This minimum acceptable return is called the threshold return, denoted . Shortfall risk is the risk of falling below this threshold, and the shortfall probability is simply .

This graph shows a normal distribution of portfolio returns. The expected return E(R_p) is at the center. The threshold return, R_L, is to the left. The shaded area under the curve to the left of R_L represents the shortfall risk, or the probability of the actual return being less than the threshold.

For discrete return distributions, calculating this is straightforward: you just sum the probabilities of all outcomes where the return is below . For continuous distributions, like the normal distribution, we can use a clever tool called the Safety-First Ratio (SFRatio), developed by A.D. Roy.

The following reading explains this concept and its application.

Shortfall Risk & Safety-First Ratio | CFA Level 1 - AnalystPrep

This article from AnalystPrep provides a concise introduction to shortfall risk and the safety-first criterion for choosing portfolios.

Please read the following sections: Start with the definition of shortfall risk. Next, read the section on the Safety-first Ratio to understand the formula and its purpose. Study the first numerical example, which shows how to calculate the SFRatio for three different portfolios and select the optimal one. Finally, pay close attention to the section titled Note to candidates. This part is crucial as it demonstrates how to use the standard normal distribution to convert the SFRatio into the actual shortfall probability, P(R < R_L).

The key insight from the reading is Roy's safety-first criterion: the optimal portfolio is the one that minimizes the probability of falling short of the threshold return. If returns are normally distributed, this is equivalent to choosing the portfolio with the highest Safety-First Ratio.

The formula is:

Where is the portfolio's expected return, is the threshold return, and is the portfolio's standard deviation. This ratio measures the "excess return" above the threshold per unit of risk.

As your statistics background suggests, this ratio is a z-score. The shortfall probability is then found using the cumulative distribution function (CDF) of the standard normal distribution, :


Your Turn: An Exam-Style Problem

Let's apply these concepts to a problem typical of the CM2 exam. The following question is adapted from actuarial education materials.

An investor is choosing between three investments, A, B, and C, with the following discrete return distributions:

  • Investment A: 40% chance of 10% return; 20% chance of 15%; 40% chance of 20%.
  • Investment B: 25% chance of 10% return; 70% chance of 15%; 5% chance of 40%.
  • Investment C: A uniform distribution on the range [10%, 20%].

For Investment A and Investment B, try to calculate the following:

  1. Expected Return:
  2. Variance of Return:
  3. Semi-variance: Use the expected return you calculated in part 1 as the benchmark.
  4. Shortfall Probability: Calculate the probability of the return being below 15%.

For Investment C, think about how you would approach these calculations for a continuous uniform distribution. What would be its expected return and variance?

Take some time to work through these calculations. This exercise directly applies the formulas and concepts we've covered today.


Conclusion

In this lesson, we have added three objective, statistical risk measures to our analytical toolkit. You are now equipped to calculate and interpret them, moving beyond subjective preferences to the hard data of return distributions.

Here are the key takeaways:

  • Variance measures the total dispersion of returns around the mean, treating upside and downside volatility equally.
  • Semi-variance improves upon variance by focusing only on downside risk—the squared deviations of returns that fall below a specified benchmark.
  • Shortfall Probability provides the direct probability that an investment's return will fall short of a minimum acceptable threshold, . For normally distributed returns, the Safety-First Ratio is a key tool for comparing portfolios and finding this probability.

In our next lesson, we will continue our focus on downside risk by exploring one of the most widely used risk measures in the financial industry: Value at Risk (VaR). We will define VaR, learn how to compute it for different distributions, and prepare to compare it with our final risk measure, Expected Shortfall.