Repository navigation
LECT: Add lecture on lake model - #99
Conversation
✅ Deploy Preview for taupe-gaufre-c4e660 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
@maanasee do you have time to review this lecture? The current warnings indicate that |
|
This lecture has been upated. Please review and let me know if there is any issue. |
| ```{code-cell} ipython3 | ||
| lm = LakeModel(α=0.01, λ=0.1, d=0.025, b=0.02) | ||
| plot_time_paths(lm, x0=x0) | ||
| ```` |
There was a problem hiding this comment.
extra backtick needs to be removed (CC @Chien-Y )
|
Many thanks @Chien-Y . Perhaps we should replace the png file with a graphvis figure, so that it's generated within the lecture. |
|
Thank you for the comment, @jstac . |
|
Thanks @Chien-Y . @Smit-create or @mmcky , could you please fix the build error. |
|
Thanks, @jstac. Fixed the build error. |
|
Thanks @Smit-create , much appreciated. |
| The importance of the Perron-Frobenius theorem stems from the fact that | ||
| firstly in the real world most matrices we encounter are nonnegative matrices. | ||
|
|
||
| Secondly, a lot of important models are simply linear iterative models that |
|
|
||
| Since by intuition if we consider unemployment pool and employment pool as a closed system, the growth should be similar the labor force. | ||
|
|
||
| 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. |
There was a problem hiding this comment.
"growth rates... in the long run" -> "long run growth rates"
| $$ | ||
|
|
||
| Moreover, the times series of unemployment and employment seems to grow at some constant rate in the long run. | ||
| Hence, the growth rate of $n_t$ is fixed at $1 + b - a$. |
| Let $\gamma_1 = r(\hat{A})=1$ and $|\gamma_2| < \gamma_1$, so that the spectral radius is a dominant eigenvalue. | ||
|
|
||
| The rate motion follows $r_{t+1} = \hat{A} r_t$, where $r_0$ is a probability vector: $\sum_j r_{0,j}=1$. | ||
| 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$. |
There was a problem hiding this comment.
"of rates" -> "of the rates"
|
Thanks @Chien-Y , please see my comments above. |
|
Thank you, @jstac. I've corrected them. |
|
Thanks @Chien-Y , nice work. |
This PR adds
lake_modellecture but needs some additional import statements to make the code run etc.