From 182f1c9e1707127a3ad7f6a72cbb057977d5197d Mon Sep 17 00:00:00 2001 From: athowes Date: Thu, 21 Nov 2024 11:35:44 +0000 Subject: [PATCH] Small edits to approximate inference vignette --- vignettes/approx-inference.Rmd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vignettes/approx-inference.Rmd b/vignettes/approx-inference.Rmd index 14a816e4e..819992611 100644 --- a/vignettes/approx-inference.Rmd +++ b/vignettes/approx-inference.Rmd @@ -102,7 +102,9 @@ library(tidybayes) library(cmdstanr) # nolint ``` -To access the approximate inference methods used in this vignette we will need to use the `cmdstanr` backend for `brms` (we generally recommend using this backend for fitting models). To do this, we first need to install CmdStan (see the README for more details). We can check we have everything we need as follows: +To access the approximate inference methods used in this vignette we will need to use the `cmdstanr` backend for `brms` (we generally recommend using this backend for fitting models). +To do this, we first need to install CmdStan (see the README for more details). +We can check we have everything we need as follows: ```{r} cmdstanr::cmdstan_version() @@ -262,7 +264,7 @@ pmap_df( ## Comparison of time taken -In this example, HMC took much longer than the other methods, with Pathfinder being the fastest method. +In this example, HMC took a longer time to run than the other methods and Pathfinder was the fastest running method. That said, even for HMC the computation time in this case is unlikely to be prohibitive. ```{r}