Category: Investing Insight

Investing insight to make you a better investor.

Mahalanobis Distance

We are big fans on using distance measures while prospecting for investment strategies. Previously:

Recently, we came across an interesting paper, Skulls, Financial Turbulence, and Risk Management, Mark Kritzman, CFA, and Yuanzhen Li, that uses the Mahalanobis distance to construct a turbulence index. The basic idea is that the more asset returns break from the past, the more “significant” a market event.

We took the basic intuition behind this and constructed a portfolio that switches between equities and bonds based on the Mahalanobis distance between them.

The out-of-sample results, factoring in transaction costs, look promising but doesn’t really stand out compared to other, more dumber, strategies that avoid steep drawdowns. However, two points over the Midcap buy & hold cannot be dismissed outright.

The code, charts and paper are on github.

Large Moves Happen Together

We are often told that missing the 10-biggest days in the market leads to sub-par returns. While it is certainly true, what is often not said is that those really big days occur around really bad days. Welcome to tail-risk.

The average daily return of the NIFTY 50 is 0.06%. The worst daily return is ~ -13% and the best is ~18%. Welcome to tail-risk.

In any given year, there are a lot of days when returns fall out of 1, 2 or even 3 standard deviations (σs), Up and Down.

And these σ moves tend to happen close to each other. i.e., volatility clusters.

What the histogram above is showing is that most of the 3σ moves have happened within 5 days of each other! Let’s zoom in on a 10-year period of the index and mark the outliers on it:

Now, lets pick a very simple actively managed strategy that tries to side-step the σ moves. The details of the strategy itself is unimportant. Suffice to say that it creates excess returns compared to buy & hold.

The average daily return of this strategy is 0.07%. The worst daily return is ~ -7% and the best is ~18%. At least some of the left-tail has been clipped but at what cost?

Notice how both the number of large Up and Down days are lower here compared to buy & hold?

Outliers still cluster but there a lot less of them.

This is the nature of market volatility. Investors have to either commit to buy & hold and catch all the moves or commit to an actively managed strategy knowing that while trying to side-step σ moves, some +σ moves will also be sacrificed. It is the FOMO that keeps investors switching between the two, resulting in sub-par returns.

Sharpe vs. Rates

Sharpe Ratios are often used to sort through competing investments. It is the original “risk adjusted returns.” It’s a mathematical expression of the insight that excess returns over a period of time may signify more volatility and risk, rather than investing skill (investopedia, wikipedia).

Rb or Rf, the risk-free return, is usually cumbersome to handle. So, typically, it is either set to zero or a constant value. The problem is that rates vary over time and has an impact on the relative ordering of investments.

At high interest rates, SR(mid-caps) > SR(large-caps)

Ideally, you want your Sharpes to be positive and stable. Unfortunately, that is never the case.

During bull markets, Sharpes trend up and reverse course in bears.

At the end of the day, it boils down to whether the returns are worth the risk.

You might very well be trying to catch lightening in a bottle.

For more index stats, visit our Index Metrics dashboard.

What is Alpha?

In our introduction to factors, we discussed how portfolio returns are mostly explained by market risk (rmrf: market risk premium.) Whatever cannot be explained by the market is α, or the portfolio manager’s skill. If you strip away the financial jargon, this is nothing but linear regression.

Also, what exactly is “market risk?” A few years ago, the only index funds on the market were of the NIFTY 50 and MIDCAP 150 indices. However, the number of index funds keep ticking up and there are now several strategy funds covering quality, value, low-volatility, momentum, etc… in the market. So, if an investor can access these vanilla strategies at a low cost, shouldn’t the definition of the “market” expand to incorporate those?

For example, take the HDFC Mid-cap Opp. Fund. You could regress its returns against the NIFTY MIDCAP 150, the NIFTY MIDCAP150 QUALITY 50 and NIFTY500 VALUE 50 indices to get an idea of how its α over them has evolved over time.

Rolling regressions gives you an idea of portfolio tilts and the fluctuating nature of α (Ax100). Also, its worth noting that α is only tangentially related to excess returns (XS). There are periods here where XS was positive in spite of negative Ax100 and vice versa.

Styles go in-and-out of favor. Sometimes Quality performs better than Value and sometimes a simple cap-weighted index will outperform everything else. An actively managed portfolio’s relative performance to these styles change over time as well.

tl;dr:

  • α is a statistical derivation.
  • Don’t go chasing α – it keeps fluctuating.
  • α is not the same as excess returns.
  • When in doubt, index and forget.
  • You are always in doubt.

We have setup a script that auto-updates every day with these regressions on select large-cap and mid-cap funds. The report is available here.

Fractional Momentum

Investors love the returns of momentum strategies but hate its crashes. And there have been numerous attempts at making momentum investing smoother. After all, where there is demand, supply will be created. But, what if, momentum and crashes are two sides of the same coin? Is Momentum without crashes even possible? What if Volatility is Nature, not Nurture?

Last year, we had a look at the The High-To-Price (HTP) Momentum Strategy (backtest, live model). It lived up to its promise of low-drawdowns by staying in cash during the most recent market downturn. However, if it ends up being slow to react to market recoveries, then it will underperform at the beginnings of new bull-markets. It is yet to go through a full cycle (bull-bear-bull) for us to be 100% confident about it.

More recently, we back-tested trend overlays on momentum strategies (Part I, II, III). It is still early days.

Broadly, the biggest problem with the momentum strategies is that they are path agnostic – they all look only at asset returns. The raw signal treats a stock making a parabolic move and a stock making a gradual climb the same. The filters come in later. What if there was a way to incorporate the path as well?

We took a shot at this problem with our Dynamic Linear Model strategy that simply regressed prices to a 45* line and ranked them based on goodness of fit. The performance has been good but not great.

So, it was with great expectations that we teared through Momentum Without Crashes (SSRN). The authors take a fractional differencing approach to overcome the loss of path information. The fractionally differenced log price series is i.i.d. so the next period prediction of the differenced series is simply the mean of the series. This “predicted value” is then inverted to arrive at a prediction for the next-period log return. These predicted log returns are ranked and a portfolio is constructed. The differencing parameter d is computed empirically. Intuitively, d=1 will result in a traditional momentum portfolio and d=0 yields a reversal portfolio. The authors find that d=0.9 is optimal.

Back-test

We did a full-sample back-test on monthly returns for the top 200 stocks by free-float market-cap between 2014 and now for d=0.9.

The Fractional Momentum strategy, as the authors call it, out-performs the NIFTY 50 index and the NIFTY 200 Momentum 30 index. However, it does have its periods of under-performance and it doesn’t quite live up its promise of avoiding crashes.

The approach is pretty interesting and they have tested it across multiple markets so we created monthly-rebalanced and momo versions of this strategy to see how it tracks in the real world.

You can find the charts for d in [0, 1] on github.