Skip to content

Commit 0ac5d3f

Browse files
committed
Deploying to gh-pages from @ 918b349 🚀
1 parent 4935b9e commit 0ac5d3f

18 files changed

Lines changed: 83 additions & 48 deletions

dev/articles/approx-inference.html

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

dev/articles/approx-inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ paths), it does not appear to be working currently[³](#fn3).
203203
``` r
204204
t <- proc.time()
205205
fit_pathfinder <- epidist(
206-
data = data, algorithm = "pathfinder", draws = 4000, num_paths = 1,
206+
data = data, algorithm = "pathfinder", draws = 4000, chains = 1,
207207
backend = "cmdstanr"
208208
)
209209
time_pathfinder <- proc.time() - t

dev/articles/ebola.html

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

dev/articles/ebola.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ fit <- epidist(
246246
)
247247
#> Running MCMC with 2 parallel chains...
248248
#> Chain 2 finished in 6.4 seconds.
249-
#> Chain 1 finished in 7.4 seconds.
249+
#> Chain 1 finished in 7.3 seconds.
250250
#>
251251
#> Both chains finished successfully.
252252
#> Mean chain execution time: 6.9 seconds.
@@ -300,11 +300,11 @@ fit_sex <- epidist(
300300
backend = "cmdstanr"
301301
)
302302
#> Running MCMC with 2 parallel chains...
303-
#> Chain 2 finished in 14.9 seconds.
303+
#> Chain 2 finished in 14.6 seconds.
304304
#> Chain 1 finished in 15.2 seconds.
305305
#>
306306
#> Both chains finished successfully.
307-
#> Mean chain execution time: 15.0 seconds.
307+
#> Mean chain execution time: 14.9 seconds.
308308
#> Total execution time: 15.3 seconds.
309309
```
310310

@@ -364,12 +364,12 @@ fit_sex_district <- epidist(
364364
backend = "cmdstanr"
365365
)
366366
#> Running MCMC with 2 parallel chains...
367-
#> Chain 2 finished in 209.6 seconds.
368-
#> Chain 1 finished in 221.5 seconds.
367+
#> Chain 2 finished in 208.2 seconds.
368+
#> Chain 1 finished in 219.6 seconds.
369369
#>
370370
#> Both chains finished successfully.
371-
#> Mean chain execution time: 215.6 seconds.
372-
#> Total execution time: 221.6 seconds.
371+
#> Mean chain execution time: 213.9 seconds.
372+
#> Total execution time: 219.8 seconds.
373373
```
374374

375375
**As this is a longer running model (~ 2 minutes) we have reduced the

dev/articles/epidist.html

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

dev/articles/epidist.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ summary(naive_fit)
653653
#>
654654
#> Regression Coefficients:
655655
#> Estimate Est.Error l-95% CI u-95% CI Rhat Bulk_ESS Tail_ESS
656-
#> Intercept 1.42 0.03 1.35 1.48 1.00 3165 2542
657-
#> sigma_Intercept -0.76 0.05 -0.85 -0.65 1.00 3477 2652
656+
#> Intercept 1.42 0.03 1.35 1.48 1.00 3457 2688
657+
#> sigma_Intercept -0.75 0.05 -0.85 -0.66 1.00 3465 2362
658658
#>
659659
#> Draws were sampled using sampling(NUTS). For each parameter, Bulk_ESS
660660
#> and Tail_ESS are effective sample size measures, and Rhat is the potential
@@ -762,8 +762,8 @@ summary(marginal_fit)
762762
#>
763763
#> Regression Coefficients:
764764
#> Estimate Est.Error l-95% CI u-95% CI Rhat Bulk_ESS Tail_ESS
765-
#> Intercept 1.55 0.05 1.47 1.64 1.00 1960 2120
766-
#> sigma_Intercept -0.69 0.07 -0.82 -0.55 1.00 2018 2124
765+
#> Intercept 1.55 0.05 1.47 1.65 1.00 2168 2146
766+
#> sigma_Intercept -0.70 0.07 -0.82 -0.56 1.00 2021 2436
767767
#>
768768
#> Draws were sampled using sampling(NUTS). For each parameter, Bulk_ESS
769769
#> and Tail_ESS are effective sample size measures, and Rhat is the potential
@@ -793,12 +793,12 @@ predicted_parameters <- list(marginal = marginal_fit, naive = naive_fit) |>
793793

794794
head(predicted_parameters)
795795
#> model draw index mu sigma mean sd
796-
#> 1 marginal 1 1 1.566985 0.4970624 5.422304 2.870597
797-
#> 2 marginal 2 1 1.564414 0.5330268 5.509494 3.158191
798-
#> 3 marginal 3 1 1.593435 0.5235678 5.643455 3.169276
799-
#> 4 marginal 4 1 1.635225 0.5641058 6.015457 3.682090
800-
#> 5 marginal 5 1 1.606278 0.5821182 5.904467 3.749914
801-
#> 6 marginal 6 1 1.616848 0.5903586 5.996104 3.871893
796+
#> 1 marginal 1 1 1.606125 0.4812171 5.595204 2.856172
797+
#> 2 marginal 2 1 1.518663 0.4693530 5.097801 2.530692
798+
#> 3 marginal 3 1 1.516017 0.5020221 5.165648 2.765575
799+
#> 4 marginal 4 1 1.604855 0.5498854 5.789475 3.440074
800+
#> 5 marginal 5 1 1.525693 0.4404084 5.066616 2.344082
801+
#> 6 marginal 6 1 1.507987 0.4889513 5.091251 2.645843
802802
```
803803

804804
Note that by default

dev/articles/faq.html

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

dev/articles/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ epidist_diagnostics(fit)
207207
## # A tibble: 1 × 8
208208
## time samples max_rhat divergent_transitions per_divergent_transitions
209209
## <dbl> <dbl> <dbl> <dbl> <dbl>
210-
## 1 2.55 1000 1.00 0 0
210+
## 1 2.52 1000 1.00 0 0
211211
## # ℹ 3 more variables: max_treedepth <dbl>, no_at_max_treedepth <int>,
212212
## # per_at_max_treedepth <dbl>
213213

-1.65 KB
Loading
7.4 KB
Loading

0 commit comments

Comments
 (0)