Correlation and Hedging
A mean–variance optimizer will hedge correlated assets. I explain why and then work through a simple example.
A mean–variance optimizer will hedge correlated assets. To see this, recall that the objective function of a basic mean–variance optimizer is
where is a vector of porfolio weights; is a vector of expected returns; is the covariance matrix of the asset returns; and is the risk-aversion parameter, so-named because it weights the risk term. Often, we might place additional constraints on , such as position limits, but that is not particularly interesting here. So in words, we want to find the optimal positions () such that we maximize our portfolio’s expected return or “reward” () while minimize the volatility of that return or “risk” (). See my post on mean–variance analysis for a deeper discussion of this framing.
The goal of this post is to understand the behavior of a mean–variance optimizer when dealing with correlated and anti-correlated assets. To simplify things, let’s stick to a portfolio with only two assets, which are correlated with coefficient .
In the two-asset case, the covariance matrix is
where is the aforementioned correlation coefficient; is the variance of asset ; and is the covariance between assets and . The portfolio variance is
Now imagine that these two assets are perfectly correlated. Then , and the portfolio variance is
If we choose , then we have
And our expected return is
Clearly, this position may reduce our portfolio variance, and this works because we took an opposite position in the two positively correlated assets. This makes intuitive sense. If two assets are perfectly correlated, then they are the same asset in some sense, just scaled by their respective idiosyncratic variances. So we can hedge them against each other, with a net long position in the asset with the higher expected return.
Next, imagine these two assets are perfectly anti-correlated. Then , and we just pick . Then our portfolio variance is again Equation , while our expected return is
Notice that negatively correlated assets are even better than correlated assets! With correlated assets, we can hedge out our risk, but we drive down our expected return (Equation ). With negatively correlated assets, we can capture all the expected return while hedging out our risk.
Generalizing this to assets is easy. Simply observe that the portfolio variance can be written as a sum:
When , the term is simply . These idiosyncratic variances cannot be eliminated here. But when , then the term is , and our reasoning from the two-asset case applies. In other words, with assets, the portfolio’s variance dceomposes into a sum of idiosyncratic and cross terms, and we can simply apply our reasoning from the two-asset case to each term.
All that said, there’s a big caveat here, which is the risk-aversion parameter , as this changes the optimizer’s trade-off between risk and reward. So the reasoning above does not actually apply to all scenarios, but I think it’s a useful way to think about a common case.
We can visualize these trade-offs with a simple experiment. In Figure , I have computed the optimal portfolio weights and over a range of correlations, assuming fixed and expected returns and .
We can see that when correlation is negative, we go long both assets. And when correlation is positive, we take a long position in the asset with the higher expected return, and we then hedge via a short position in the other asset. However, the risk-aversion parameter changes when this trade-off between capturing reward and hedging risk makes sense. When the risk-aversion parameter is higher, the optimizer demands more correlation before going long-short. My intuition here is that when the risk term is overweighted, the optimizer must put more emphasis on capturing the positive returns by going long-long for a broad range of the correlation spectrum.