Email FacebookTwitterMenu burgerClose thin

How Mean-Variance Optimization Works in Investing

Share

For many investors, the financial markets are governed entirely by mathematical equations applied to aspects of a security’s price and trading volume, among other variables. They evaluate rates of return, volatility, means and averages to figure out which securities will make them the most money. It is considered an alternative to investing based on underlying assets, in which you determine the qualitative strength of the company behind the financial product, or security, before investing in it. While these are often presented as mutually exclusive approaches, most savvy investors incorporate elements of both in their analysis. You can also work with a financial advisor who can handle investment analysis for you.

What Is Mean-Variance Optimization?

Mean-variance optimization is a key element of data-based investing. It is the process of measuring an asset’s risk against its likely return and investing based on that risk/return ratio. Here’s how it works.

A mean-variance analysis is a tool that investors use to help spread risk in their portfolios. In it the investor measures an asset’s risk, expressed as the “variance,” then compares that with the asset’s likely return. The goal of a mean-variance optimization is to maximize an investment’s reward based on its risk.

This is part of a general approach to investing known as portfolio optimization, or modern portfolio theory. As we wrote in our article explaining that concept, an optimized portfolio should generate the highest possible return based on an investor’s chosen amount of risk. It should also generate the least amount of risk for the investor’s preferred return.

Investors will use mean-variance optimization to create risk/reward data sets for various assets. They can then invest based on that information. This analysis can help investors diversify their portfolios across different levels of risk and select their investments based on preferred return.

Mean-Variance Optimization in Practice

A mean-variance analysis has two elements: risk, expressed as variance; and reward, expressed as return. Here is how each works.

Variance

An investor will measure risk based on the volatility of the given asset. This is not a simple average, but rather a calculation based on how much the asset’s price has changed and how quickly it has done so over a period of time. It’s important to understand that variance measures volatility in all directions. So, for example, consider two stocks:

  • Stock A has changed its price by +10%, +15% and +12% over a three-month period.
  • Stock B has changed its price by +1%, -2% and -1% over that same period of time.

Even though Stock B’s performance is objectively worse for the investor, its price has changed far less than Stock A. This makes it less volatile. As a result, Stock A has a higher variance than Stock B does. Investors will also refer to this as the asset’s “standard deviation.” Investors can measure variance over many periods of time. It is common to do so over one year.

Reward

The asset’s expected return is calculated based on what you know about its past returns along with its past volatility. While the specifics of calculating expected return are beyond the scope of this article, we explain it in detail in our article on the Capital Asset Pricing Model. However, the expected return is quite important because it tells you the payoff you should expect.

For example, say Stock A has an expected return of 5%. This means that based on its gains, losses and volatility, the odds are that it will probably grow by about 5%. That doesn’t mean that it will go up by 5% at any given time. It might shoot up by 50% and then lose 30% of its value, leaving you with just a 5% total gain. Or it might jump by 50% and stay there or lose 30% without the initial gain.

But by and large, expected return tells you what will probably happen over the long term based on what has happened in the past.

Optimization

Once you calculate the variance and the expected reward, the goal is to invest rationally based on your appetite for risk. All things being equal, when two securities have the same expected return you should select the one with the lower variance. Likewise, when two assets have the same variance, you should select the one with the higher expected return.

So, let’s say you have three stocks:

  • Stock A – Variance 9%/Expected return 6%;
  • Stock B – Variance 7%/Expected return 6%
  • Stock C – Variance 9%/Expected Return 8%

This means that the price of Stock A tends to fluctuate by about 9% from a hypothetical mean. This does not mean that the price of Stock A will move by anything even close to 9%. It could jump by 40% and then lose 2% of its value. Its price changes just come to a 9% volatility overall. At the same time, an investor should expect Stock A to gain about 6% of its value over time based on its total history of gains, losses and volatility.

The expected return tells us how profitable Stock A might be, while the volatility tells us how risky to consider it. Crudely put, it should gain about 6% of its value over time, but at any specific time, it tends to swing by 9%.

As an investor, we can then look at these assets from a risk/reward standpoint:

  • Stock B has a lower return, but also the lowest variance of any asset. It is probably a good fit for an investor looking to control their risk.
  • Stock C has a higher variance, but also the highest return on this list. It is probably a good fit for an investor looking to maximize their return.
  • Stock A is a mismatch for all investors. You can achieve the same returns at lower risk by investing in Stock B, and can get higher returns for the same risk with Stock C.

The Bottom Line

When it comes to building your portfolio, you can use these figures as your starting point. If you have identified the level of risk you’re comfortable with, you can use the variance to define your potential investments and then select the highest-performing options. In the alternative, if you have defined your investment around a specific rate of return, you can select assets with that expected return and choose the ones with the lowest variance.

Tips for Investing

  • Consider talking to a financial advisor about mean-variance optimization and how it could boost the total return of your portfolio. Finding the right financial advisor who fits your needs doesn’t have to be hard. SmartAsset’s free tool matches you with up to three vetted financial advisors who serve your area, and you can interview your advisor matches at no cost to decide which one is right for you. If you’re ready to find an advisor who can help you achieve your financial goalsget started now.
  • Sophisticated risk-reward calculations are done by financial risk managers, among other professionals, and their insights can be useful to investors pursuing mean-variance optimization.

Photo credit: ©iStock.com/porcorex, ©iStock.com/RomoloTavani, ©iStock.com/peshkov

...