Wednesday, June 25, 2014

A thousand random markets


In this post [1], I set up a framework with a large number of markets pi:nisi mediated by money so that we obtain (for the individual markets) the differential equations

dnidm=ainim


The solution to these differential equations are

ninrefi=(mmref)ai+ci


In  [1], I made the approximation that the ai could be replaced by their average ˉa and therefore the sum of the markets obeyed the approximate differential equation

dNdmˉaNm


where

N=ini


Now I ask the question: how well does this work? First, here is the sum of 10 random markets (with 10,000 random evaluations, blue points) where we take nimai with a uniformly distributed ai[0,1]. The approximate aggregate differential equation has solution Nmˉa (shown in red):


A region that represents 10% variation is shown in gray. We can see that this solution works pretty well, but I found that if we summed up 1000 random markets a systematic deviation for higher values ai and higher/lower values of m begin to show up. Here are the results for ai[0,0.5], ai[0,1], ai[0,2], and ai[0,4] which have ˉa= 0.25, 0.5, 1.0 and 2.0, respectively.




A systematic deviation appears for small/large values of m that is more apparent for larger values of ai.  The source of this is not mysterious: for larger values of m, mmax ai tends to dominate while for smaller values of m, mmin ai tends to dominate. Still, for 10% shifts from the reference point (mref,Nref), it remains a remarkably good approximation.

The markets with high values of ai would, in the long run, come to dominate the economy (e.g. if the market for apples went as napplesm4, the entire economy would quickly become just apples). This doesn't appear to happen in diversified economies [2] (it might be true of e.g. oil-based economies), which implies there is a constraint on the values of the ai. The interesting thing is that this constraint appears to make the macro formulation (the aggregate market) more accurate than the sum of individual markets -- i.e. there is an enforcement mechanism that makes the individual markets behave more like the average in diversified economies.

Is there an effect due to

ai=logνilogM


so that we should use

ˉa=logˉνlogM


instead? Does that then have a relationship with κ(M,N)? A uniform logarithmic distribution is related to e.g. Benford's law. I will look into all of this in a future post.

[2] This is almost a circular definition: diversified economies are economies that haven't had one commodity or product take over their economy. However, it seems that diversified economies stay diversified -- that is the sense of the statement.

3 comments:

  1. Is this part 3, or more of a tangent?

    ReplyDelete
    Replies
    1. I'd say it's part 3, but I didn't want the titles to get boring :)

      It's some more thinking out loud and trying to put together a coherent story of how a macro economy arises out of individual goods markets.

      Delete
    2. Don't worry about boring. If your next in the series is "Part 4" that will get people wondering. :D

      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.