Skip to content

Commit 3e3aa49

Browse files
Tom's May 31 edits of two advanced lectures
1 parent 4d387e7 commit 3e3aa49

File tree

2 files changed

+32
-29
lines changed

2 files changed

+32
-29
lines changed

lectures/cons_news.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ $$
137137
so that the variance of the innovation exceeds the variance of the
138138
original shock by a multiplicative factor $\beta^{-2}$.
139139
140-
Representation {eq}`eq2` is the **innovations representation** of equation {eq}`eq1` associated with
140+
Representation {eq}`eqn_2` is the **innovations representation** of equation {eq}`eqn_1` associated with
141141
Kalman filtering theory.
142142
143143
To see how this works, note that equating representations {eq}`eqn_1`
@@ -387,7 +387,7 @@ $$
387387
## Permanent Income Consumption-Smoothing Model
388388
389389
When we computed optimal consumption-saving policies for our two
390-
representations {eq}`eq1` and {eq}`eq2` by using formulas obtained with the difference equation
390+
representations {eq}`eqn_1` and {eq}`eqn_2` by using formulas obtained with the difference equation
391391
approach described in [quantecon lecture](https://python-intro.quantecon.org/perm_income_cons.html),
392392
we obtained:
393393
@@ -437,14 +437,15 @@ Ricardian equivalence experiment.
437437
438438
## State Space Representations
439439
440-
We now cast our representations {eq}`eq1` and {eq}`eq2`, respectively, in terms of the following two state
440+
We now cast our representations {eq}`eqn_1` and {eq}`eqn_2`, respectively, in terms of the following two state
441441
space systems:
442+
442443
$$
443444
\begin{aligned} \begin{bmatrix} y_{t+1} \cr \epsilon_{t+1} \end{bmatrix} &=
444445
\begin{bmatrix} 1 & - \beta^{-1} \cr 0 & 0 \end{bmatrix} \begin{bmatrix} y_t \cr \epsilon_t \end{bmatrix}
445446
+ \begin{bmatrix} \sigma_\epsilon \cr \sigma_\epsilon \end{bmatrix}
446447
v_{t+1} \cr
447-
y_t & = \begin{bmatrix} 1 & 0 \end{bmatrix} \begin{bmatrix} y_t \cr \epsilon_t \end{bmatrix} \end{aligned}
448+
y_t & = \begin{bmatrix} 1 & 0 \end{bmatrix} \begin{bmatrix} y_t \cr \epsilon_t \end{bmatrix} \end{aligned}
448449
$$ (eqstsp1)
449450
450451
and
@@ -469,7 +470,9 @@ All the code that we shall use below is presented in that lecture.
469470
## Computations
470471
471472
We shall use Python to form two state-space
472-
representations {eq}`eqstsp1` and {eq}`eqstsp2`, using the following parameter values
473+
representations {eq}`eqstsp1` and {eq}`eqstsp2`.
474+
475+
We set the following parameter values
473476
$\sigma_\epsilon = 1, \sigma_a = \beta^{-1} \sigma_\epsilon = \beta^{-1}$
474477
where $\beta$ is the **same** value as the discount factor in the
475478
household’s problem in the LQ savings problem in the [lecture](https://python-intro.quantecon.org/perm_income_cons.html).
@@ -656,9 +659,9 @@ b_{t+1}^{*} &= \beta^{-1}c_{t}^{*}+\beta^{-1}b_{t}-\beta^{-1}y_{t} \\
656659
$$
657660
658661
Now we construct two Linear State Space models that emerge from using
659-
optimal policies $u_t =- F x_t$ for the control variable.
662+
optimal policies of the form $u_t =- F x_t$.
660663
661-
Take the original representation case as an example,
664+
Take the original representation {eq}`eqn_1` as an example:
662665
663666
$$
664667
\left[\begin{array}{c}
@@ -686,8 +689,8 @@ b_{t}
686689
\end{array}\right]
687690
$$
688691
689-
To have the Linear State Space model of the innovations representation
690-
case, we can simply replace the corresponding matrices.
692+
To have the Linear State Space model be of an innovations representation
693+
form {eq}`eqn_2`, we can simply replace the corresponding matrices.
691694
692695
```{code-cell} python3
693696
# Construct two Linear State Space models
@@ -702,7 +705,7 @@ G2 = np.vstack([-F2, Sb])
702705
LSS2 = qe.LinearStateSpace(ABF2, CLQ2, G2)
703706
```
704707
705-
In the following we compute the impulse response functions of
708+
The following code computes impulse response functions of
706709
$c_t$ and $b_t$.
707710
708711
```{code-cell} python3
@@ -729,7 +732,7 @@ plt.legend()
729732
```
730733
731734
The above two impulse response functions show that when the consumer has
732-
the information assumed in the original representation, his response to
735+
the information assumed in the original representation {eq}`eqn_1`, his response to
733736
receiving a positive shock of $\epsilon_t$ is to leave his
734737
consumption unchanged and to save the entire amount of his extra income
735738
and then forever roll over the extra bonds that he holds.
@@ -751,20 +754,20 @@ plt.legend()
751754
752755
The above impulse responses show that when the consumer has only the
753756
information that is assumed to be available under the innovations
754-
representation for $\{y_t - y_{t-1} \}$, he responds to a positive
755-
$a_t$ by permanently increasing his consumption.
757+
representation {eq}`eqn_2` for $\{y_t - y_{t-1} \}$, he responds to a positive
758+
$a_t$ by **permanently** increasing his consumption.
756759
757760
He accomplishes this by consuming a fraction $(1 - \beta^2)$ of
758-
the increment $a_t$ to his nonfinancial income and saving the rest
759-
in order to lower $b_{t+1}$ to finance the permanent increment in
761+
the increment $a_t$ to his nonfinancial income and saving the rest, thereby
762+
lowering $b_{t+1}$ in order to finance the permanent increment in
760763
his consumption.
761764
762765
The preceding computations confirm what we had derived earlier using
763766
paper and pencil.
764767
765768
Now let’s simulate some paths of consumption and debt for our two types
766769
of consumers while always presenting both types with the same
767-
$\{y_t\}$ path, constructed as described below.
770+
$\{y_t\}$ path.
768771
769772
```{code-cell} python3
770773
# Set time length for simulation
@@ -791,30 +794,30 @@ plt.legend()
791794
792795
## Simulating Income Process and Two Associated Shock Processes
793796
794-
We now describe how we form a **single** $\{y_t\}_{t=0}^T$ realization
795-
that we will use to simulate the two different decision rules associated
797+
We now form a **single** $\{y_t\}_{t=0}^T$ realization
798+
that we will use to simulate decisions associated
796799
with our two types of consumer.
797800
798801
We accomplish this in the following steps.
799802
800803
1. We form a $\{y_t, \epsilon_t\}$ realization by drawing a long
801-
simulation of $\{\epsilon_t\}_{t=0}^T$ where $T$ is a big
802-
integer $\epsilon_t = \sigma_\epsilon v_t$, $v_t$ is a
804+
simulation of $\{\epsilon_t\}_{t=0}^T$, where $T$ is a big
805+
integer, $\epsilon_t = \sigma_\epsilon v_t$, $v_t$ is a
803806
standard normal scalar, $y_0 =100$, and
804807
805808
$$
806809
y_{t+1} - y_t =-\beta^{-1} \epsilon_t + \epsilon_{t+1} .
807810
$$
808811
809-
1. We take the **same** $\{y_t\}$ realization generated in step 1
812+
1. We take the $\{y_t\}$ realization generated in step 1
810813
and form an innovation process $\{a_t\}$ from the formulas
811814
812815
$$
813816
\begin{aligned} a_0 & = 0 \cr
814817
a_t & = \sum_{j=0}^{t-1} \beta^j (y_{t-j} - y_{t-j-1}) + \beta^t a_0, \quad t \geq 1 \end{aligned}
815818
$$
816819
817-
1. We throw away the first $S$ observations and form the sample
820+
1. We throw away the first $S$ observations and form a sample
818821
$\{y_t, \epsilon_t, a_t\}_{S+1}^T$ as the realization that
819822
we’ll use in the following steps.
820823
1. We use the step 3 realization to **evaluate** and **simulate** the
@@ -838,7 +841,7 @@ $$
838841
a_{t+1} &=\beta a_{t}+\epsilon_{t+1}-\beta^{-1}\epsilon_{t} \\
839842
&=\beta\left(\beta a_{t-1}+\epsilon_{t}-\beta^{-1}\epsilon_{t-1}\right)+\epsilon_{t+1}-\beta^{-1}\epsilon_{t} \\
840843
&=\beta^{2}a_{t-1}+\beta\left(\epsilon_{t}-\beta^{-1}\epsilon_{t-1}\right)+\epsilon_{t+1}-\beta^{-1}\epsilon_{t} \\
841-
&=\cdots \\
844+
&=\vdots \\
842845
&=\beta^{t+1}a_{0}+\sum_{j=0}^{t}\beta^{j}\left(\epsilon_{t+1-j}-\beta^{-1}\epsilon_{t-j}\right) \\
843846
&=\beta^{t+1}a_{0}+\epsilon_{t+1}+\left(\beta-\beta^{-1}\right)\sum_{j=0}^{t-1}\beta^{j}\epsilon_{t-j}-\beta^{t-1}\epsilon_{0}.
844847
\end{aligned}

lectures/smoothing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ This lecture describes two types of consumption-smoothing models.
4343
* one is in the **complete markets** tradition of [Kenneth Arrow](https://en.wikipedia.org/wiki/Kenneth_Arrow)
4444
* the other is in the **incomplete markets** tradition of Hall {cite}`Hall1978`
4545

46-
*Complete markets* allow a consumer to buy or sell claims contingent on all possible states of the world.
46+
*Complete markets* allow a consumer to buy and sell claims contingent on all possible states of the world.
4747

48-
*Incomplete markets* allow a consumer to buy or sell only a limited set of securities, often only a single risk-free security.
48+
*Incomplete markets* allow a consumer to buy and sell a limited set of securities, often only a single risk-free security.
4949

5050
Hall {cite}`Hall1978` worked in an incomplete markets tradition by assuming
51-
that the only asset that can be traded is a risk-free one period bond.
51+
that the only asset that can be traded is a risk-free one-period bond.
5252

5353
Hall assumed an exogenous stochastic process of nonfinancial income and
5454
an exogenous and time-invariant gross interest rate on one period risk-free debt that equals
@@ -60,10 +60,10 @@ consumption at time $t+1$ for sure.
6060

6161
So $\beta$ is the price of a one-period risk-free claim to consumption next period.
6262

63-
We maintain Hall's assumption about the interest rate when we describe an
63+
We preserve Hall's assumption about the interest rate when we describe an
6464
incomplete markets version of our model.
6565

66-
In addition, we extend Hall's assumption about the risk-free interest rate to its appropriate counterpart when we create another model in which there are markets
66+
In addition, we extend Hall's assumption about the risk-free interest rate to an appropriate counterpart when we create another model in which there are markets
6767
in a complete array of one-period Arrow state-contingent securities.
6868

6969
We'll consider two closely related but distinct alternative assumptions about the consumer's
@@ -113,7 +113,7 @@ payoffs depend on next period's realization of the Markov state.
113113

114114
* In the two-state Markov chain case, two such securities are traded each period.
115115
* In an $N$ state Markov state version, $N$ such securities are traded each period.
116-
* In a continuous state Markov state version, a continuum of such securities are traded each period.
116+
* In a continuous state Markov state version, a continuum of such securities is traded each period.
117117

118118
These state-contingent securities are commonly called Arrow securities, after [Kenneth Arrow](https://en.wikipedia.org/wiki/Kenneth_Arrow).
119119

0 commit comments

Comments
 (0)