Skip to content

Commit 057a1ae

Browse files
committed
Deploying to gh-pages from @ f12c9ce 🚀
1 parent 3f1b8fd commit 057a1ae

7 files changed

Lines changed: 7 additions & 9 deletions

File tree

-123 Bytes
Loading
1 Byte
Loading
-22 Bytes
Loading

articles/Chapter09.html

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/Chapter09.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ legend("topleft", c("Normal", "Student t"), lty = 1:2, col = c(4,2), lwd = 1.5)
225225

226226
### Example 9.9: Predicting yearly maxima for the road safety data
227227

228-
We use a sampling-based approach to obtain draws from posterior
228+
We use a sampling-based approach to obtain draws from the posterior
229229
predictive by first drawing from the posterior
230230
$\mu|{\mathbb{y}} \sim \mathcal{G}\left( a_{N},b_{N} \right)$. Then,
231231
using these draws as mean parameters for the Poisson likelihood, we draw
@@ -345,7 +345,7 @@ We compute the one-step-ahead posterior predictive for various AR($p$)
345345
models under the improper prior.
346346

347347
``` r
348-
data(gdp)
348+
data("gdp", package = "BayesianLearningCode")
349349
dat <- gdp[1:which(names(gdp) == "2019-10-01")]
350350
logret <- diff(log(dat))
351351

@@ -374,7 +374,6 @@ for (p in 1:4) {
374374
And we visualize.
375375

376376
``` r
377-
library(BayesianLearningCode)
378377
grid <- seq(min(means - 4 * scales), max(means + 4 * scales), length.out = 100)
379378
plot(grid, dstudt(grid, means[1], scales[1], dfs[1]), type = "l",
380379
ylab = "", xlab = "Quarterly U.S. GDP growth", lwd = 1.5)

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ articles:
1212
Chapter08: Chapter08.html
1313
Chapter09: Chapter09.html
1414
Chapter10: Chapter10.html
15-
last_built: 2026-04-07T10:46Z
15+
last_built: 2026-04-07T16:40Z
1616
urls:
1717
reference: https://gregorkastner.github.io/BayesianLearningCode/reference
1818
article: https://gregorkastner.github.io/BayesianLearningCode/articles

search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)