@@ -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
348348By 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
353353W_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
358358Moreover, 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