Blog Topics...

3D plotting (1) Academic Life (2) ACE (18) Adaptive Behavior (2) Agglomeration (1) Aggregation Problems (1) Asset Pricing (1) Asymmetric Information (2) Behavioral Economics (1) Breakfast (4) Business Cycles (8) Business Theory (4) China (1) Cities (2) Clustering (1) Collective Intelligence (1) Community Structure (1) Complex Systems (42) Computational Complexity (1) Consumption (1) Contracting (1) Credit constraints (1) Credit Cycles (6) Daydreaming (2) Decision Making (1) Deflation (1) Diffusion (2) Disequilibrium Dynamics (6) DSGE (3) Dynamic Programming (6) Dynamical Systems (9) Econometrics (2) Economic Growth (5) Economic Policy (5) Economic Theory (1) Education (4) Emacs (1) Ergodic Theory (6) Euro Zone (1) Evolutionary Biology (1) EVT (1) Externalities (1) Finance (29) Fitness (6) Game Theory (3) General Equilibrium (8) Geopolitics (1) GitHub (1) Graph of the Day (11) Greatest Hits (1) Healthcare Economics (1) Heterogenous Agent Models (2) Heteroskedasticity (1) HFT (1) Housing Market (2) Income Inequality (2) Inflation (2) Institutions (2) Interesting reading material (2) IPython (1) IS-LM (1) Jerusalem (7) Keynes (1) Kronecker Graphs (3) Krussel-Smith (1) Labor Economics (1) Leverage (2) Liquidity (11) Logistics (6) Lucas Critique (2) Machine Learning (2) Macroeconomics (45) Macroprudential Regulation (1) Mathematics (23) matplotlib (10) Mayavi (1) Micro-foundations (10) Microeconomic of Banking (1) Modeling (8) Monetary Policy (4) Mountaineering (9) MSD (1) My Daily Show (3) NASA (1) Networks (46) Non-parametric Estimation (5) NumPy (2) Old Jaffa (9) Online Gaming (1) Optimal Growth (1) Oxford (4) Pakistan (1) Pandas (8) Penn World Tables (1) Physics (2) Pigouvian taxes (1) Politics (6) Power Laws (10) Prediction Markets (1) Prices (3) Prisoner's Dilemma (2) Producer Theory (2) Python (29) Quant (4) Quote of the Day (21) Ramsey model (1) Rational Expectations (1) RBC Models (2) Research Agenda (36) Santa Fe (6) SciPy (1) Shakshuka (1) Shiller (1) Social Dynamics (1) St. Andrews (1) Statistics (1) Stocks (2) Sugarscape (2) Summer Plans (2) Systemic Risk (13) Teaching (16) Theory of the Firm (4) Trade (4) Travel (3) Unemployment (9) Value iteration (2) Visualizations (1) wbdata (2) Web 2.0 (1) Yale (1)
Showing posts with label Ergodic Theory. Show all posts
Showing posts with label Ergodic Theory. Show all posts

Monday, March 7, 2011

Quote of the Day...

"Let me begin by asserting that the world we live in is not an ergodic world; it is a non-ergodic world.  I like the term 'ergodic'.  If I say the world is ergodic, I mean that it has stable underlying structure, such that we can develop theory that can be applied time after time consistently.  It is very important to understand that the world with which we are concerned is continually changing, is continually novel.  That does not mean that there are not ergodic aspects of the world.  But we can not develop theory that can be used over and over again and over time.  For an enormous number of issues that are important to us, the world is one of novelty and change; it does not repeat itself."
-Douglass North, 1993 Nobel Laureate in Economics

Update: The formulation of the above quote was taken from an article in the Royal Statistical Society's Significance Magazine, and is different than the verbatim quote from Douglass North's article I link to above.  Though the magazine article is good, North's journal article is one of the best, most thought provoking articles that I have read in some time.  It would definitely be worth reading...

Tuesday, January 18, 2011

An ergodic model of economic growth?...

So, I am now thoroughly confused!  I now think that perhaps the version of the Solow model outlined in my previous post is actually an Ergodic model!  I think this despite the fact that the deterministic version of the same model is (I think) non-Ergodic because it has multiple steady-states and long-run outcomes are completely dependent on initial conditions of capital stock.

Below are estimates of the unique pdf and cdf of steady-state distribution of the Solow model from my previous post (with identical parameter values).  John Stachurksi, in his book Economic Dynamics proves that the model is globally stable and thus that the steady-state distribution is unique.  Global stability, I think, implies that a process is Ergodic.  The distribution was created by simulating the model for 100,000 periods and then estimating the pdf using non-parametric kernel density estimation. The cdf was estimated using an estimator based on the empirical cdf.

Threshold Solow PDF:
Note that the distribution is double-humped.  The reason that the left-hand hump (corresponding to the "poor" attractor) is small relative to the right-hand hump is that the threshold level of capital stock, kb, is such that once the economy moves into the "rich" attractor's basin it is unlikely to get shocked out.  If you where to raise the threshold kb, then the left-hand hump would get bigger.

Threshold Solow CDF:
 As promised, I will post a link to Github later today with the Python code...

Monday, January 17, 2011

A non-ergodic model of economic growth?...

As part of my ongoing quest to learn more about ergodic theory (and to apply a bit of the Python skills that I have been developing), I have been writing code to implement variations of the Solow model of economic growth using John Stachurski's Economic Dynamics: Theory and Computation as my guide.

Below are some plots of simulations from what I think is a non-Ergodic version of the Solow model.  The equation of motion of capital stock in the Solow model is:
Parameters are defined as follows: α is capital's share in production, s is the savings rate, δ is the rate of capital depreciation.  W are shocks which are assumed to be independently and identically log-normal.  The twist is that technology A follows a step function:
My choice of parameters was α=0.5, s=0.25, A1=15, A2=25, δ=1.0, kb=21.6,  the log-normal shocks have mean 0 and variance 0.2.  This parameter choice might seem very specific, but it simply matches with exercises from Stachurski's book.

Time Series Plots: Below is a plot of two time-series drawn from the above model.  The initial conditions are k0 = 1.0 (blue) and 80.0 (green).   Note the persistence...if you start with low levels of capital stock to begin with it can take a long while to get away from the low attractor.  If the system was deterministic, then if you started with low capital stock, you will always have low capital stock. Initial conditions would completely determine long-run outcomes, and we thus have an example of a poverty trap!
Marginal Distributions: Below is a plot of the empirical distribution function at t=100 time steps.  The left-hand plot is for k0 = 1.0 whilst the right-hand plot is for k0 = 80.0.  Note that the the distributions differ depending on the initial conditions.
I will update this post and make the Python code available via GitHub once I have finished working out the code to simulate and solve for the steady-state distribution of this model.  I know that it will be double-humped (b/c of the two attractors)...

But just to confirm, is this version of the Solow Model non-Ergodic?

Monday, December 27, 2010

Ergodicity and the Dobrushin Coefficient...

I am working my way through Chapter 4 of Economic Dynamics: Theory and Computation and wish to pose the following question related to theorem 4.3.18 on page 90:

Theorem 4.3.18: Let p be a stochastic kernel on some metric space S with markov operator M.  The following statements are equivalent:
  1. The dynamical system (P(S), M) is globally stable (note that P(S) is the set of probability distribution functions defined over S).
  2. There exists a natural number t such that the Dobrushin coefficient of the t th iterate of p is greater than zero.
Stachurski suggests a more intuitive phrasing of the above theorem: suppose we run two Markov chains from two different starting points x and x'.  The dynamical system is globally stable if and only if there is a positive probability that the two chains will meet.  To me this sounds suspiciously similar to the definition of an ergodic dynamical system.  However, am I correct to make this connection?  Is a dynamical system that has a positive Dobrushin coefficient necessarily ergodic?  

Saturday, November 20, 2010

Ergodic Theory: A Verbal Monte-Carlo...

An interesting verbal example, a verbal monte-carlo if you will based on a post by Robert Vienneau.  I suspect one of my macro profs Sevi will like about ergodic and non-ergodic processes goes as follows:

Suppose I observe the consumption sample paths of 10,000 individuals over 10,000 units of time.  Let us also now make the completely implausible assumption that these 10,000 consumption paths were generated by the sample process.  Suppose that I pluck one sample path and look at the distribution across time.  Now suppose that I pluck out the observation at t=350 from each of the 10,000 sample paths and look at the distribution.  If this process was ergodic, then these two distributions should converge to one another in large enough samples. 

With ergodic processes, distributions across time and distributions across people should be the statistically the same (in large samples).  If the process is non-ergodic, then the distribution across people at a given moment in time and the distribution across time will not converge.  Sevi always comments about how summing (aggregating) across people, and summing across time are not always equivalent statements...is this the same as saying that economic processes in such cases are non-ergodic?  I don't know. 

Now let's go back and relax the ridiculous assumption that all agents have the same process that determines there consumption.  With heterogeneous agents even if each agent individually is following an ergodic process, the aggregate distributions across agents and across time will be a mixture of ergodic processes and therefore must be non-ergodic (I think).

Whether or not the above mentioned processes are stationary or non-stationary and why is still a mystery to me.  In Vienneau's example, the process he used in his actual monte-carlo was stationary but non-ergodic. 

Friday, November 19, 2010

Musings on Ergodic Theory...

There comes a time in every man's life where he feels that he should know more about ergodic theory than he does, for me that time arrived at 2:30 pm this afternoon while reading Brian Arthur's Increasing Returns and Path Dependence in the Economy. 

First I would like to prove to myself that Cosma Shalizi's assertions in this post are in fact correct.  Specifically he claims that...
"It is not true that non-stationarity is a sufficient condition for non-ergodicity; nor is it a necessary one."
This says that non-stationarity does not imply non-ergodicity.  I want to prove this by contradiction, so I need an example of a non-stationary process that is ergodic.
"It is not true that 'positive destabilizing feedback' implies non-ergodicity."
Again to prove by contradiction, I need an example of an ergodic process that exhibits positive destabilizing feedback 
"It is not true that ergodicity is incompatible with sensitive dependence on initial conditions."
Here I need an example of an ergodic process that exhibits sensitive dependence to initial conditions.  Cosma has already pointed out in his post that chaotic processes will generally serve as an example of an ergodic process with sensitive dependence on initial conditions
"It is not true that ergodicity rules out path-dependence, at least not the canonical form of it exhibited by Arthur's models"
Finally, I will need an example of an ergodic process that also exhibits path-dependence. 

I am currently reading Scott Page's essay on path dependence and I suspect that I will be able find several of the examples that I will need included in the text.

While all of this might seem very far removed from economics, I think understanding all of the above will provide useful constraints on the types of macroeconomic modelling techniques that I should pursue...at least this is my hope.