28. Kesten Processes and Firm Dynamics#

In addition to what’s in Anaconda, this lecture will need the following libraries:

!pip install quantecon
!pip install --upgrade yfinance
Hide code cell output
Requirement already satisfied: quantecon in /opt/conda/envs/quantecon/lib/python3.11/site-packages (0.7.2)
Requirement already satisfied: numba>=0.49.0 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from quantecon) (0.57.1)
Requirement already satisfied: numpy>=1.17.0 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from quantecon) (1.24.3)
Requirement already satisfied: requests in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from quantecon) (2.31.0)
Requirement already satisfied: scipy>=1.5.0 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from quantecon) (1.11.1)
Requirement already satisfied: sympy in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from quantecon) (1.11.1)
Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from numba>=0.49.0->quantecon) (0.40.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests->quantecon) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests->quantecon) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests->quantecon) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests->quantecon) (2023.7.22)
Requirement already satisfied: mpmath>=0.19 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from sympy->quantecon) (1.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Collecting yfinance
  Obtaining dependency information for yfinance from https://files.pythonhosted.org/packages/14/03/3c854ca3e02eedf614abba4b2e177c469bf3af58207fa30d5098c5d652fe/yfinance-0.2.37-py2.py3-none-any.whl.metadata
  Downloading yfinance-0.2.37-py2.py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: pandas>=1.3.0 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (2.0.3)
Requirement already satisfied: numpy>=1.16.5 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (1.24.3)
Requirement already satisfied: requests>=2.31 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (2.31.0)
Collecting multitasking>=0.0.7 (from yfinance)
  Obtaining dependency information for multitasking>=0.0.7 from https://files.pythonhosted.org/packages/3e/8a/bb3160e76e844db9e69a413f055818969c8acade64e1a9ac5ce9dfdcf6c1/multitasking-0.0.11-py3-none-any.whl.metadata
  Downloading multitasking-0.0.11-py3-none-any.whl.metadata (5.5 kB)
Requirement already satisfied: lxml>=4.9.1 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (4.9.3)
Requirement already satisfied: appdirs>=1.4.4 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (1.4.4)
Requirement already satisfied: pytz>=2022.5 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (2023.3.post1)
Collecting frozendict>=2.3.4 (from yfinance)
  Downloading frozendict-2.4.0.tar.gz (314 kB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/314.6 kB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 307.2/314.6 kB 12.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 307.2/314.6 kB 12.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 307.2/314.6 kB 12.2 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 314.6/314.6 kB 2.8 MB/s eta 0:00:00
?25h
  Installing build dependencies ... ?25l-
 \
 |
 /
 -
 \ done
?25h  Getting requirements to build wheel ... ?25l- done
?25h  Preparing metadata (pyproject.toml) ... ?25l-
 done
?25hCollecting peewee>=3.16.2 (from yfinance)
  Downloading peewee-3.17.1.tar.gz (3.0 MB)
?25l     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/3.0 MB ? eta -:--:--
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 2.9/3.0 MB 124.5 MB/s eta 0:00:01
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 68.4 MB/s eta 0:00:00
?25h
  Installing build dependencies ... ?25l-
 \
 |
 / done
?25h  Getting requirements to build wheel ... ?25l-
 done
?25h  Preparing metadata (pyproject.toml) ... ?25l-
 done
?25hRequirement already satisfied: beautifulsoup4>=4.11.1 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from yfinance) (4.12.2)
Collecting html5lib>=1.1 (from yfinance)
  Obtaining dependency information for html5lib>=1.1 from https://files.pythonhosted.org/packages/6c/dd/a834df6482147d48e225a49515aabc28974ad5a4ca3215c18a882565b028/html5lib-1.1-py2.py3-none-any.whl.metadata
  Downloading html5lib-1.1-py2.py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: soupsieve>1.2 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from beautifulsoup4>=4.11.1->yfinance) (2.4)
Requirement already satisfied: six>=1.9 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from html5lib>=1.1->yfinance) (1.16.0)
Requirement already satisfied: webencodings in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from html5lib>=1.1->yfinance) (0.5.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from pandas>=1.3.0->yfinance) (2.8.2)
Requirement already satisfied: tzdata>=2022.1 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from pandas>=1.3.0->yfinance) (2023.3)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests>=2.31->yfinance) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests>=2.31->yfinance) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests>=2.31->yfinance) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/quantecon/lib/python3.11/site-packages (from requests>=2.31->yfinance) (2023.7.22)
Downloading yfinance-0.2.37-py2.py3-none-any.whl (72 kB)
?25l   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/73.0 kB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.0/73.0 kB 13.6 MB/s eta 0:00:00
?25hDownloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
?25l   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/112.2 kB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 24.4 MB/s eta 0:00:00
?25hDownloading multitasking-0.0.11-py3-none-any.whl (8.5 kB)
Building wheels for collected packages: frozendict, peewee
  Building wheel for frozendict (pyproject.toml) ... ?25l-
 done
?25h  Created wheel for frozendict: filename=frozendict-2.4.0-py3-none-any.whl size=15426 sha256=29f918630cf12d9f1e1c115b1716e5008e265a30a8d7923b7da35900c8c61134
  Stored in directory: /github/home/.cache/pip/wheels/31/dd/81/a814e6f8cde8a1bbc1f088fdc273943371f10478b91a605e14
  Building wheel for peewee (pyproject.toml) ... ?25l-
 \
 |
 /
 done
?25h  Created wheel for peewee: filename=peewee-3.17.1-cp311-cp311-linux_x86_64.whl size=290974 sha256=0ab256da85252c097fd1a1c0bd38751f96a0819188499f62b19fa3f73aab6746
  Stored in directory: /github/home/.cache/pip/wheels/33/d2/ca/79b9807826bc7ef0b86a1ee28c372daaf073f9aa8756eedd7f
Successfully built frozendict peewee
Installing collected packages: peewee, multitasking, html5lib, frozendict, yfinance
Successfully installed frozendict-2.4.0 html5lib-1.1 multitasking-0.0.11 peewee-3.17.1 yfinance-0.2.37
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

28.1. Overview#

Previously we learned about linear scalar-valued stochastic processes (AR(1) models).

Now we generalize these linear models slightly by allowing the multiplicative coefficient to be stochastic.

Such processes are known as Kesten processes after German–American mathematician Harry Kesten (1931–2019)

Although simple to write down, Kesten processes are interesting for at least two reasons:

  1. A number of significant economic processes are or can be described as Kesten processes.

  2. Kesten processes generate interesting dynamics, including, in some cases, heavy-tailed cross-sectional distributions.

We will discuss these issues as we go along.

Let’s start with some imports:

import matplotlib.pyplot as plt
plt.rcParams["figure.figsize"] = (11, 5)  #set default figure size
import numpy as np
import quantecon as qe

The following two lines are only added to avoid a FutureWarning caused by compatibility issues between pandas and matplotlib.

from pandas.plotting import register_matplotlib_converters
register_matplotlib_converters()

Additional technical background related to this lecture can be found in the monograph of [Buraczewski et al., 2016].

28.2. Kesten Processes#

A Kesten process is a stochastic process of the form

(28.1)#\[X_{t+1} = a_{t+1} X_t + \eta_{t+1}\]

where \(\{a_t\}_{t \geq 1}\) and \(\{\eta_t\}_{t \geq 1}\) are IID sequences.

We are interested in the dynamics of \(\{X_t\}_{t \geq 0}\) when \(X_0\) is given.

We will focus on the nonnegative scalar case, where \(X_t\) takes values in \(\mathbb R_+\).

In particular, we will assume that

  • the initial condition \(X_0\) is nonnegative,

  • \(\{a_t\}_{t \geq 1}\) is a nonnegative IID stochastic process and

  • \(\{\eta_t\}_{t \geq 1}\) is another nonnegative IID stochastic process, independent of the first.

28.2.1. Example: GARCH Volatility#

The GARCH model is common in financial applications, where time series such as asset returns exhibit time varying volatility.

For example, consider the following plot of daily returns on the Nasdaq Composite Index for the period 1st January 2006 to 1st November 2019.

import yfinance as yf

s = yf.download('^IXIC', '2006-1-1', '2019-11-1')['Adj Close']

r = s.pct_change()

fig, ax = plt.subplots()

ax.plot(r, alpha=0.7)

ax.set_ylabel('returns', fontsize=12)
ax.set_xlabel('date', fontsize=12)

plt.show()
[*********************100%%**********************]  1 of 1 completed

_images/7e1c42137aacba47d62ba9df5334e773497e1cf954ad1fbf7ec0eb3b2383e75a.png

Notice how the series exhibits bursts of volatility (high variance) and then settles down again.

GARCH models can replicate this feature.

The GARCH(1, 1) volatility process takes the form

(28.2)#\[\sigma_{t+1}^2 = \alpha_0 + \sigma_t^2 (\alpha_1 \xi_{t+1}^2 + \beta)\]

where \(\{\xi_t\}\) is IID with \(\mathbb E \xi_t^2 = 1\) and all parameters are positive.

Returns on a given asset are then modeled as

(28.3)#\[r_t = \sigma_t \zeta_t\]

where \(\{\zeta_t\}\) is again IID and independent of \(\{\xi_t\}\).

The volatility sequence \(\{\sigma_t^2 \}\), which drives the dynamics of returns, is a Kesten process.

28.2.2. Example: Wealth Dynamics#

Suppose that a given household saves a fixed fraction \(s\) of its current wealth in every period.

The household earns labor income \(y_t\) at the start of time \(t\).

Wealth then evolves according to

(28.4)#\[w_{t+1} = R_{t+1} s w_t + y_{t+1}\]

where \(\{R_t\}\) is the gross rate of return on assets.

If \(\{R_t\}\) and \(\{y_t\}\) are both IID, then (28.4) is a Kesten process.

28.2.3. Stationarity#

In earlier lectures, such as the one on AR(1) processes, we introduced the notion of a stationary distribution.

In the present context, we can define a stationary distribution as follows:

The distribution \(F^*\) on \(\mathbb R\) is called stationary for the Kesten process (28.1) if

(28.5)#\[X_t \sim F^* \quad \implies \quad a_{t+1} X_t + \eta_{t+1} \sim F^*\]

In other words, if the current state \(X_t\) has distribution \(F^*\), then so does the next period state \(X_{t+1}\).

We can write this alternatively as

(28.6)#\[F^*(y) = \int \mathbb P\{ a_{t+1} x + \eta_{t+1} \leq y\} F^*(dx) \quad \text{for all } y \geq 0.\]

The left hand side is the distribution of the next period state when the current state is drawn from \(F^*\).

The equality in (28.6) states that this distribution is unchanged.

28.2.4. Cross-Sectional Interpretation#

There is an important cross-sectional interpretation of stationary distributions, discussed previously but worth repeating here.

Suppose, for example, that we are interested in the wealth distribution — that is, the current distribution of wealth across households in a given country.

Suppose further that

  • the wealth of each household evolves independently according to (28.4),

  • \(F^*\) is a stationary distribution for this stochastic process and

  • there are many households.

Then \(F^*\) is a steady state for the cross-sectional wealth distribution in this country.

In other words, if \(F^*\) is the current wealth distribution then it will remain so in subsequent periods, ceteris paribus.

To see this, suppose that \(F^*\) is the current wealth distribution.

What is the fraction of households with wealth less than \(y\) next period?

To obtain this, we sum the probability that wealth is less than \(y\) tomorrow, given that current wealth is \(w\), weighted by the fraction of households with wealth \(w\).

Noting that the fraction of households with wealth in interval \(dw\) is \(F^*(dw)\), we get

\[ \int \mathbb P\{ R_{t+1} s w + y_{t+1} \leq y\} F^*(dw) \]

By the definition of stationarity and the assumption that \(F^*\) is stationary for the wealth process, this is just \(F^*(y)\).

Hence the fraction of households with wealth in \([0, y]\) is the same next period as it is this period.

Since \(y\) was chosen arbitrarily, the distribution is unchanged.

28.2.5. Conditions for Stationarity#

The Kesten process \(X_{t+1} = a_{t+1} X_t + \eta_{t+1}\) does not always have a stationary distribution.

For example, if \(a_t \equiv \eta_t \equiv 1\) for all \(t\), then \(X_t = X_0 + t\), which diverges to infinity.

To prevent this kind of divergence, we require that \(\{a_t\}\) is strictly less than 1 most of the time.

In particular, if

(28.7)#\[\mathbb E \ln a_t < 0 \quad \text{and} \quad \mathbb E \eta_t < \infty\]

then a unique stationary distribution exists on \(\mathbb R_+\).

As one application of this result, we see that the wealth process (28.4) will have a unique stationary distribution whenever labor income has finite mean and \(\mathbb E \ln R_t + \ln s < 0\).

28.3. Heavy Tails#

Under certain conditions, the stationary distribution of a Kesten process has a Pareto tail.

(See our earlier lecture on heavy-tailed distributions for background.)

This fact is significant for economics because of the prevalence of Pareto-tailed distributions.

28.3.1. The Kesten–Goldie Theorem#

To state the conditions under which the stationary distribution of a Kesten process has a Pareto tail, we first recall that a random variable is called nonarithmetic if its distribution is not concentrated on \(\{\dots, -2t, -t, 0, t, 2t, \ldots \}\) for any \(t \geq 0\).

For example, any random variable with a density is nonarithmetic.

The famous Kesten–Goldie Theorem (see, e.g., [Buraczewski et al., 2016], theorem 2.4.4) states that if

  1. the stationarity conditions in (28.7) hold,

  2. the random variable \(a_t\) is positive with probability one and nonarithmetic,

  3. \(\mathbb P\{a_t x + \eta_t = x\} < 1\) for all \(x \in \mathbb R_+\) and

  4. there exists a positive constant \(\alpha\) such that

\[ \mathbb E a_t^\alpha = 1, \quad \mathbb E \eta_t^\alpha < \infty, \quad \text{and} \quad \mathbb E [a_t^{\alpha+1} ] < \infty \]

then the stationary distribution of the Kesten process has a Pareto tail with tail index \(\alpha\).

More precisely, if \(F^*\) is the unique stationary distribution and \(X^* \sim F^*\), then

\[ \lim_{x \to \infty} x^\alpha \mathbb P\{X^* > x\} = c \]

for some positive constant \(c\).

28.3.2. Intuition#

Later we will illustrate the Kesten–Goldie Theorem using rank-size plots.

Prior to doing so, we can give the following intuition for the conditions.

Two important conditions are that \(\mathbb E \ln a_t < 0\), so the model is stationary, and \(\mathbb E a_t^\alpha = 1\) for some \(\alpha > 0\).

The first condition implies that the distribution of \(a_t\) has a large amount of probability mass below 1.

The second condition implies that the distribution of \(a_t\) has at least some probability mass at or above 1.

The first condition gives us existence of the stationary condition.

The second condition means that the current state can be expanded by \(a_t\).

If this occurs for several concurrent periods, the effects compound each other, since \(a_t\) is multiplicative.

This leads to spikes in the time series, which fill out the extreme right hand tail of the distribution.

The spikes in the time series are visible in the following simulation, which generates of 10 paths when \(a_t\) and \(b_t\) are lognormal.

μ = -0.5
σ = 1.0

def kesten_ts(ts_length=100):
    x = np.zeros(ts_length)
    for t in range(ts_length-1):
        a = np.exp(μ + σ * np.random.randn())
        b = np.exp(np.random.randn())
        x[t+1] = a * x[t] + b
    return x

fig, ax = plt.subplots()

num_paths = 10
np.random.seed(12)

for i in range(num_paths):
    ax.plot(kesten_ts())

ax.set(xlabel='time', ylabel='$X_t$')
plt.show()
_images/c2d5c4c71e39efaddcfb25d6109822bc4b2da089ba1e27476f709e7bbdaa5332.png

28.4. Application: Firm Dynamics#

As noted in our lecture on heavy tails, for common measures of firm size such as revenue or employment, the US firm size distribution exhibits a Pareto tail (see, e.g., [Axtell, 2001], [Gabaix, 2016]).

Let us try to explain this rather striking fact using the Kesten–Goldie Theorem.

28.4.1. Gibrat’s Law#

It was postulated many years ago by Robert Gibrat [Gibrat, 1931] that firm size evolves according to a simple rule whereby size next period is proportional to current size.

This is now known as Gibrat’s law of proportional growth.

We can express this idea by stating that a suitably defined measure \(s_t\) of firm size obeys

(28.8)#\[\frac{s_{t+1}}{s_t} = a_{t+1}\]

for some positive IID sequence \(\{a_t\}\).

One implication of Gibrat’s law is that the growth rate of individual firms does not depend on their size.

However, over the last few decades, research contradicting Gibrat’s law has accumulated in the literature.

For example, it is commonly found that, on average,

  1. small firms grow faster than large firms (see, e.g., [Evans, 1987] and [Hall, 1987]) and

  2. the growth rate of small firms is more volatile than that of large firms [Dunne et al., 1989].

On the other hand, Gibrat’s law is generally found to be a reasonable approximation for large firms [Evans, 1987].

We can accommodate these empirical findings by modifying (28.8) to

(28.9)#\[s_{t+1} = a_{t+1} s_t + b_{t+1}\]

where \(\{a_t\}\) and \(\{b_t\}\) are both IID and independent of each other.

In the exercises you are asked to show that (28.9) is more consistent with the empirical findings presented above than Gibrat’s law in (28.8).

28.4.2. Heavy Tails#

So what has this to do with Pareto tails?

The answer is that (28.9) is a Kesten process.

If the conditions of the Kesten–Goldie Theorem are satisfied, then the firm size distribution is predicted to have heavy tails — which is exactly what we see in the data.

In the exercises below we explore this idea further, generalizing the firm size dynamics and examining the corresponding rank-size plots.

We also try to illustrate why the Pareto tail finding is significant for quantitative analysis.

28.5. Exercises#

Exercise 28.1

Simulate and plot 15 years of daily returns (consider each year as having 250 working days) using the GARCH(1, 1) process in (28.2)(28.3).

Take \(\xi_t\) and \(\zeta_t\) to be independent and standard normal.

Set \(\alpha_0 = 0.00001, \alpha_1 = 0.1, \beta = 0.9\) and \(\sigma_0 = 0\).

Compare visually with the Nasdaq Composite Index returns shown above.

While the time path differs, you should see bursts of high volatility.

Exercise 28.2

In our discussion of firm dynamics, it was claimed that (28.9) is more consistent with the empirical literature than Gibrat’s law in (28.8).

(The empirical literature was reviewed immediately above (28.9).)

In what sense is this true (or false)?

Exercise 28.3

Consider an arbitrary Kesten process as given in (28.1).

Suppose that \(\{a_t\}\) is lognormal with parameters \((\mu, \sigma)\).

In other words, each \(a_t\) has the same distribution as \(\exp(\mu + \sigma Z)\) when \(Z\) is standard normal.

Suppose further that \(\mathbb E \eta_t^r < \infty\) for every \(r > 0\), as would be the case if, say, \(\eta_t\) is also lognormal.

Show that the conditions of the Kesten–Goldie theorem are satisfied if and only if \(\mu < 0\).

Obtain the value of \(\alpha\) that makes the Kesten–Goldie conditions hold.

Exercise 28.4

One unrealistic aspect of the firm dynamics specified in (28.9) is that it ignores entry and exit.

In any given period and in any given market, we observe significant numbers of firms entering and exiting the market.

Empirical discussion of this can be found in a famous paper by Hugo Hopenhayn [Hopenhayn, 1992].

In the same paper, Hopenhayn builds a model of entry and exit that incorporates profit maximization by firms and market clearing quantities, wages and prices.

In his model, a stationary equilibrium occurs when the number of entrants equals the number of exiting firms.

In this setting, firm dynamics can be expressed as

(28.11)#\[s_{t+1} = e_{t+1} \mathbb{1}\{s_t < \bar s\} + (a_{t+1} s_t + b_{t+1}) \mathbb{1}\{s_t \geq \bar s\}\]

Here

  • the state variable \(s_t\) represents productivity (which is a proxy for output and hence firm size),

  • the IID sequence \(\{ e_t \}\) is thought of as a productivity draw for a new entrant and

  • the variable \(\bar s\) is a threshold value that we take as given, although it is determined endogenously in Hopenhayn’s model.

The idea behind (28.11) is that firms stay in the market as long as their productivity \(s_t\) remains at or above \(\bar s\).

  • In this case, their productivity updates according to (28.9).

Firms choose to exit when their productivity \(s_t\) falls below \(\bar s\).

  • In this case, they are replaced by a new firm with productivity \(e_{t+1}\).

What can we say about dynamics?

Although (28.11) is not a Kesten process, it does update in the same way as a Kesten process when \(s_t\) is large.

So perhaps its stationary distribution still has Pareto tails?

Your task is to investigate this question via simulation and rank-size plots.

The approach will be to

  1. generate \(M\) draws of \(s_T\) when \(M\) and \(T\) are large and

  2. plot the largest 1,000 of the resulting draws in a rank-size plot.

(The distribution of \(s_T\) will be close to the stationary distribution when \(T\) is large.)

In the simulation, assume that

  • each of \(a_t, b_t\) and \(e_t\) is lognormal,

  • the parameters are

μ_a = -0.5        # location parameter for a
σ_a = 0.1         # scale parameter for a
μ_b = 0.0         # location parameter for b
σ_b = 0.5         # scale parameter for b
μ_e = 0.0         # location parameter for e
σ_e = 0.5         # scale parameter for e
s_bar = 1.0       # threshold
T = 500           # sampling date
M = 1_000_000     # number of firms
s_init = 1.0      # initial condition for each firm