Skip to content

Commit bbdf50e

Browse files
committed
Deploying to gh-pages from @ be1f129 🚀
1 parent c9fbb81 commit bbdf50e

19 files changed

Lines changed: 175 additions & 4 deletions

articles/Chapter05.html

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

articles/Chapter05.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ variance.
4545

4646
``` r
4747
library("BayesianLearningCode")
48+
#>
49+
#> Attaching package: 'BayesianLearningCode'
50+
#> The following object is masked from 'package:datasets':
51+
#>
52+
#> cars
4853
posteriorjoint <- function(mu, sigma2, ybar, s2, N) {
4954
dnorm(mu, ybar, sqrt(sigma2 / N)) *
5055
dinvgamma(sigma2, (N - 1) / 2, N * s2 / 2)

articles/Chapter06.html

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

articles/Chapter06.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ version of the one provided by Lehrer and Xi (2017).
1010

1111
``` r
1212
library("BayesianLearningCode")
13+
#>
14+
#> Attaching package: 'BayesianLearningCode'
15+
#> The following object is masked from 'package:datasets':
16+
#>
17+
#> cars
1318
data("movies", package = "BayesianLearningCode")
1419
```
1520

articles/Chapter07.html

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/Chapter07.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ standard regression model, using the tools developed in Chapter 6.
3838

3939
``` r
4040
library("BayesianLearningCode")
41+
#>
42+
#> Attaching package: 'BayesianLearningCode'
43+
#> The following object is masked from 'package:datasets':
44+
#>
45+
#> cars
4146
library("mvtnorm")
4247

4348
regression <- function(y, X, prior = "improper", b0 = 0, B0 = 1, c0 = 0.01,
@@ -1539,7 +1544,7 @@ legend("topleft", col = 2:6, lty = 1,
15391544
legend("topright", col = 1, lty = 1:2,
15401545
legend = c("female", "male"))
15411546
plot(c(0.03, 0.23), c(0, 90), type = "n", xlab = "", ylab = "",
1542-
main = "Posterior of transition probabilities")
1547+
main = "Posterior of selected transition probabilities")
15431548
trans_female <- cbind((1 + N_female)[cbind(1:5, 2:6)],
15441549
rowSums(1 + N_female)[1:5] - (1 + N_female)[cbind(1:5, 2:6)])
15451550
trans_male <- cbind((1 + N_male)[cbind(1:5, 2:6)],
401 Bytes
Loading

articles/Chapter08.html

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

articles/Chapter08.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ We illustrate probit regression analysis for the labor market data.
1010

1111
``` r
1212
library("BayesianLearningCode")
13+
#>
14+
#> Attaching package: 'BayesianLearningCode'
15+
#> The following object is masked from 'package:datasets':
16+
#>
17+
#> cars
1318
data("labor", package = "BayesianLearningCode")
1419
```
1520

articles/Chapter09.html

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

0 commit comments

Comments
 (0)