You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/lake_model.md
+93-62Lines changed: 93 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,7 @@ kernelspec:
14
14
# A Lake Model of Employment
15
15
16
16
\
17
-
The importance of the Perron-Frobenius theorem stems from the fact that
18
-
firstly in the real world most matrices we encounter are nonnegative matrices.
19
-
20
-
Secondly, a lot of important models are simply linear iterative models that
21
-
begin with an initial condition $x_0$ and then evolve recursively by the rule
22
-
$x_{t+1} = Ax_t$ or in short $x_t = A^tx_0$.
23
-
24
-
This theorem helps characterise the dominant eigenvalue $r(A)$ which
25
-
determines the behavior of this iterative process.
26
-
27
-
We now illustrate the power of the Perron-Frobenius theorem by showing how it
28
-
helps us to analyze a model of employment and unemployment flows in a large
17
+
This lecture studies a model of employment and unemployment flows in a large
29
18
population.
30
19
31
20
This model is sometimes called the **lake model** because there are two pools of workers:
@@ -40,20 +29,18 @@ The "flows" between the two lakes are as follows:
40
29
3. employed workers separate from their jobs at rate $\alpha$.
41
30
4. unemployed workers find jobs at rate $\lambda$.
42
31
43
-
```{code-cell} ipython3
44
-
from graphviz import Digraph
45
-
```
46
-
47
32
The below graph illustrates the lake model.
48
33
49
34
```{code-cell} ipython3
35
+
from graphviz import Digraph
36
+
50
37
# Create Digraph object
51
38
G = Digraph()
52
39
G.attr(rankdir='LR')
53
40
54
41
# Add nodes
55
42
G.attr('node', shape='circle')
56
-
G.node('1', 'New netrants', color='blue')
43
+
G.node('1', 'New entrants', color='blue')
57
44
G.node('2', 'Unemployed')
58
45
G.node('3', 'Employed')
59
46
@@ -107,13 +94,13 @@ Suppose at $t=0$ we have $x_0 = \begin{bmatrix} u_0 & e_0 \end{bmatrix}^\top$.
107
94
108
95
Then, $x_1=Ax_0$, $x_2=Ax_1=A^2x_0$ and thus $x_t = A^tx_0$.
109
96
110
-
Thus the longrun outcomes of this system depend on the initial condition $x_0$ and the matrix $A$.
97
+
Thus the long-run outcomes of this system may depend on the initial condition $x_0$ and the matrix $A$.
111
98
112
-
We are intertest in how $u_t$ and $e_t$ evolve over time.
99
+
We are interested in how $u_t$ and $e_t$ evolve over time.
113
100
114
-
What longrun unemployment rate should we expect?
101
+
What long-run unemployment rate and employment rate should we expect?
115
102
116
-
Do longrun outcomes depend on the initial values $(u_0, e_o)$?
103
+
Do long-run outcomes depend on the initial values $(u_0, e_o)$?
117
104
118
105
Let us first plot the time series of unemployment $u_t$, employment $e_t$, and labor force $n_t$.
119
106
@@ -214,29 +201,52 @@ plt.show()
214
201
215
202
Not surprisingly, we observe that labor force $n_t$ increases at a constant rate.
216
203
217
-
This fact conincides with the intuition that the inflow and outflow of labor market system is determined by constant exit rate and enter rate of labor market.
204
+
This conincides with the fact there is only one inflow source (new entrants pool) to unemployment and employment pools.
205
+
206
+
The inflow and outflow of labor market system
207
+
is determined by constant exit rate and entry rate of labor market in the long run.
218
208
219
209
In detail, let $\mathbb{1}=[1, 1]^\top$ be a vector of ones.
210
+
220
211
Observe that
221
212
222
213
$$
223
-
n_{t+1} = u_{t+1} + e_{t+1} = \mathbb{1}^\top x_t = \mathbb{1}^\top A x_t = (1 + b - d) (u_t + e_t) = (1 + b - d) n_t
214
+
n_{t+1} = u_{t+1} + e_{t+1} = \mathbb{1}^\top x_t = \mathbb{1}^\top A x_t = (1 + b - d) (u_t + e_t) = (1 + b - d) n_t.
224
215
$$
225
216
226
-
Moreover, the times series of unemployment and employment seems to grow at some constant rate in the long run.
217
+
Hence, the growth rate of $n_t$ is fixed at $1 + b - a$.
218
+
219
+
Moreover, the times series of unemployment and employment seems to grow at some stable rates in the long run.
220
+
221
+
Since by intuition if we consider unemployment pool and employment pool as a closed system, the growth should be similar the labor force.
222
+
223
+
We next ask whether the growth rates of $e_t$ and $u_t$ in the long run also dominated by $1+b-d$ as labor force.
224
+
225
+
The answer will be clearer if we appeal to Perron-Frobenius theorem.
226
+
227
+
The importance of the Perron-Frobenius theorem stems from the fact that
228
+
firstly in the real world most matrices we encounter are nonnegative matrices.
229
+
230
+
Secondly, a lot of important models are simply linear iterative models that
231
+
begin with an initial condition $x_0$ and then evolve recursively by the rule
232
+
$x_{t+1} = Ax_t$ or in short $x_t = A^tx_0$.
227
233
228
-
Do the growth rates of $e_t$ and $u_t$ in the long run also dominated by $1+b -d$ as labor force?
234
+
This theorem helps characterise the dominant eigenvalue $r(A)$ which
235
+
determines the behavior of this iterative process.
229
236
230
-
The answer will be clearer if we appeal to Peroon-Frobenius theorem.
237
+
We now illustrate the power of the Perron-Frobenius theorem by showing how it
238
+
helps us to analyze the lake model.
231
239
232
-
Since $A$ is a nonnegative and irreducible matrix, we can use the Perron-Frobenius theorem to obtain some useful results about A:
240
+
Since $A$ is a nonnegative and irreducible matrix, the Perron-Frobenius theorem implies that:
233
241
234
-
-The spectral radius $r(A)$ is an eigenvalue of $A$, where
242
+
-the spectral radius $r(A)$ is an eigenvalue of $A$, where
235
243
236
244
$$
237
245
r(A) := \max\{|\lambda|: \lambda \text{ is an eigenvalue of } A \}
238
246
$$
239
247
248
+
- any other eigenvalue $\lambda$ in absolue value is strictly smaller than $r(A)$: $|\lambda|< r(A)$,
249
+
240
250
- there exist unique and everywhere positive right eigenvector $\phi$ (column vector) and left eigenvector $\psi$ (row vector):
241
251
242
252
$$
@@ -253,19 +263,19 @@ The last statement implies that the magnitude of $A^t$ is identical to the magni
253
263
254
264
Therefore, the magnitude $x_t = A^t x_0$ is also dominated by $r(A)^t$ in the long run.
255
265
256
-
We further examine the spectral radius. Recall that the spectral radius is bounded by column sums: for $A \geq 0$, we have
266
+
Recall that the spectral radius is bounded by column sums: for $A \geq 0$, we have
We see that the growth of $u_t$ and $e_t$ also dominated by $r(A) = 1+g$ in the long run: $x_t$ grows along $D$ as $r(A) > 1$ and converges to $(0, 0)$ as $r(A) < 1$.
404
424
405
-
Moreover, the longrun uneumploment and employment are a steady fraction of $n_t$.
425
+
Moreover, the long-run uneumploment and employment are steady fractions of $n_t$.
406
426
407
-
The latter implies that $\bar{u}$ amd $\bar{e}$ are longrun unemployment rate and employment rate, respectively.
427
+
The latter implies that $\bar{u}$ and $\bar{e}$ are long-run unemployment rate and employment rate, respectively.
408
428
409
-
In detail, we have the unemployment rates and employment rates: $x_t / n_t = A^t n_0 / n_t \approx \bar{x}$ as $t \to \infty$.
429
+
In detail, we have the unemployment rates and employment rates: $x_t / n_t = A^t n_0 / n_t \to \bar{x}$ as $t \to \infty$.
410
430
411
-
In other words, if we define matrix $\hat{A} := A / (1+g)$, then the dynamics of rates follow
431
+
To illustate the dynamics of rates, let $\hat{A} := A / (1+g)$ be the transition matrix of $r_t := x_t/ n_t$.
To provide more intuition for convergence, we further explain the convergence below without the Perron-Frobenius theorem.
461
485
462
-
Let $\hat{A} = P D P^{-1}$ be diagonalizable, where $P = [v_1, v_2]$ consists of eigenvectors $v_1, v_2$ of $\hat{A}$, and $D = diag(\gamma_1, \gamma_2)$ where $\gamma_1, \gamma_2$ are eigenvalues of $\hat{A}$.
486
+
Suppose that $\hat{A} = P D P^{-1}$ is diagonalizable, where $P = [v_1, v_2]$ consists of eigenvectors $v_1$ and $v_2$ of $\hat{A}$
487
+
corresponding to eigenvalues $\gamma_1$ and $\gamma_2$ respectively,
488
+
and $D = diag(\gamma_1, \gamma_2)$.
463
489
464
-
Similar to the transition matrix $A$ in lake model, we also assume $\gamma_1 = r(\hat{A})=1$ and $|\gamma_2| < \gamma_1$, so that the spectral radius is a dominated eigenvalue.
490
+
Let $\gamma_1 = r(\hat{A})=1$ and $|\gamma_2| < \gamma_1$, so that the spectral radius is a dominant eigenvalue.
465
491
466
-
The rate motion follows $r_{t+1} = \hat{A} r_t$, where $r_0$ is a probability vector: $\sum_j r_{0,j}=1$.
492
+
The dynamics of rates follows $r_{t+1} = \hat{A} r_t$, where $r_0$ is a probability vector: $\sum_j r_{0,j}=1$.
467
493
468
494
Consider $z_t = P^{-1} r_t $.
469
495
470
496
Then, we have $z_{t+1} = P^{-1} r_{t+1} = P^{-1} \hat{A} r_t = P^{-1} \hat{A} P z_t = D z_t$.
471
497
472
498
Hence, we obtain $z_t = D^t z_0$, and for some $z_0 = (c_1, c_2)^\top$ we have
Since $|\gamma_2| < |\gamma_1|=1$, the second term in the right hand side converges to zero.
477
506
@@ -483,24 +512,26 @@ In this case, $c_1 v_1$ must be a normalized eigenvector, so $c_1 v_1 = \bar{x}$
483
512
484
513
## Exercise
485
514
486
-
487
-
488
515
:label: lake_model_ex1
489
516
490
-
How do the long run unemployment rate and employment rate shift if there is increase in the separation rate $\alpha$ or decrease in job finding rate $\lambda$?
517
+
How do the long-run unemployment rate and employment rate elvove if there is an increase in the separation rate $\alpha$
518
+
or a decrease in job finding rate $\lambda$?
491
519
492
-
Is the result compatible with your intiotion?
520
+
Is the result compatible with your intuition?
493
521
494
-
Plot the graph to illustrate how the line $D := \{ x \in \mathbb{R}^2 : x = \alpha \bar{x} \; \text{for some} \; \alpha >0 \}$ shifts on the unemployment-employment space.
522
+
Plot the graph to illustrate how the line $D := \{ x \in \mathbb{R}^2 : x = \alpha \bar{x} \; \text{for some} \; \alpha >0 \}$
523
+
shifts in the unemployment-employment space.
495
524
496
525
:class: dropdown
497
526
498
-
Eq. {eq}`steady_x` implies that the long-run unemployment rate will increase, and employment rate will decreases if $\alpha$ increases or $\lambda$ decreases.
527
+
Eq. {eq}`steady_x` implies that the long-run unemployment rate will increase, and the employment rate will decrease
528
+
if $\alpha$ increases or $\lambda$ decreases.
499
529
500
530
Suppose first that $\alpha=0.01, \lambda=0.1, d=0.02, b=0.025$.
501
531
Assume that $\alpha$ increases to $0.04$.
502
532
503
-
The below graph illustrates that the line $D$ shifts downward, which indicates that the fraction of unemployment rises as the separation rate increases.
533
+
The below graph illustrates that the line $D$ shifts clockwise downward, which indicates that
534
+
the fraction of unemployment rises as the separation rate increases.
0 commit comments