Author: shyam

Book Review: Dopesick

In Dopesick: Dealers, Doctors and the Drug Company that Addicted America (Amazon,) Beth Macy paints a pretty grim picture of how high rates of persistent unemployment, lack of opportunities and drug companies looking for profit sparked a heroin addiction wildfire.

The scary part is that the heroin epidemic did not need a grand conspiracy or a big drug kingpin making moves. It started at the margins – doctors prescribing opioids for pain, kids passing around pills for thrills in parties, etc. But for most, the first high was all it took. Most of an addicts life is then spent seeking the feeling of the first high. Early stage addicts also ended up being the best recruits for the next set of junkies. The book outlines the rise of the “user-dealer” — junkies who fund their addition by dealing dope. This frustrated the typical law enforcement response of jailing dealers – most of them were not dealing for the money per se, but because they needed the next fix.

Addiction should be treated like a chronic disease. However, our society treats it like a moral failing. This is unfortunate because it prevents a policy response based on science.

Recommendation: read the book!

Buying at highs and lows: Thinking in Probabilities

Mining past returns of the MIDCAP 100 index, if you invested for 50 days, the probability of returns greater than 10% is 32% and the probability of returns greater than 15% is 18%. On the flip side, over the same holding period (HP,) the probability of returns lesser than 0% is 35% and the probability of returns lesser than 5% is 52%. These data points are the first row of the following tables:

MIDCAP 100 return probabilities: buy and hold, lows and highs
MIDCAP 100 return probabilities: buy and hold, highs and lows

Suppose you want to hold for 50 days, then to maximize your returns, you will have to buy at the 500-day low to have an even shot at making a return greater than 10%. The better outcome would be if the holding period were to be extended to 200 days. At which point the probability of even making less than 5% is very low and that of making more than 15% is more than 80%.

Using this table, one can lookup the odds of different holding period returns at different highs and lows.

Code is on github.
Related: Highs and Lows

Lumpsum vs. SIP: Thinking in Probabilities

This is a continuation of Lumpsum vs. Dollar Cost Averaging (SIP) that modeled different return series and concluded that a prudent investor would be better off with a SIP because of a smaller probability of incurring a large loss. However, we stopped short of comparing different indexes to see if the conclusion held.

The ‘average’ return

What happens if we take the average weekly return of an index and create a synthetic index that just gives those average returns without any variance? We end up with a parabolic looking cumulative return profile below:
cumulative small cap returns
The small cap index was chosen on purpose to illustrate how ‘average’ returns relate to real returns on an extremely volatile index.

The average return series is, of course, a fantasy. What we are interested in is in the probability of getting those returns.

Probabilities

Just like our first post, we start by modeling the returns of the NIFTY 50, MIDCAP and SMLCAP indexes as a Generalised Lambda Distribution and running a 10,000 path simulation to obtain a series of DCA vs lumpsum investment returns. We then feed that into a empirical cumulative distribution function so that we can query it for probabilities under different thresholds. To put that in a picture:
lumpsum vs SIP returns on small caps

The vertical lines mark the different thresholds we are interested in.

  • The grey line on the left is at zero. We have SIP showing a 4.44% probability of negative returns and lumpsum showing 3.49%. Yes, there is a non-trivial possibility that SIPs will give negative returns. However, looking at the shapes below zero, SIP losses may not be as large as lumpsum losses.
  • The red line in the middle is the start to finish return of the index. Here, we have SIP showing a 22.69% probability of exceeding those point-to-point returns and lumpsum showing 57.50%.
  • The orange line on the right is the compounded ‘average’ return. We have SIP showing a 7.82% probability of exceeding that and lumpsum showing 37.20%.

Here is the same MIDCAP:
MIDCAP lumpsum vs. SIP return densities

And for NIFTY 50:
NIFTY 50 lumpsum vs. SIP densities

What does all this mean?

  1. It is possible for SIP returns to be negative over large periods of time. Enough to cover your entire investing lifetime. So, if you are investing in small-caps, make sure you are not 100% allocated to it.
  2. Lumpsum investing gives you a higher probability of higher returns across all indexes. The probability of negative returns are on par with that of SIP’s.
  3. Lumpsums have fatter left tails. However, if you are looking only at NIFTY 50 and MIDCAP, those probabilities are tiny.
  4. Lumpsums have a higher probability of achieving ‘average’ returns compared to SIPs.
  5. Lumpsums seem to be benefiting from “time in the market” on indexes that rise over a period of time.

Code and charts on github.

Highs and Lows

With the recent correction in the markets, there are a lot of lazy headlines out there screeming “Midcap Index hits 52-week lows!” First, there is nothing significant about 52-weeks.

Second, if you are worried about 52-weeks, then you shouldn’t be invested in midcaps. Most investors see this:


When they should be seeing this:
.

An excerpt from the book “Thinking in Bets” seems appropriate here:

Our problem is that we’re ticker watchers of our own lives. Happiness (however we individually define it) is not best measured by looking at the ticker, zooming in and magnifying moment-by-moment or day-by-day movements. We would be better off thinking about our happiness as a long-term stock holding. We would do well to view our happiness through a wide-angle lens, striving for a long, sustaining upward trend in our happiness stock.

Now read Pain is proportional to Frequency of Observations that I wrote back in 2016.

Code and other charts are on github.

Book Review: Thinking in Bets

In Thinking in Bets: Making Smarter Decisions When You Don’t Have All the Facts (Amazon,) Annie Duke uses probability theory to illustrate how one should go about making decisions.

Notable excerpt:

We can’t just “absorb” experiences and expect to learn. As novelist and philosopher Aldous Huxley recognized, “Experience is not what happens to a man; it is what a man does with what happens to him.” There is a big difference between getting experience and becoming an expert. That difference lies in the ability to identify when the outcomes of our decisions have something to teach us and what that lesson might be.

The point made above cannot be stressed enough for investors. Just because some “guru” or “adviser” has been at his job for a long time, it doesn’t necessarily follow that he is an expert. Expertise comes from applying a scientific mindset to decisions. Very few actually do it in practice and most are happy to be in their own comfortable filter bubble.

You can read the notes that I took here.

Recommendation: if you have read similar books in the past, you can skip this one. No new paths blazed.