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
In the interest of looking for some parameters that might help us learn about the structure of
612
-
the Ramsey plan, we shall some least squares linear regressions of various components of $\vec \theta$ and $\vec \mu$ on others.
612
+
the Ramsey plan, we shall some least squares linear regressions of various components of $\vec \theta$ and $\vec \mu$ on others.
613
613
614
614
```{code-cell} ipython3
615
615
# Compute θ using optimized_μ
@@ -662,8 +662,6 @@ plt.show()
662
662
Now to learn about the structure of the optimal value $V$ as a function of $\vec \mu, \vec \theta$,
663
663
we'll run some more regressions.
664
664
665
-
666
-
667
665
+++
668
666
669
667
First, we modified the function `compute_V_t` to return a sequence of $\vec v_t$.
@@ -723,7 +721,6 @@ plt.legend()
723
721
plt.show()
724
722
```
725
723
726
-
727
724
Using a different and more structured computational strategy, this quantecon lecture {doc}`calvo` represented
728
725
a Ramsey plan recursively via the following system of linear equations:
729
726
@@ -757,11 +754,7 @@ First, recall that a Ramsey planner chooses $\vec \mu$ to maximize the governmen
757
754
We now define a distinct problem in which the planner chooses $\vec \mu$ to maximize the government's value function {eq}`eq:Ramseyvalue`subject to equation {eq}`eq:inflation101` and
758
755
the additional restriction that $\mu_t = \bar \mu$ for all $t$.
759
756
760
-
The solution of this problem is a single $\mu$ that this quantecon lecture {doc}`calvo` calls $\mu^{CR}$.
761
-
762
-
+++
763
-
764
-
757
+
The solution of this problem is a single $\mu$ that this quantecon lecture {doc}`calvo` calls $\mu^{CR}$.
765
758
766
759
```{code-cell} ipython3
767
760
# Initial guess for single μ
@@ -864,7 +857,7 @@ $$
864
857
B = (1-\lambda) A^{-1}
865
858
$$
866
859
867
-
Let's check this equation by using it and then comparing outcomes with our earlier results.
860
+
Let's check this equation by using it and then comparing outcomes with our earlier results.
868
861
869
862
```{code-cell} ipython3
870
863
λ = clq.α / (1 + clq.α)
@@ -951,6 +944,66 @@ in the code.**
951
944
952
945
**Response note to Humphrey** Shouldn't it instead be $ \vec \beta \cdot \beta \cdot (\vec \mu @ B)^T(\vec \mu @ B)$?
953
946
947
+
**Response note to Tom**: Thanks so much for pointing this out, you are right! That is what in my code. Sorry for the typo. I think in every case, we have $\vec{\beta} \cdot \vec{\beta}$. Perhaps we can just define:
0 commit comments