Saturday, April 26, 2014

Do stocks get safer the longer you hold them?

Early in your investing career, someone probably showed you a chart like this. A Dow or S&P growth chart. The conclusion seems obvious. Sure - stocks go up and down in the short term, but over the long term, you are bound to come out ahead.

The fundamental question you should ask yourself is - why do equities have a greater expected return than say, cash in a bank? The answer is deceivingly simple. Investors demand a higher return from stocks because they are riskier. This is called the equity risk premium. But we have a conundrum here. On the one hand, we know stocks are risky. On the other hand, conventional wisdom says that they get less risky if you hold them for a long time. But if all it took to make stocks safer was time, the equity risk premium would have long since disappeared.

Let's take a closer look. All the charts you see are based on the performance of the US markets over the past century. The data is neither time (only 9 independent 10 year data points) nor geographically diversified.The United States has had a great run over the last century. Returns have been spectacular with relatively low volatility. But is that systemic, or just luck? How sure can we be that this trend will continue - and that we aren't just looking at a particularly lucky slice of history?

As I was pondering this issue, I came across this great paper - The Long Term Risks of Global Stock Markets. The author, Phillipe Jorion makes a convincing case that stocks do not actually get safer over the long term. I took the liberty of recasting some of the data in the paper into visualizations that make the point clearly. The data in the paper is for the time period 1921-1996. The visualizations were created using MicroStrategy Desktop

1. You aren't guaranteed to make money in the stock market. Even over the long term

As you can see from the chart below, many global equity markets have negative long term real returns (accounting for inflation). Sure you would have done great investing in Sweden or the U.S - but what if the next 70 years in the US are more like Spain below?


Average 10 yr annualized returns (1921-1996)

2. The probability of loss in equity markets doesn't significantly change over time

If stocks got safer with time, you would expect the probability of loss to get smaller over 5 and 10 year periods compared to 1 year periods. But the data shows that the probability of loss drops off very slowly with time, if at all.

1, 5 and 10 year prob of loss. selected countries






3. Large long term losses are surprisingly frequent and surprisingly large.

If someone were to ask you when most stock markets had their biggest 10 year losses, you might predict the Great Depression. Or World War 2. But the data shows that big losses are spread out all over the time map. For example, the biggest 10 year US loss (real, accounting for inflation) was the period 1972-1982.

The largest losses are also surprisingly large - the stock markets have "fat tails". Our graph starts at -60% and goes all the way to -90%. And this doesn't even account for cases where the entire market closed and investors lost 100%. (Japan 45-46, Chile 72-73 for example).

Largest 10 year losses






4. There still may one free lunch - Global diversification

So what is a savvy investor to do? The data points to one possible way out. A globally diversified equity portfolio seems to have less risk on the downside than a portfolio concentrated in any one country. But there is always the chance that all correlations go to 1 in the next great crisis. At the end of the day, as the old saying goes - "You pays your money and you takes your chances."


Wednesday, April 16, 2014

Donations in the Nation: How charitable is your state?

Time to exhale - to take a couple of deep breaths and let the stress of the last week recede. If you are anything like me, you spent the last week in a frenzied muddle of receipts, forms and statements. Scrambling to file taxes by the 15th. This year, I achieved the task with a day to spare. New record. Anyway, during my umpteen visits to the IRS website, I chanced upon this webpage which provides tax statistics across a number of dimensions. The data was too interesting to pass up.

I decided to analyze something that has always interested me - Who contributes to charity? And how much do they give? The results surprised me.

(*All the visualizations below were created using a free data visualization product from MicroStrategy. (Full disclosure - I am currently employed by MicroStrategy). The data is a mashup from the IRS website, and the census bureau  for the year 2011)

1. Lots of people give to charity. 
  • 38 Million tax returns had a charitable contribution listed for a total of $174 Billion.
  • The average charitable contribution per tax return was $4,591.
  • Those making a million dollars or more contributed the highest percentage of income to charity.
  • This is probably a case where median would be more insightful than average since a few large contributions can skew results. But the IRS does not publish median data.

2. Low income states tend to be among the most generous.

I analyzed the breakdown of charitable contributions by state and there were some surprising results. I normalized the giving by median income to ensure that we are comparing apples to apples.
The southern states, which tend to have the lowest median incomes showed among the highest generosity. A humbling and thought provoking insight.

States by median income
Red: Bottom 3rd, Yellow: Middle 3rd, Green: Top 3rd



States by average contribution per household - normalized for income
Red: Bottom 3rd, Yellow: Middle 3rd, Green: Top 3rd

3. See how your State ranks.

To see how states compared, I plotted state metrics across Avg. Charity per person and Median Income. In the scatter plot, the size of the bubble indicates the state population. Generous states are to the right, high income states are to the top. In an ideal world, everyone would be in the top right corner.
  • For the most part, people in states that make more, tend to give more
  • Utah is an interesting outlier giving much more than average - reflecting a strong tradition of giving
  • New Hampshire is an outlier at the other end of the spectrum - possibly due to a strong libertarian streak?
States by contribution per household vs. Median income per household


Where did you rank in terms of your giving compared to your peers in your state?

Caveats:
1. Analysis based on 1 year of data (2011)
2. Few large contributions can skew averages
3. Additional variables may have an impact but are not considered


Thursday, April 3, 2014

Avoiding Analysis Paralysis: Decision making in the information age


I was just about to board a plane on my way to the Gartner BI summit (great analytics conference btw), when I received a call from our finance team. Could I make ROI projections on my capital spend and recommend an action plan in the next 2 hours?

Complex decision. Check.
Limited Time. Check.
Predict the future. Check.

As an analytics professional, you may think that this would be easy for me. Analyze the data, and a solution will appear. But it's not that simple. It's all too easy to fall into the trap of over analyzing a situation looking for the perfect answer.


Here are a few tips on how to avoid Analysis Paralysis.

1. Recognize that the future is largely unknowable. Don't try and force precision on a imprecise world.


The great scientists of the 1800's were convinced that they had the answer. They had a model for how the universe worked, and things evolved in a predictable manner. But two developments over the past century have ended that dream.The Uncertainty Principle and chaos theory. Quantum mechanics says that you cant measure things precisely, even in theory. And chaos theory says that minute variations in initial conditions cause huge divergences in the future.

Accept and recognize that however sophisticated your model, nature limits their predictive power. And they rapidly get less accurate the further out you go.

2. The world is complex. 1+1 often equals 4.

Our minds (and most of our analytic models) work linearly. We break a problem into smaller pieces, analyze those pieces, and then sum them up to get an answer to the whole. But this isn't how the world works. A brain is more than the sum of it's neurons. An ant colony is more than a collection of ants. For a beautiful intro to complexity theory, read this book. The world is non-linear and complex.

Recognize that your analysis is based on models that simplify. Consider your problem - is it largely linear? If you double any input, does the output roughly double? In many cases it won't. 

3. The Pareto Principle and the marginal utility of information.


Students of economics are familiar with marginal utility. Simply stated, the more stuff you have, the less each additional dollar is worth. The same is true for information. To see why, consider the Pareto principle. The Pareto principle states that 80% of the causes come from 20% of the effects. In most cases each additional piece of information contributes exponentially less to the overall solution.

When making a decision, look for the top 3 contributing factors. Once you do, act.


4. Work in parallel. But recognize that not all paths are equal

Consider an ant colony. How does it find food in a constantly changing environment? Ants solve this by having many workers forage in random directions. If an ant finds food, it lays down a chemical marker. Other ants follow this marker, and if they find food there too, they add to the marker. If they dont, the marker fades away. In this way, ants pursue many different paths, but feedback determines which paths are better than others.

Work like an ant colony. In a complex non linear world, solutions are not always obvious. Analyze several different paths to a solution in parallel. Go down each rabbit hole a few steps, and pursue the ones that are promising.


Analytics is immensely powerful. The world is a better, safer, smarter place for it. But know when to back away from the buffet table.