Skip to content

Commit 31a56e1

Browse files
jstacclaude
andcommitted
Fix duplicate equation labels in ifp_egm_transient_shocks
- Rename equation labels to avoid conflicts with ifp_egm.md: - eqst → eqst_ts - eqeul1 → eqeul1_ts - cfequ → cfequ_ts - Update all references to use new labels 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8421076 commit 31a56e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lectures/ifp_egm_transient_shocks.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ $$
7474
subject to
7575

7676
```{math}
77-
:label: eqst
77+
:label: eqst_ts
7878
7979
a_{t+1} = R (a_t - c_t) + Y_{t+1}
8080
\quad c_t \geq 0,
@@ -107,7 +107,7 @@ The functional Euler equation has the form
107107

108108

109109
```{math}
110-
:label: eqeul1
110+
:label: eqeul1_ts
111111
112112
(u' \circ \sigma) (a, z)
113113
= \beta R \, \sum_{z'} \int (u' \circ \sigma)
@@ -121,9 +121,9 @@ Here
121121
* $\phi$ is the density of the shock $\eta_t$ (standard normal), and
122122
* $\sigma$ is the unknown function.
123123

124-
The equality {eq}`eqeul1` holds at all interior choices, meaning $\sigma(a, z) < a$.
124+
The equality {eq}`eqeul1_ts` holds at all interior choices, meaning $\sigma(a, z) < a$.
125125

126-
We aim to find a fixed point $\sigma$ of {eq}`eqeul1`.
126+
We aim to find a fixed point $\sigma$ of {eq}`eqeul1_ts`.
127127

128128
To do so we use the EGM.
129129

@@ -137,7 +137,7 @@ For each exogenous savings level $s_i$ with $i \geq 1$ and current state $z_j$,
137137

138138

139139
```{math}
140-
:label: cfequ
140+
:label: cfequ_ts
141141
142142
c_{ij} := (u')^{-1}
143143
\left[
@@ -239,7 +239,7 @@ In practice, it takes in
239239
These are converted into a consumption policy $a \mapsto \sigma(a, z_j)$ by
240240
linear interpolation of $(a^e_{ij}, c_{ij})$ over $i$ for each $j$.
241241

242-
When we compute consumption in {eq}`cfequ`, we will use Monte Carlo over
242+
When we compute consumption in {eq}`cfequ_ts`, we will use Monte Carlo over
243243
$\eta'$, so that the expression becomes
244244

245245
```{math}

0 commit comments

Comments
 (0)