new features
- Add the new family
hurdle_lognormal
specifically suited for zero-inflated continuous responses. - Introduce the
pp_check
method to perform
various posterior predictive checks
using thebayesplot
package. - Introduce the
marginal_smooths
method to
better visualize smooth terms. - Allow varying the scale of global shrinkage
parameter of thehorseshoe
prior. - Add functions
prior
andprior_string
as aliases ofset_prior
, the former
allowing to pass arguments without quotes""
using non-standard evaluation. - Introduce four new vignettes explaining how to fit
non-linear models, distributional models, phylogenetic models,
and monotonic effects respectively. - Extend the
coef
method to better
handle category specific group-level effects. - Introduce the
prior_summary
method
forbrmsfit
objects to obtain a summary
of prior distributions applied. - Sample from the prior of the original population-level
intercept whensample_prior = TRUE
even in models
with an internal temporary intercept used to improve
sampling efficiency. - Introduce methods
posterior_predict
,
predictive_error
andlog_lik
as
(partial) aliases ofpredict
,residuals
,
andlogLik
respectively.
other changes
- Improve computation of Bayes factors
in thehypothesis
method to be less
influenced by MCMC error. - Improve documentation of default priors.
- Refactor internal structure of some
formula and prior evaluating functions.
This should not have any user visible effects. - Use the
bayesplot
package as the
new backend ofplot.brmsfit
.
bug fixes
- Better mimic
mgcv
when parsing smooth terms
to make sure all arguments are correctly handled. - Avoid an error occuring during the prediction
of new data when grouping factors with only a single
factor level were supplied thanks to Tom Wallis. - Fix
marginal_effects
to consistently
produce plots for all covariates in non-linear models
thanks to David Auty. - Improve the
update
method to better recognize
situations where recompliation of theStan
code
is necessary thanks to Raphael P.H. - Allow to correctly
update
thesample_prior
argument to value"only"
. - Fix an unexpected error occuring in many S3 methods
when the thinning rate is not a divisor of the total
number of posterior samples thanks to Paul Zerr.