Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
brms 2.21.0 source code.tar.gz | 2024-03-19 | 5.5 MB | |
brms 2.21.0 source code.zip | 2024-03-19 | 5.8 MB | |
README.md | 2024-03-19 | 2.2 kB | |
Totals: 3 Items | 11.3 MB | 0 |
New Features
- Add experimental support for the
pathfinder
andlaplace
algorithms in thecmdstanr
backend. (#1591) - Automatically recompute fit criteria previously stored in the model if potentially results-changing arguments are provided to the criterion method.
- Allow to turn off automatic broadcasting of
constant
priors. - Allow for joint likelihood evaluation in
kfold
via argumentjoint
. - Use several Stan built-in functions implemented since version 2.26 to improve the efficiency of multiple model classes. (#1077)
Other Changes
- Change
make_stancode
andmake_standata
to be aliases ofstancode
andstandata
, respectively. Changeget_prior
to be an alias of a new generic methoddefault_prior
. This enable other packages to define newstancode
,standata
anddefault_prior
methods to generate Stan code and data, and extract the default priors, for their own objects building on brms. Thanks to Ven Popov for helping with this. (#1604) - Change the default prior of the
shape
parameter ofnegbinomial
models toinv_gamma(0.4, 0.3)
thanks to Aki Vehtari. (#1614) - No longer automatically canonicalize the Stan code if cmdstanr is used as backend. (#1544)
- Export
read_csv_as_stanfit
thanks to Ven Popov. (#1619) - Make installation of
shinystan
optional. This means that the package has to be loaded, vialibrary(shinystan)
, beforelaunch_shinystan
can be used. (#1595) - Improve parameter class names in the
summary
output. - Show histograms rather than densities in the
plot
method by default. - Deprecate argument
N
in theplot
method in favor of argumentnvariables
. - Remove deprecated argument
exact_loo
in methodkfold
.
Bug Fixes
- Remove some remaining uses of Stan's old array syntax.
- Fix a bug in formula parsing of missing values terms with interactions thank to Guido Biele. (#1608)
- Ensure compatibility of
combine_models
with moment matching. (#1603) - Ensure compatibility with the latest
splines2
package version. (#1580) - Fix output of
rmulti_normal
thanks to Ven Popov. (#1588) - Prevent memory leaks when executing
kfold
orreloo
in parallel.