GitHub

Original file line numberDiff line numberDiff line change

@@ -710,7 +710,10 @@ $[w_0^1, w_0^2, w_1^1(\epsilon), w_1^2(\epsilon), \theta_0^1, \theta_0^2 ]$.

710710

**Remark:** Multiple arrangements of endowments

711711

$[w_0^1, w_0^2, w_1^1(\epsilon), w_1^2(\epsilon), \theta_0^1, \theta_0^2 ]$

712712

associated with the same distribution of wealth $\eta$. Can you explain why?

713-

**Hint:** Think about the portfolio indeterminacy finding above.

713+
714+

```{hint}

715+

Think about the portfolio indeterminacy finding above.

716+

```

714717
715718

### Modigliani-Miller theorem

716719
Original file line numberDiff line numberDiff line change

@@ -1194,13 +1194,15 @@ Then let's use the plots to investigate how these densities evolve through time

11941194
11951195

We will plot the densities of $\log {\widetilde M}_t$ for different values of $t$.

11961196
1197-

Note: `scipy.stats.lognorm` expects you to pass the standard deviation

1197+

```{note}

1198+

`scipy.stats.lognorm` expects you to pass the standard deviation

11981199

first $(tH \cdot H)$ and then the exponent of the mean as a

11991200

keyword argument `scale` (`scale=np.exp(-t * H2 / 2)`).

12001201
12011202

* See the documentation [here](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.lognorm.html#scipy.stats.lognorm).

12021203
12031204

This is peculiar, so make sure you are careful in working with the log normal distribution.

1205+

```

12041206
12051207

Here is some code that tackles these tasks

12061208
Original file line numberDiff line numberDiff line change

@@ -993,10 +993,12 @@ so no robustness to alternative distributions is acquired.

993993
994994

As $\theta$ is lowered, more robustness is achieved.

995995
996-

**Note:** The ${\sf T}$ operator is sometimes called a

996+

```{note}

997+

The ${\sf T}$ operator is sometimes called a

997998

*risk-sensitivity* operator.

999+

```

9981000
999-

We shall apply ${\sf T}$to the special case of a linear value

1001+

We shall apply ${\sf T}$ to the special case of a linear value

10001002

function $w'(\vec r - r_f 1)$

10011003

where $\vec r - r_f 1 \sim {\mathcal N}(\mu,\Sigma)$ or

10021004

$\vec r - r_f {\bf 1} = \mu + C \epsilon$ and

Original file line numberDiff line numberDiff line change

@@ -903,9 +903,11 @@ is a symptom of time inconsistency.

903903

past utilities and to reoptimize at date $t \geq 1$ would, if allowed, want

904904

to deviate from a Ramsey plan.

905905
906-

**Note:** A modified Ramsey plan constructed under the restriction that

906+

```{note}

907+

A modified Ramsey plan constructed under the restriction that

907908

$\mu_t$ must be constant over time is time consistent (see

908909

$\check \mu$ and $\check \theta$ in the above graphs).

910+

```

909911
910912

### Meaning of Time Inconsistency

911913
Original file line numberDiff line numberDiff line change

@@ -440,10 +440,10 @@ For $R$ we set $R[s, a] = u(s - a)$ if $a \leq s$ and $-\infty$ otherwise.

440440
441441

For $Q$ we follow the rule in {eq}`ddp_def_ogq`.

442442
443-

Note:

444-
443+

```{note}

445444

* The feasibility constraint is embedded into $R$ by setting $R[s, a] = -\infty$ for $a \notin A(s)$.

446445

* Probability distributions for $(s, a)$ with $a \notin A(s)$ can be arbitrary.

446+

```

447447
448448

The following code sets up these objects for us

449449
Original file line numberDiff line numberDiff line change

@@ -1147,7 +1147,9 @@ the recursive formulation of the follower problem.

11471147
11481148

Can you spot what features of $\tilde F$ imply this?

11491149
1150-

Hint: remember the components of $X_t$

1150+

```{hint}

1151+

Remember the components of $X_t$

1152+

```

11511153
11521154

```{code-cell} python3

11531155

# Policy function in the follower's problem

Original file line numberDiff line numberDiff line change

@@ -207,7 +207,9 @@ $$

207207
208208

can be computed by `np.abs(fft(X))**2 / len(X)`.

209209
210-

Note: The NumPy function `abs` acts elementwise, and correctly handles complex numbers (by computing their modulus, which is exactly what we need).

210+

```{note}

211+

The NumPy function `abs` acts elementwise, and correctly handles complex numbers (by computing their modulus, which is exactly what we need).

212+

```

211213
212214

A function called `periodogram` that puts all this together can be found [here](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/estspec.py).

213215
Original file line numberDiff line numberDiff line change

@@ -1029,7 +1029,9 @@ Express the solution in the "feedback form" {eq}`onefifteen`, giving numerical v

10291029
10301030

Make sure that the boundary conditions {eq}`onefive` are satisfied.

10311031
1032-

(Note: this problem differs from the problem in the text in one important way: instead of $h > 0$ in {eq}`oneone`, $h = 0$. This has an important influence on the solution.)

1032+

```{note}

1033+

This problem differs from the problem in the text in one important way: instead of $h > 0$ in {eq}`oneone`, $h = 0$. This has an important influence on the solution.

1034+

```

10331035
10341036

```{exercise-end}

10351037

```

Original file line numberDiff line numberDiff line change

@@ -345,7 +345,9 @@ We now show that

345345

1. For any $f \in cb\mathbb{R}_+$, the sequence $T^k f$ converges

346346

uniformly to $f^*$.

347347
348-

(Note: If you find the mathematics heavy going you can take 1--2 as given and skip to the {ref}`next section <lt_comp_eg>`)

348+

```{note}

349+

If you find the mathematics heavy going you can take 1--2 as given and skip to the {ref}`next section <lt_comp_eg>`

350+

```

349351
350352

Recall the [Banach contraction mapping theorem](https://en.wikipedia.org/wiki/Banach_fixed-point_theorem).

351353
Original file line numberDiff line numberDiff line change

@@ -122,10 +122,12 @@ $$

122122
123123

is an IID process.

124124
125-

**Note:** A property of the state-space representation {eq}`state-space` is that in

125+

```{note}

126+

A property of the state-space representation {eq}`state-space` is that in

126127

general neither $\epsilon_{1,t}$ nor $\epsilon_{2,t}$ is in

127128

the space spanned by square-summable linear combinations of

128129

$y_t, y_{t-1}, \ldots$.

130+

```

129131
130132

In general

131133

$\begin{bmatrix} \epsilon_{1,t} \cr \epsilon_{2t} \end{bmatrix}$

@@ -146,10 +148,14 @@ time-invariant *innovations representation*

146148

where $\hat x_t = E [x_t | y_{t-1}, y_{t-2}, \ldots ]$ and

147149

$a_t = y_t - E[y_t |y_{t-1}, y_{t-2}, \ldots ]$.

148150
149-

**Note:** A key property about an *innovations representation* is that

151+

```{note}

152+
153+

A key property about an *innovations representation* is that

150154

$a_t$ is in the space spanned by square summable linear

151155

combinations of $y_t, y_{t-1}, \ldots$.

152156
157+

```

158+
153159

For more ramifications of this property, see the lectures {doc}`Shock Non-Invertibility <hs_invertibility_example>` and

154160

{doc}`Recursive Models of Dynamic Linear Economies <hs_recursive_models>`.

155161

Read the original on github.com ↗