brms 1.0.0
This is one of the largest updates of brms since its initial release. In addition to many new features, the multivariate 'trait' syntax has been removed from the package as it was confusing for users, required much special case coding, and was hard to maintain. See help(brmsformula) for details of the formula syntax applied in brms.
new features
- Allow estimating correlations between
group-level effects defined across multiple formulae
(e.g., in non-linear models) by specifying IDs in
each grouping term via an extendedlme4syntax. - Implement distributional regression models
allowing to fully predict auxiliary parameters
of the response distribution. Among many other
possibilities, this can be used to model
heterogeneity of variances. - Zero-inflated and hurdle models do not use
multivariate syntax anymore but instead have
special auxiliary parameters namedziand
hudefining zero-inflation / hurdle probabilities. - Implement the
von_misesfamily to model
circular responses. - Introduce the
brmsfamilyfunction for
convenient specification offamilyobjects. - Allow predictions of
t2smoothing
terms for new data. - Feature vectors as arguments for the addition
argumenttruncin order to model varying
truncation points.
other changes
- Remove the
cauchyfamily
after several months of deprecation. - Make sure that group-level parameter names
are unambiguous by adding double underscores
thanks to the idea of the GitHub user schmettow. - The
predictmethod now returns predicted
probabilities instead of absolute frequencies of
samples for ordinal and categorical models. - Compute the linear predictor in the model
block of the Stan program instead of in the
transformed parameters block. This avoids saving
samples of unnecessary parameters to disk.
Thanks goes to Rick Arrano for pointing me
to this issue. - Colour points in
marginal_effectsplots if
sensible. - Set the default of the
robustargument
toTRUEinmarginal_effects.brmsfit.
bug fixes
- Fix a bug that could occur when predicting
factorial response variables for new data.
Only affects categorical and ordinal models. - Fix a bug that could lead to duplicated
variable names in the Stan code when sampling
from priors in non-linear models thanks to Tom Wallis. - Fix problems when trying to pointwise
evaluate non-linear formulae in
logLik.brmsfitthanks to Tom Wallis. - Ensure full compatibility of the
ranef
andcoefmethods with non-linear models. - Fix problems that occasionally occured when
handlingdplyrdatasets thanks to the
GitHub user Atan1988.