Saturday, March 25, 2017

Revisiting the mathematics of economic expectations

The below presentation by Dr Ole Peters opened my mind. If there was one thing I believed was reasonable about economics, it was the assumption that expectation values upon which agents base their decisions are the “ensemble mean” of a large number of draws from a distribution.

Surely there is nothing about this simple method that could undermine the main conclusions of rational expectations? Surely this is a logical benchmark, regardless of whether actual human behaviour deviates from it.

But now I’m not so sure. Below is a video of Dr Peters making the case that non-ergodicity of many economic processes means that taking the ensemble mean as an expectation for an individual is probably not a good, or rational, expectation upon which to base your decisions.

I encourage you to watch it all.


Let me first be very clear about the terminology he is using. He uses the term ergodic to describe a process where the average across the time dimension is the same as the average across another dimension.

Rolling a dice is a good example. The expected distribution of outcomes from rolling a single dice in a 10,000 roll sequence is the same as the expected distribution of rolling 10,000 dice once each. That process is ergodic [1].

But many processes are not like this. You cannot just keep making the same gamble over time and expect to converge to the mean of the result that you get if you made that gamble independently many times.

An example
Peter’s example is this. You start with a $100 balance. You flip a coin. Heads means you win 50% of your current balance. Tails means you lose 40%. Then repeat.

Taking the ensemble mean entails reasoning by way of imagining a large number coin flips at each time period and taking the mean of these fictitious flips. That means the expectation value based on the ensemble mean of the first coin toss is (0.5x$50 + 0.5*$-40) = $5, or a 5% gain. Using this reasoning, the expectation for the second sequential coin toss is (0.5*52.5 + 0.5 * $-42) = $5.25, another 5% gain.

The ensemble expectation is that this process will generate a 5% compound growth rate over time.
But if I start this process and keep playing long enough over time, I will never converge to that 5% expectation. The process is non-ergodic.

In the left graph below I show in blue the ensemble mean at each period of a simulation of 40,000 runs of this process for 100 time periods (on a log scale). It looks just like our 5% compound growth rate (as it should).

The dashed orange lines are 10 sample runs of the simulation. Notably, the distribution of those runs is heavily biased towards low final balances, with a median payoff after 100 rounds of $0.52 Recall that the starting balance was $100, so this is a 99.5% loss of your original balance.



In fact, out of the 40,000 runs in my simulation, 34,000 lost money over the 100 time periods, having a final balance less than their $100 starting balance (or 85% of runs). Even more starkly, more than half the runs had less than $1 after 100 time periods. 

The right-hand graph shows the final round balances of the 40,000 simulations on a log scale. You can read more about the mathematics here.

If almost everybody losses from this process, how can the ensemble mean of 5% compound growth be a reasonable expectation value? It cannot. For someone who is only going to experience a single path through a non-ergodic process, who has a finite budget to play with, basing your behaviour on an expectation using the ensemble mean probably won’t be an effective way to navigate economic processes that are non-ergodic [2].

Peters says the logical thing to do is maximise the average expected rate of growth of wealth over time, rather than the average outcome across many alternatives. In this case, the average rate of growth over time of all runs in the simulation is actually negative 5.03%, meaning it is not a good bet to partake in despite the traditional assessment of expected returns being 5%.

Lessons for Economics
I see two areas of economics where we may have been misled by thinking of the ensemble mean as a reasonable expectation.

First is a very micro level concern: behavioural biases. The whole idea of endowment effects and loss-aversion make sense in a world dominated by non-ergodic processes. We hate losing what we have because it decreases our ability to make future gains. Mathematics tells us we should avoid being on one of the many losing trajectories in a non-ergodic process.

The second is a macro level concern: insurance and retirement. Insurance pools resources at a given point in time across individuals in the insurance scheme in order that those who are lucky enough to be winners at that point in time are able to make transfers to those who are losers. By doing this, risk is shared amongst the pool of insurance scheme participants [3].

Retirement and disability support schemes are social insurance schemes. They pool the resources of those lucky enough to be able to earn money at each point in time and transfer it to those that are unable to.

But there has been a big trend towards self-insurance for retirement. In the US they are 401k plans, and in Australia there are superannuation schemes. The idea of these schemes is that rather than pooling with others at each point in time (as in public pension systems), why not pool with your past and future self to smooth out your income?

You can immediately see the problem here. If the process of earning and saving is non-ergodic and similar in character to the example above, such a system won’t be able to replace public pensions at all. Many earning and saving paths of individuals will never recover during their working life to support their retirement. Unless you want the poor elderly living on the street, some public retirement insurance will be necessary.

Undoubtedly there are many more areas of economics where this subtle shift in thinking can help improve out understanding of the world. I’m thinking especially about Gigerenzer’s idea of a heuristics approach as a generally effective way for humans to navigate non-ergodic processes.
I will leave the last word to Robert Solow, who has had similar misgivings (for over 30 years!) about our assumptions of ergodicity (a stationary stochastic process) which undermine rational expectations.
I ask myself what I could legitimately assume a person to have rational expectations about, the technical answer would be, I think, about the realization of a stationary stochastic process, such as the outcome of the toss of a coin or anything that can be modeled as the outcome of a random process that is stationary. If I don’t think that the economic implications of the outbreak of World war II were regarded by most people as the realization of a stationary stochastic process. In that case, the concept of rational expectations does not make any sense. Similarly, the major innovations cannot be thought of as the outcome of a random process. In that case the probability calculus does not apply.
Footnote [1]. He does not use the term, as it is often used in economics, to describe what is called the term Lucas critique, or in sociology is called performativity. Basically, it is the idea that the introducing a model of the world creates a reaction to that model. Take a sports example. As a basketball coach, I look at the past data and see that three-point shots should be taken more because they aren’t defended well. I then create plays (models) that capitalise on this. But because my opponents respond to the model, the success of the model is fleeting.

Footnote [2]. In theory, if you start with an infinitely small gamble, or have infinite wealth, you could ‘double down’ after a loss in such a process to regain the ensemble mean outcome.

Footnote [3]. Peters himself has a paper on The Insurance Puzzle. The puzzle is that if it is profitable to offer insurance, it is not profitable to get insurance. The typical solution invokes non-linear utility to solve it. Peters offers an alternative. My take is on the economic implications of this is that if people can individually smooth consumption through time for retirement than there is no logic to social insurance.

This is an update of a post from June 2016.

UPDATE (26/03/2017 9.10pm): On Twitter, it has been mentioned that I have simply restated the logic of the Kelly Criterion. This is true. The logic here, and there, is at odds with the naive way in which odds are translated into rational expected payoffs in economics. In fact, adopting the Kelly Criterion when playing the betting game in the above example generates an expected rate of growth of wealth over time of 8.65%, instead of negative 5.03%, and a far higher and narrower distribution of final period wealth outcomes. The paths of the simulation for betting under this condition, and the distribution of final period wealth, are shown in the below graphs. Notice that this strategy is highly effective at both changing the distribution of outcomes AND increasing the overall rate of growth of wealth. Regardless, the very fact that such a strategy is needed tells us that there is a problem with what a rational expected outcome should be for non-ergodic processes


8 comments:

  1. Hmm, I don't get it. If your wealth is a geometric random walk, your per-period return *is* an ergodic process, and it's really easy to estimate. In labs, people seem pretty well able to do this: https://research.stlouisfed.org/wp/1989/1989-001.pdf

    There are lots of behavioral biases around, and lots of non-ergodic processes that make rational expectations formation impossible, but I don't think this is a great example of that.

    ReplyDelete
    Replies
    1. May be the result of an non ergodic stochastic multiplicative process is more convincing to you:
      http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0020728#aff1

      Delete
    2. This is a well-known result, but my point is that in the example Cameron gave, the return process is ergodic.

      Delete
    3. Not sure we are using the term ergodic to mean the same thing. As Peters describes it, a gamble/process/whatever is ergodic if you can keep repeating it and coverage to the ensemble mean. If this is the case, the ensemble mean makes sense as a way to reason about expected payoffs. But most of the time, it does not, since if you consider choices as a repeated process you get non-ergodic processes, where the ensemble mean leads you astray.

      This is not really a mathematical argument. It is a demonstration of the flaw of using the ensemble mean to generate, and act on, expectations in an economic sense.

      The point being, if the characteristics of such processes are all well known (which they are in certain circles), why has economics has not absorbed such consideration into their core theories about rational expectations? The question is a deeper one. For example, how do we rank choice options if we can't use the ensemble mean to generate expectations of the benefits of each choice?

      I believe the points I make here are relevant too. http://www.fresheconomicthinking.com/2015/02/an-economic-gaze-heuristic.html

      Delete
    4. @Noah Smith: Yeah, well known;-). So the "well knowing" majority elects governments which do everything to accelerate the resulting concentration of wealth (by increasing the spread of returns) in the hands of a few.

      That makes a lot sense ;-).

      Delete
  2. Kind of struggling to understand why non-ergodicity is the big issue here (maybe someone can explain). Looks to me more like the process yields a distribution of outcomes for which the mean is a very poor measure of the centre. Sort of like reporting the mean wealth in a room where 10 people are penniless students and one is Bill Gates.

    Am I missing something?

    ReplyDelete
    Replies
    1. Well, to me the question is an economic one - how do we form and act on expectations? If the ensemble mean says 5% is the expected gain, yet continuing to play the game can't get us to that outcome (unlike an ergodic process, which would get us there), how can we for expectation and act rationally. In essence, this point gets to the heart of major economic questions about time, which are completely overlooked in the core economic theories that dominate the discipline.

      Delete
    2. "In essence, this point gets to the heart of major economic questions about TIME, which are completely overlooked"
      BINGO!

      Delete