Skip to content

Commit

Permalink
Missing bands
Browse files Browse the repository at this point in the history
  • Loading branch information
jlperla committed Nov 19, 2024
1 parent f8100ee commit 7936332
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions lectures/time_series_models/additive_functionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,8 @@ function plot_martingale_paths(T, mpath, mbounds;
# plot martingale component
ub = mbounds[2, :]
lb = mbounds[1, :]
#plot!(plt, lb, fillrange = ub, alpha = 0.25, color = :magenta, label = "")
plot!(plt, ub, fillrange = lb, alpha = 0.25, color = :magenta, label = "")
plot!(plt, seriestype = :hline, [horline], color = :black,
linestyle = :dash, label = "")
plot!(plt, trange, Matrix(mpath'), linewidth = 0.25, color = :black,
Expand All @@ -662,7 +663,7 @@ For now, we just plot $y_t$ and $x_t$, postponing until later a description of e
---
tags: [remove-cell]
---
Random.seed!(42);
Random.seed!(43);
```

```{code-cell} julia
Expand Down Expand Up @@ -938,12 +939,6 @@ $\widetilde M_t$ of the multiplicative decomposition has a peculiar property.

The following simulation of many paths of $\widetilde M_t$ illustrates this property

```{code-cell} julia
---
tags: [remove-cell]
---
Random.seed!(10021987);
```

```{code-cell} julia
plt = plot_martingales(amf, 12000)
Expand Down

0 comments on commit 7936332

Please sign in to comment.