Sunday, February 5, 2017

Randomly generated economies (a work in progress)

I have been in the process of constructing randomly generated unemployment time series based on the dynamic equilibrium model (partially inspired by writing my qualitative analysis post). I'm still in the process of working out the parameters (or rather, the distributions the parameters are drawn from). However, the work in progress looks neat on its own.

Here's what I mean by a randomly generated time series: effectively a series of Gaussian shocks with random centers, amplitudes, and widths. 

Here is the actual unemployment rate time series (red) alongside a randomly generated path (blue):

In constructing the model (still in progress), I came across some interesting mistakes. For example, if you (accidentally) use a Poisson distribution to yield integer recession transitions:

If you run it for 500 paths you get this:

And here is what happens if you use quarters:

It would be fascinating if there was some resonance with the annual cycle ... Again, this is a work in progress. I will keep you updated.

No comments:

Post a Comment

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.