From 1a08a5c90a0e0e7a176cfb3f5af007e4fb5229ee Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 17 Nov 2026 14:35:55 +1100 Subject: [PATCH] Point discrete_dp's optimal growth links at os_stochastic The stochastic optimal growth lecture is now os_stochastic, "Optimal Savings III: Stochastic Returns", on python.quantecon.org, and both old optgrowth URLs return 404. That series is the intermediate one, not the introductory one. The old lecture's Exercise 2 no longer exists, so the solution's pointer to it is dropped and the sentence kept. Found while validating a build of the lecture from QuantEcon/lectures. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WT8bMZoSvoQTbzkdmZiMnd --- lectures/discrete_dp.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lectures/discrete_dp.md b/lectures/discrete_dp.md index fc5737fc..df8cd022 100644 --- a/lectures/discrete_dp.md +++ b/lectures/discrete_dp.md @@ -613,7 +613,7 @@ For larger problems, you might need to write this code more efficiently by vecto ## Exercises -In the [stochastic optimal growth lecture](https://python-intro.quantecon.org/optgrowth.html) from our introductory lecture series, we solve a benchmark model that has an analytical solution. +In the [stochastic optimal growth lecture](https://python.quantecon.org/os_stochastic.html) from our intermediate lecture series, we solve a benchmark model that has an analytical solution. The exercise is to replicate this solution using `DiscreteDP`. @@ -621,7 +621,7 @@ The exercise is to replicate this solution using `DiscreteDP`. ### Setup -Details of the model can be found in [the lecture on optimal growth](https://python-intro.quantecon.org/optgrowth.html). +Details of the model can be found in [the lecture on optimal growth](https://python.quantecon.org/os_stochastic.html). We let $f(k) = k^{\alpha}$ with $\alpha = 0.65$, $u(c) = \log c$, and $\beta = 0.95$ @@ -907,8 +907,7 @@ plt.show() #### Dynamics of the capital stock -Finally, let us work on [Exercise -2](https://python.quantecon.org/optgrowth.html#exercises), where we plot +Finally, let us plot the trajectories of the capital stock for three different discount factors, $0.9$, $0.94$, and $0.98$, with initial condition $k_0 = 0.1$.