Skip to content

Commit e09504a

Browse files
committed
fix typo
1 parent cfbc632 commit e09504a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

lectures/ar1_turningpts.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Z_t(\omega) :=
343343
\end{cases}
344344
$$
345345
346-
Here $\omega \in Omega$ is a sequence of events, and $Y_t: \Omega \rightarrow R$ gives $y_t$ according to $\omega$ and the AR(1) process.
346+
Here $\omega \in \Omega$ is a sequence of events, and $Y_t: \Omega \rightarrow R$ gives $y_t$ according to $\omega$ and the AR(1) process.
347347
348348
By Wecker's definition, period $t$ is a turning point, and $Y_{t-2}(\omega) \geq Y_{t-3}(\omega)$ excludes that period $t-1$ is a turning point.
349349
@@ -353,7 +353,7 @@ $$
353353
W_t(\omega):= \inf \{ k\geq 1 \mid Z_{t+k}(\omega) = 1\}
354354
$$
355355
356-
In the following code, we name this statistic *time until the next recession* to distinguish it from another concept of *turning point*.
356+
In the following code, we name this statistic as *time until the next recession* to distinguish it from another concept of *turning point*.
357357
358358
Moreover, the statistic *time until the next severe recession* is defined in a similar way, except the decline between periods is greater than $0.02$.
359359
@@ -644,13 +644,6 @@ def plot_extended_Wecker(
644644
rho_sample = post_samples['rho'][index]
645645
sigma_sample = post_samples['sigma'][index]
646646
647-
# Store outcomes
648-
future_path = jnp.zeros((N, T1))
649-
next_reces = jnp.zeros(N)
650-
severe_rec = jnp.zeros(N)
651-
min_vals = jnp.zeros(N)
652-
next_up_turn, next_down_turn = jnp.zeros(N), jnp.zeros(N)
653-
654647
# Compute path statistics
655648
subkeys = random.split(key, num=N)
656649
def step(carry, n):

0 commit comments

Comments
 (0)