new features
- Implement generalized non-linear models, which
can be specified with the help of thenonlinear
argument inbrm
. - Compute and plot marginal effects using the
marginal_effects
method thanks to the help
of Ruben Arslan. - Implement zero-inflated beta models through
familyzero_inflated_beta
thanks to the
idea of Ali Roshan Ghias. - Allow to restrict domain of fixed effects and
autocorrelation parameters using new arguments
lb
andub
in functionset_prior
thanks to the idea of Joel Gombin. - Add an
as.mcmc
method for compatibility
with thecoda
package. - Allow to call the
WAIC
,LOO
,
andlogLik
methods with new data.
other changes
- Make sure that
brms
is fully compatible
withloo
version 0.1.5. - Optionally define the intercept
as an ordinary fixed effect to avoid the
reparametrization via centering of the
fixed effects design matrix. - Do not compute the WAIC in
summary
by default anymore to reduce computation time
of the method for larger models. - The
cauchy
family is now deprecated
and will be removed soon as it often has convergence
issues and not much practical application anyway. - Change the default settings of the number of
chains and warmup samples to the defaults ofrstan
(i.e.,chains = 4
andwarmup = iter / 2
). - Do not remove bad behaving chains anymore as
they may point to general convergence problems that
are dangerous to ignore. - Improve flexibility of the
theme
argument
in all plotting functions. - Only show the legend once per page, when computing
trace and density plots with theplot
method. - Move code of self-defined
Stan
functions
toinst/chunks
and incorporate them into the
models usingrstan::stanc_builder
.
Also, add unit tests for these functions.
bug fixes
- Fix problems when predicting with
newdata
for zero-inflated and hurdle models thanks to Ruben Arslan. - Fix problems when predicting with
newdata
if it is a subset of the data stored in a
brmsfit
object thanks to Ruben Arslan. - Fix data preparation for multivariate models
if some responses areNA
thanks to Raphael Royaute. - Fix a bug in the
predict
method occurring
for some multivariate models so that it now always
returns the predictions of all response variables,
not just the first one. - Fix a bug in the log-likelihood computation of
hurdle_poisson
andhurdle_negbinomial
models.
This may lead to minor changes in the values obtained by
WAIC
andLOO
for these models. - Fix some backwards compatibility issues of models fitted
with version <= 0.5.0 thanks to Ulf Koether.