Wednesday, May 27, 2015

The basic asset pricing equation as a maximum entropy condition


Commenter LAL has brought up the basic asset pricing equation a couple of times, and so I had a go at looking at it as a maximum entropy/information equilibrium model. Turns out it works out. In Cochrane's book (updated with link) the equation appears as:

$$
\text{(1) }\; p_{t} = E \left[ \beta \frac{u'(c_{t+1})}{u'(c_{t})} x_{t+1} \right]
$$

Where $p_{t}$ is the price at time $t$, $c_{t}$ is consumption at time $t$, $u$ is a utility function, and $\beta$ is a future discount factor. Now $x_{t}$ is also the price at time $t$ (although it's called the payoff) and of course there is the funny business of the $E$ that essentially says all the terms at a time $t+1$ exist only in the minds of humans (and turns an $x$ into a $p$). Rational expectations is the assumption that the $E$ is largely meaningless on average (i.e. approximately equal to the identity function).

As a physicist, I'm not particularly squeamish about the future appearing in an equation (or time dropping out of the model altogether), so I will rewrite equation (0) as:

$$
\text{(1) }\; p_{i} = \beta \frac{u'(c_{j})}{u'(c_{i})} p_{j}
$$

It turns out much of the machinery is the same as the Diamond-Dybvig model, so I'll just adapt the beginning of that post for this one.

The asset pricing equation is originally a model of consumption in two time periods, but we will take that to be a large number of time periods (for reasons that will be clear later). Time $t$ will be between 0 and 1.

Let's define a utility function $U(c_{1}, c_{2}, ...)$ to be the information source in the markets

$$
MU_{c_{i}} : U \rightarrow c_{i}
$$

for $i = 1 ... n$ where $MU_{c_{i}}$ is the marginal utility (a detector) for the consumption $c_{i}$ in the $i^{th}$ period (information destination). We can immediately write down the main information transfer model equation:

$$
MU_{c_{i}} = \frac{\partial U}{\partial c_{i}} = \alpha_{i} \; \frac{U}{c_{i}}
$$

Solving the differential equations, our utility function $U(c_{1}, c_{2}, ...)$ is

$$
U(c_{1}, c_{2}, ...) = a \prod_{i} \left( \frac{c_{i}}{C_{i}} \right)^{\alpha_{i}}
$$

Where the $C_{i}$ and $a$ are constants. The basic timeline we will consider is here:


Period $i$ is some "early" time period near $t = 0$ with consumption $c_{i}$ while period $j$ is some "late" time period near $t = 1$ with consumption $c_{j}$. We'll only be making changes in these two time periods. The "relevant" (i.e. changing) piece of the utility function is (taking a logarithm):

$$
\text{(2) }\; \log U \sim \;\; ... + \alpha_{i} \log c_{i} + ... + \alpha_{j} \log c_{j} + ... + \log U_{0}
$$

where all the various $C_{i}$'s, $\alpha_{i}$'s and $a$ ended up in $\log U_{0}$.

Now the derivation of the asset pricing equation sets up a utility maximization problem where normal consumption in period $i$ (called $e_{i}$) is reduced to purchase $\xi$ of some asset at price $p_{i}$, and added back to consumption in period $j$ at some new expected price $p_{j}$. So we have:

$$
\text{(3a) }\; c_{i} = e_{i} - p_{i} \xi
$$

$$
\text{(3b) }\; c_{j} = e_{j} + p_{j} \xi
$$

Normally, you'd plug these into the utility equation (2), and maximize (i.e. take a derivative with respect to $\xi$ and set equal to zero). The picture appears in this diagram (utility level curves are in gray):


The change in the amount $\xi$ of the asset held represents wiggling around the point $(e_{i}, e_{j})$ along a line with slope defined by the relative size of the prices $p_{i}$ and $p_{j}$ to reach the point labeled with an 'x': the utility maximum constrained to the light blue line.

Instead of doing that, we will use entropy maximization to find the 'equilibrium'. In that case, we can actually be more general, allowing for the case that e.g. you don't (in period $j$) sell all of the asset you acquired in period $i$ -- i.e. any combination below the blue line is allowed. However, if there are a large number of time periods (a high dimensional consumption space), the most probable values of consumption are still near the blue line (more on that here, here). Yes, that was a bit of a detour to get back to the same place, but I think it is important to emphasize the generality here.

If the states along the blue line are all equally probable (maximum entropy assumption), then the average state will appear at the midpoint of the blue line. I won't bore you with the algebra, but that gives us the maximum entropy equilibrium:

$$
\xi = \frac{e_{i} p_{j} - e_{j} p_{i}}{2 p_{i} p_{j}}
$$

If we assume we have an "optimal portfolio", i.e we are already holding as much of the asset as we'd like, we can take $\xi = 0$, which tells us $e_{k} = c_{k}$ via the equations (3) above, and we obtain the condition:

$$
\text{(4) }\; p_{i} = \frac{c_{i}}{c_{j}} p_{j}
$$

Not quite equation (1), yet. However, note that

$$
\frac{1}{U} \frac{\partial U}{\partial c_{i}}  = \frac{\partial \log U}{\partial c_{i}} = \frac{\alpha_{i}}{c_{i}}
$$

So we can re-write (4) as (note that the $j$, i.e. the future, and $i$, i.e. the present, flip from numerator and denominator):

$$
\text{(5) }\; p_{i} = \frac{\alpha_{i}}{\alpha_{j}} \frac{\partial U/\partial c_{j}}{\partial U/\partial c_{i}} p_{j}
$$

Which is formally similar to equation (1) if we identify $\beta \equiv \alpha_{i}/\alpha_{j}$. You can stick the $E$ and brackets around it if you'd like.

I thought this was pretty cool.

Now just because you can use the information equilibrium model and some maximum entropy arguments to arrive at equation (5) doesn't mean equation (1) is a correct model of asset prices -- much like how you can build the IS-LM model and the quantity theory of money in the information equilibrium framework, this is just another model with a information equilibrium description. Actually equation (4) is more fundamental in the information equilibrium view and basically says that the condition you'd meet for the optimal portfolio is simply that the ratio of the current to expected future consumption is equal to the ratio of the current to the expected price of that asset. Essentially if you think the price of some asset is going to go up 10%, you will adjust your portfolio so your expected future consumption goes up by 10%.

5 comments:

  1. I thought as much, thanks for doing the algebra. One of the main take a ways I get from Cochrane's asset pricing is that even when not using a consumption model you don't really have to change the asset pricing equation by much. Over and over again we have p= pricing kernel* payout....many empirical approaches lead to the same basic idea...and I'm glad to see a method that takes a utility model and gives us a different pricing kernel. It is interesting though the pricing equation is supposed to hold ex post. Measurements of volatility from that fact are where shiller gets his strongest argument against the emh...

    ReplyDelete
    Replies
    1. In the fiscal theory of the price level, the price level adjusts according to the link between today's govt bonds and the government's future taxes and dividends...Cochrane uses the equation to make fairly convince stories about the past recession. A small note towards using the pricing equation as a framework.

      Delete
    2. Cheers, LAL. The idea of p = K x seems like it would be pretty general ... we can think of K as a time translation operator (or more specifically, K⁻¹) propagating the price from the present to the future.

      http://en.wikipedia.org/wiki/Translation_operator_%28quantum_mechanics%29

      Actually the framework above is pretty general -- you can use anything for the market U→c. For example if you used nominal output N→c, you'd end up with a formula with partial derivatives of nominal output ...

      $$
      p_{i} = \frac{\alpha_{i}}{\alpha_{j}} \frac{\partial N/\partial c_{j}}{\partial N/\partial c_{i}} p_{j}
      $$

      Delete
  2. Rational expectations/ the emh also sets up the largest empirical research program in macro besides maybe VARs. I'm talking about Hansen and singletons generalized method of moments in which the first order conditions are assumed to be not correlated with the data by the emh....that research program really only needs that to continue...do I get it from the information model?

    ReplyDelete
    Replies
    1. I'm not sure -- I'd have to learn more about it ...

      Delete

Comments are welcome. Please see the Moderation and comment policy.

Also, try to avoid the use of dollar signs as they interfere with my setup of mathjax. I left it set up that way because I think this is funny for an economics blog. You can use € or £ instead.

Note: Only a member of this blog may post a comment.