- Specify a prior
tagfor use in prior sensitivity analysis viapriorsensethanks to Kallioinen. (#1585) - Specify group-level prior weights via argument
pwin multilevelgrandmmterms thanks to Ben Schneider. (#1719) - Fit extended-support Beta models via family
xbetathanks to Ioannis Kosmidis. (#1698) - Add a
seedargument toloo_R2thanks to Marco Colombo. (#1713) - Add family
dirichlet_multinomialto fit overdispersed multinomial data thanks to Tom Peatman. (#1729) - Add the
int_stepR function to match the corresponding Stan function thanks to Daniel Sabanes Bove. (#1734) - Add a new global option
brms.cache_folder, which allows users to define a default directory for saving and loading cached brmsfit objects. Thanks to Sermet Pekin. (#1790)
- Avoid the creation of zombie workers when executing
log_likin parallel thanks to Aki Vehtari and Noa Kallioinen. For now,log_likwill use PSOCK clusters if run in parallel even on Unix systems. To avoid potential speed loss for small models,log_likwill not useoption(mc.cores)anymore. These changes may be reverted once the underlying causes of this issue have been fixed. (#1658) - Align the definition of the R function
step()with the definition in Stan, such thatstep(0) == 1thanks to Daniel Sabanes Bov. (#1734) - Make
read_csv_as_stanfit()storeadapt_deltaandmax_treedepthvalues in$controlso rstan can find these values. Thanks to Tristan Mahr (#1767). - Enable updating argument
data2forbrmsfit_multipleobjects. (#1776) - Fix several other minor bugs.
- Improve sampling efficiency of
beta_binomialmodels. (#1703) - Improve efficiency of non-factorizable log-likelihoods for Student-t models thanks to Seth Axen. (#1820)
- Improve documentation in several places.
- Support different Gaussian process kernels in
gpterms. (#234) - Support stratified
coxmodels via the new addition termbhaz. (#1489) - Support futures for parallelization in the
cmdstanrbackend. (#1684) - Add method
loo_epredthanks to Aki Vehtari. (#1641) - Add priorsense support via
create_priorsense_data.brmsfitthanks to Noa Kallioinen. (#1354) - Vectorize censored log likelihoods in the Stan code when possible. (#1657)
- Force Stan to activate threading without altering the Stan code
via argument
forceof functionthreading. (#1549) - Support moment matching
looprediction methods. (#1674)
- Fix a bug that led to partially duplicated Stan code in multilevel terms thanks to Henrik Singmann. (#1651)
- Fix problems with parallel executions of post-processing functions sometimes leaving unused R instances behind. Thanks to Andrew Johnson, Aki Vehtari, and Noa Kallioinen. (#1658)
- Fix several minor bugs. (#1648, #1644, #1672, #1642, #1634, #1666, #1664)
- Refactor some of the internal code base to avoid evaluating many data-dependent quantities several times. (#1653)
- Smartly access internal functions when evaluating non-linear formulas. (#1635)
- Improve the documentation in several places.
- Make argument
loooptional inloo_moment_match. - Change the output format of
loo_predictandloo_linpredto be more consistent with other post-processing functions.
- Add experimental support for the
pathfinderandlaplacealgorithms in thecmdstanrbackend. (#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
constantpriors. - Allow for joint likelihood evaluation in
kfoldvia argumentjoint. - Use several Stan built-in functions implemented since version 2.26 to improve the efficiency of multiple model classes. (#1077)
- Change
make_stancodeandmake_standatato be aliases ofstancodeandstandata, respectively. Changeget_priorto be an alias of a new generic methoddefault_prior. This enable other packages to define newstancode,standataanddefault_priormethods 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
shapeparameter ofnegbinomialmodels 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_stanfitthanks to Ven Popov. (#1619) - Make installation of
shinystanoptional. This means that the package has to be loaded, vialibrary(shinystan), beforelaunch_shinystancan be used. (#1595) - Improve parameter class names in the
summaryoutput. - Show histograms rather than densities in the
plotmethod by default. - Deprecate argument
Nin theplotmethod in favor of argumentnvariables. - Remove deprecated argument
exact_looin methodkfold.
- 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_modelswith moment matching. (#1603) - Ensure compatibility with the latest
splines2package version. (#1580) - Fix output of
rmulti_normalthanks to Ven Popov. (#1588) - Prevent memory leaks when executing
kfoldorrelooin parallel.
- Switch to the new array syntax of Stan. This increases the version requirements of Stan to >= 2.26.
- Apply the
horseshoeandR2D2priors globally, that is, for all additive predictor terms specified in the same formula. (#1492) - Use
as.brmspriorto transform objects into abrmsprior. (#1491) - Use matrix data as non-linear covariates. (#1488)
- No longer support the
lassoprior as it is not a good shrinkage prior and incompatible with the newly implemented global shrinkage prior framework. - No longer support multiple deprecated prior options for categorical and multivariate models after around 3 years of deprecation. (#1420)
- Deprecate argument
newdataofget_refmodel.brmsfit(). (#1502) - Disallow binomial models without
trialsargument after several years of deprecation. (#1501)
- Fix a long-standing bug in the post-processing of spline models that could
lead to non-sensible results if predictions were performed on a different
machine than where the model was originally fitted. Old spline models can be
repaired via
restructure. Special thanks to Simon Wood, Ruben Arslan, Marta Kołczyńska, Patrick Hogan, and Urs Kalbitzer. (#1465) - Fix a bunch of minor issues occurring for rare feature combinations.
- Model unstructured autocorrelation matrices via the
unstrterm thanks to the help of Sebastian Weber. (#1435) - Model ordinal data with an extra category (non-response or similar)
via the
hurdle_cumulativefamily thanks to Stephen Wild. (#1448) - Improve user control over model recompilation via argument
recompilein post-processing methods that require a compiled Stan model. - Extend control over the
point_estimatefeature inprepare_predictionsvia the new argumentndraws_point_estimate. - Add support for the latent projection available in projpred versions >= 2.4.0. (#1451)
- Fix a Stan syntax error in threaded models with
lassopriors. (#1427) - Fix Stan compilation issues for some of the more special
link functions such as
cauchitorsoftplus. - Fix a bug for predictions in projpred, previously requiring more variables
in
newdatathan necessary. (#1457, #1459, #1460)
- Support regression splines with fixed degrees of freedom
specified via
s(..., fx = TRUE). - Reuse user-specified control arguments originally passed
to the Stan backend in
updateand related methods. (#1373, #1378) - Allow to retain unused factors levels via
drop_unused_levels = FALSEinbrmand related functions. (#1346) - Automatically update old default priors based on new input when
when updating models via
update.brmsfit. (#1380) - Allow to use
dirichletpriors for more parameter types. (#1165)
- Improve efficiency of converting models fitted with
backend = "cmdstanr"tostanfitobjects thanks to Simon Mills and Jacob Socolar. (#1331) - Allow for more
O1optimization of brms-generated Stan models thanks to Aki Vehtari. (#1382)
- Fix problems with missing boundaries of
sdmeparameters in models with known response standard errors thanks to Solomon Kurz. (#1348) - Fix Stan code of
gammamodels withsoftpluslink. - Allow for more flexible data inputs to
brm_multiple. (#1383) - Ensure that
control_paramsreturns the right values for models fitted with thecmdstanrbackend. (#1390) - Fix problems in multivariate spline models when using
the
subsetaddition term. (#1385)
- Add full user control for boundaries of most parameters via the
lbandubarguments ofset_priorand related functions. (#878, #1094) - Add family
logistic_normalfor simplex responses. (#1274) - Add argument
future_argstokfoldandreloofor additional control over parallel execution via futures. - Add families
beta_binomial&zero_inflated_beta_binomialfor potentially over-dispersed and zero-inflated binomial response models thanks to Hayden Rabel. (#1319 & #1311) - Display
ppd_*plots inpp_checkvia argumentprefix. (#1313) - Support the
loglink in binomial and beta type families. (#1316) - Support projpred's augmented-data projection. (#1292, #1294)
- Argument
brms_seedhas been added toget_refmodel.brmsfit(). (#1287) - Deprecate argument
initsin favor ofinitfor consistency with the Stan backends. - Improve speed of the
summarymethod for high-dimensional models. (#1330)
- Fix Stan code of threaded multivariate models thanks to Anirban Mukherjee. (#1277)
- Fix usage of
int_conditionsinconditional_smoothsthanks to Urs Kalbitzer. (#1280) - Fix an error sometimes occurring for multilevel (reference) models in
projpred's K-fold CV. (#1286) - Fix response values in
make_standataforbernoullifamilies when only 1s are present thanks to Facundo Munoz. (#1298) - Fix
pp_checkfor censored responses to work for all plot types thanks to Hayden Rabel. (#1327) - Ensure that argument
overwriteinadd_criterionworks as expected for all criteria thanks to Andrew Milne. (#1323) - Fix a problem in
launch_shinystanoccurring when warmup draws were saved thanks to Frank Weber. (#1257, #1329) - Fix numerical stability problems in
log_likfor ordinal models. (#1192)
- Move
projpredfromImports:toSuggests:. This has the important implication that users need to load or attachprojpredthemselves if they want to use it (the more common case is probably attaching, which is achieved bylibrary(projpred)). (#1222)
- Ensure that argument
overwriteinadd_criterionis working as intended thanks to Ruben Arslan. (#1219) - Fix a bug in
get_refmodel.brmsfit()(i.e., when usingprojpredfor a"brmsfit") causing offsets not to be recognized. (#1220) - Several further minor bug fixes.
- Fix a bug causing problems during post-processing of models
fitted with older versions of brms and the
cmdstanrbackend thanks to Riccardo Fusaroli. (#1218)
- Support several methods of the
posteriorpackage. (#1204) - Substantially extend compatibility of
brmsmodels withemmeansthanks to Mattan S. Ben-Shachar. (#907, #1134) - Combine missing value (
mi) terms withsubsetaddition terms. (#1063) - Expose function
get_dparfor use in the post-processing of custom families thank to Martin Modrak. (#1131) - Support the
squarepluslink function in all families and distributional parameters that also allow for theloglink function. - Add argument
incl_threstoposterior_linpred.brmsfit()allowing to subtract the threshold-excluding linear predictor from the thresholds in case of an ordinal family. (#1137) - Add a
"mock"backend option to facilitate testing thanks to Martin Modrak. (#1116) - Add option
file_refit = "always"to always overwrite models stored via thefileargument. (#1151) - Initial GPU support via OpenCL thanks to the help Rok Češnovar. (#1166)
- Support argument
robustin methodhypothesis. (#1170) - Vectorize the Stan code of custom likelihoods via
argument
loopofcustom_family. (#1084) - Experimentally allow category specific effects for
ordinal
cumulativemodels. (#1060) - Regenerate Stan code of an existing model via
argument
regenerateof methodstancode. - Support
expose_functionsfor models fitted with thecmdstanrbackend thanks to Sebastian Weber. (#1176) - Support
log_proband related functionality in models fitted with thecmdstanrbackend via functionadd_rstan_model. (#1184)
- Remove use of
cbindto express multivariate models after over two years of deprecation (please usemvbindinstead). - Method
posterior_linpred(transform = TRUE)is now equal toposterior_epred(dpar = "mu")and no longer deprecated. - Refactor and extend internal post-processing functions for ordinal and categorical models thanks to Frank Weber. (#1159)
- Ignore
NAvalues in interval censored boundaries as long as they are unused. (#1070) - Take offsets into account when deriving default priors for overall intercept parameters. (#923)
- Soft deprecate measurement error (
me) terms in favor of the more general and consistent missing value (mi) terms. (#698)
- Fix an issue in the post-processing of non-normal ARMA models thanks to Thomas Buehrens. (#1149)
- Fix an issue with default baseline hazard knots in
coxmodels thanks to Malcolm Gillies. (#1143) - Fix a bug in non-linear models caused by accidental merging of operators in the non-linear formula thanks to Fernando Miguez. (#1142)
- Correctly trigger a refit for
file_refit = "on_change"if factor level names have changed thanks to Martin Modrak. (#1128) - Validate factors in
validate_newdataeven when they are simultaneously used as predictors and grouping variables thanks to Martin Modrak. (#1141) - Fix a bug in the Stan code generation of threaded mixture models with predicted mixture probabilities thanks to Riccardo Fusaroli. (#1150)
- Remove duplicated Stan code related to the
horseshoeprior thanks to Max Joseph. (#1167) - Fix an issue in the post-processing of non-looped non-linear parameters thanks to Sebastian Weber.
- Fix an issue in the Stan code of threaded non-looped non-linear models thanks to Sebastian Weber. (#1175)
- Fix problems in the post-processing of multivariate meta-analytic models that could lead to incorrect handling of known standard errors.
- Turn off normalization in the Stan model via argument
normalize. to increase sampling efficiency thanks to Andrew Johnson. (#1017, #1053) - Enable
posterior_predictfor truncated continuous models even if the required CDF or quantile functions are unavailable. - Update and export
validate_priorto validate priors supplied by the user. - Add support for within-chain threading with
rstan (Stan >= 2.25)backend. - Apply the R2-D2 shrinkage prior to population-level coefficients
via function
R2D2to be used inset_prior. - Extend support for
armacorrelation structures in non-normal families. - Extend scope of variables passed via
data2for use in the evaluation of most model terms. - Refit models previously stored on disc only when necessary thanks to
Martin Modrak. The behavior can be controlled via
file_refit. (#1058) - Allow for a finer tuning of informational messages printed in
brmvia thesilentargument. (#1076) - Allow
stanvarsto alter distributional parameters. (#1061) - Allow
stanvarsto be used inside threaded likelihoods. (#1111)
- Improve numerical stability of ordinal sequential models
(families
sratioandcratio) thanks to Andrew Johnson. (#1087)
- Allow fitting
multinomialmodels with thecmdstanrbackend thanks to Andrew Johnson. (#1033) - Allow user-defined Stan functions in threaded models. (#1034)
- Allow usage of the
:operator in autocorrelation terms. - Fix Stan code generation when specifying coefficient-level priors on spline terms.
- Fix numerical issues occurring in edge cases during post-processing of Gaussian processes thanks to Marta Kołczyńska.
- Fix an error during post-processing of new levels in multi-membership terms thanks to Guilherme Mohor.
- Fix a bug in the Stan code of threaded
wienerdrift diffusion models thanks to the GitHub user yanivabir. (#1085) - Fix a bug in the threaded Stan code for GPs with categorical
byvariables thanks to Reece Willoughby. (#1081) - Fix a bug in the threaded Stan code when using QR decomposition thanks to Steve Bronder. (#1086)
- Include offsets in
emmeansrelated methods thanks to Russell V. Lenth. (#1096)
- Support
projpredversion 2.0 for variable selection in generalized linear and additive multilevel models thanks to Alejandro Catalina. - Support
byvariables in multi-membership terms. - Use Bayesian bootstrap in
loo_R2.
- Allow non-linear terms in threaded models.
- Allow multi-membership terms in threaded models.
- Allow
seaddition terms in threaded models. - Allow
categoricalfamilies in threaded models. - Fix updating of parameters in
loo_moment_match. - Fix facet labels in
conditional_effectsthanks to Isaac Petersen. (#1014)
- Experimentally support within-chain parallelization via
reduce_sumusing argumentthreadsinbrmthanks to Sebastian Weber. (#892) - Add algorithm
fixed_paramto sample from fixed parameter values. (#973) - No longer remove
NAvalues indataif there are unused because of thesubsetaddition argument. (#895) - Combine
byvariables and within-group correlation matrices in group-level terms. (#674) - Add argument
robustto thesummarymethod. (#976) - Parallelize evaluation of the
posterior_predictandlog_likmethods via argumentcores. (#819) - Compute effective number of parameters in
kfold. - Show prior sources and vectorization in the
printoutput ofbrmspriorobjects. (#761) - Store unused variables in the model's data frame via
argument
unusedof functionbrmsformula. - Support posterior mean predictions in
emmeansviadpar = "mean"thanks to Russell V. Lenth. (#993) - Improve control of which parameters should be saved via
function
save_parsand corresponding argument inbrm. (#746) - Add method
posterior_smoothsto computing predictions of individual smooth terms. (#738) - Allow to display grouping variables in
conditional_effectsusing theeffectsargument. (#1012)
- Improve sampling efficiency for a lot of models by using Stan's GLM-primitives even in non-GLM cases. (#984)
- Improve sampling efficiency of multilevel models with within-group covariances thanks to David Westergaard. (#977)
- Deprecate argument
probsin theconditional_effectsmethod in favor of argumentprob.
- Fix a problem in
pp_checkinducing wronger observation orders in time series models thanks to Fiona Seaton. (#1007) - Fix multiple problems with
loo_moment_matchthat prevented it from working for some more complex models.
- Support the Cox proportional hazards model for
time-to-event data via family
cox. (#230, #962) - Support method
loo_moment_match, which can be used to update alooobject when Pareto k estimates are large.
- Improve the prediction behavior in post-processing methods
when sampling new levels of grouping factors via
sample_new_levels = "uncertainty". (#956)
- Fix minor problems with MKL on CRAN.
- Fix shape parameters across multiple monotonic terms via argument
idin functionmoto ensure conditionally monotonic effects. (#924) - Support package
rtdistsas additional backend ofwienerdistribution functions thanks to the help of Henrik Singmann. (#385)
- Fix generated Stan Code of models with improper global priors and
constantpriors on some coefficients thanks to Frank Weber. (#919) - Fix a bug in
conditional_effectsoccurring for categorical models with matrix predictors thanks to Jamie Cranston. (#933)
- Adjust behavior of the
rateaddition term so that it also affects theshapeparameter innegbinomialmodels thanks to Edward Abraham. (#915) - Adjust the default inverse-gamma prior on length-scale parameters of Gaussian processes to be less extreme in edge cases thanks to Topi Paananen.
- Constrain ordinal thresholds to sum to zero via argument
thresholdin ordinal family functions thanks to the help of Marta Kołczyńska. - Support
posterior_linpredas method inconditional_effects. - Use
std_normalin the Stan code for improved efficiency. - Add arguments
cor,id, andcovto the functionsgrandmmfor easy specification of group-level correlation structures. - Improve workflow to feed back brms-created models which were fitted somewhere else back into brms. (#745)
- Improve argument
int_conditionsinconditional_effectsto work for all predictors not just interactions. - Support multiple imputation of data passed via
data2inbrm_multiple. (#886) - Fully support the
emmeanspackage thanks to the help of Russell V. Lenth. (#418) - Control the within-block position of Stan code added via
stanvarusing thepositionargument.
- Fix issue in Stan code of models with multiple
meterms thanks to Chris Chatham. (#855, #856) - Fix scaling problems in the estimation of ordinal models with multiple threshold vectors thanks to Marta Kołczyńska and Rok Češnovar.
- Allow usage of
std_normalinset_priorthanks to Ben Goodrich. (#867) - Fix Stan code of distributional models with
weibull,frechet, orinverse.gaussianfamilies thanks to Brian Huey and Jack Caster. (#879) - Fix Stan code of models which are truncated and weighted at the same time thanks to Michael Thompson. (#884)
- Fix Stan code of multivariate models with custom families and data variables passed to the likelihood thanks to Raoul Wolf. (#906)
- Reduce minimal scale of several default priors from 10 to 2.5. The resulting priors should remain weakly informative.
- Automatically group observations in
gpfor increased efficiency. - Rename
parse_bftobrmstermsand deprecate the former function. - Rename
extract_drawstoprepare_predictionsand deprecate the former function. - Deprecate using a model-dependent
rescordefault. - Deprecate argument
cov_ranefinbrmand related functions. - Improve several internal interfaces. This should not have any user-visible changes.
- Simplify the parameterization of the horseshoe prior thanks to Aki Vehtari. (#873)
- Store fixed distributional parameters as regular draws so that they behave as if they were estimated in post-processing methods.
- Fix parameters to constants via the
priorargument. (#783) - Specify autocorrelation terms directly in the model formula. (#708)
- Translate integer covariates in non-linear formulas to integer arrays in Stan.
- Estimate
sigmain combination with fixed correlation matrices via autocorrelation termfcor. - Use argument
data2inbrmand related functions to pass data objects which cannot be passed viadata. The usage ofdata2will be extended in future versions. - Compute pointwise log-likelihood values via
log_likfor non-factorizable Student-t models. (#705)
- Fix output of
posterior_predictformultinomialmodels thanks to Ivan Ukhov. - Fix selection of group-level terms via
re_formulain multivariate models thanks to Maxime Dahirel. (#834) - Enforce correct ordering of terms in
re_formulathanks to @ferberkl. (#844) - Fix post-processing of multivariate multilevel models when multiple IDs are used for the same grouping factor thanks to @lott999. (#835)
- Store response category names of ordinal models in the
output of
posterior_predictagain thanks to Mattew Kay. (#838) - Handle
NAvalues more consistently inposterior_tablethanks to Anna Hake. (#845) - Fix a bug in the Stan code of models with multiple monotonic varying effects across different groups thanks to Julian Quandt.
- Rename
offsetvariables tooffsetsin the generated Stan code as the former will be reserved in the new stanc3 compiler.
- Fix version requirement of the
loopackage. - Fix effective sample size note in the
summaryoutput. (#824) - Fix an edge case in the handling of covariates in special terms thanks to Andrew Milne. (#823)
- Allow restructuring objects multiple times with different brms versions thanks to Jonathan A. Nations. (#828)
- Fix validation of ordered factors in
newdatathanks to Andrew Milne. (#830)
- Support grouped ordinal threshold vectors via addition
argument
resp_thres. (#675) - Support method
loo_subsamplefor performing approximate leave-one-out cross-validation for large data. - Allow storing more model fit criteria via
add_criterion. (#793)
- Fix prediction uncertainties of new group levels for
sample_new_levels = "uncertainty"thanks to Dominic Magirr. (#779) - Fix problems when using
pp_checkon censored models thanks to Andrew Milne. (#744) - Fix error in the generated Stan code of multivariate
zero_inflated_binomialmodels thanks to Raoul Wolf. (#756) - Fix predictions of spline models when using addition
argument
subsetthanks to Ruben Arslan. - Fix out-of-sample predictions of AR models when predicting more than one step ahead.
- Fix problems when using
relooorkfoldwith CAR models. - Fix problems when using
fitted(..., scale = "linear")with multinomial models thanks to Santiago Olivella. (#770) - Fix problems in the
as.mcmcmethod for thinned models thanks to @hoxo-m. (#811) - Fix problems in parsing covariates of special effects terms thanks to Riccardo Fusaroli (#813)
- Rename
marginal_effectstoconditional_effectsandmarginal_smoothstoconditional_smooths. (#735) - Rename
stanplottomcmc_plot. - Add method
pp_expectas an alias offitted. (#644) - Model fit criteria computed via
add_criterionare now stored in thebrmsfit$criteriaslot. - Deprecate
resp_catin favor ofresp_thres. - Deprecate specifying global priors on regression coefficients in categorical and multivariate models.
- Improve names of weighting methods in
model_weights. - Deprecate reserved variable
interceptin favor ofIntercept. - Deprecate argument
exact_matchin favor offixed. - Deprecate functions
add_looandadd_waicin favor ofadd_criterion.
- Improve convergence diagnostics in the
summaryoutput. (#712) - Use primitive Stan GLM functions whenever possible. (#703)
- Pass real and integer data vectors to custom families via
the addition arguments
vrealandvint. (#707) - Model compound symmetry correlations via
cor_cosy. (#403) - Predict
sigmain combination with several autocorrelation structures. (#403) - Use addition term
rateto conveniently handle denominators of rate responses in log-linear models. - Fit BYM2 CAR models via
cor_carthanks to the case study and help of Mitzi Morris.
- Substantially improve the sampling efficiency of SAR models thanks to the GitHub user aslez. (#680)
- No longer allow changing the boundaries of autocorrelation parameters.
- Set the number of trials to 1 by default in
marginal_effectsif not specified otherwise. (#718) - Use non-standard evaluation for addition terms.
- Name temporary intercept parameters more consistently in the Stan code.
- Fix problems in the post-processing of
meterms with grouping factors thanks to the GitHub user tatters. (#706) - Allow grouping variables to start with a dot thanks to Bruno Nicenboim. (#679)
- Allow the
horseshoeprior in categorical and related models thanks to the Github user tatters. (#678) - Fix extraction of prior samples for overall intercepts in
prior_samplesthanks to Jonas Kristoffer Lindelov. (#696) - Allow underscores to be used in category names of categorical responses thanks to Emmanuel Charpentier. (#672)
- Fix Stan code of multivariate models with multi-membership terms thanks to the Stan discourse user Pia.
- Improve checks for non-standard variable names thanks to Ryan Holbrook. (#721)
- Fix problems when plotting facetted spaghetti plots
via
marginal_smoothsthanks to Gavin Simpson. (#740)
- Specify non-linear ordinal models. (#623)
- Allow to fix thresholds in ordinal mixture models (#626)
- Use the
softpluslink function in various families. (#622) - Use QR decomposition of design matrices via argument
decompofbrmsformulathanks to the help of Ben Goodrich. (#640) - Define argument
sparseseparately for each model formula. - Allow using
bayes_R2andloo_R2with ordinal models. (#639) - Support
cor_armain non-normal models. (#648)
- Change the parameterization of monotonic effects to improve their interpretability. (#578)
- No longer support the
cor_arrandcor_bstscorrelation structures after a year of deprecation. - Refactor internal evaluation of special predictor terms.
- Improve penalty of splines thanks to Ben Goodrich and Ruben Arslan.
- Fix a problem when applying
marginal_effectsto measurement error models thanks to Jonathan A. Nations. (#636) - Fix computation of log-likelihood values for weighted mixture models.
- Fix computation of fitted values for truncated lognormal and weibull models.
- Fix checking of response boundaries for models with missing values thanks to Lucas Deschamps.
- Fix Stan code of multivariate models with both residual correlations and missing value terms thanks to Solomon Kurz.
- Fix problems with interactions of special terms
when extracting variable names in
marginal_effects. - Allow compiling a model in
brm_multiplewithout sampling thanks to Will Petry. (#671)
- Fit multinomial models via family
multinomial. (#463) - Fit Dirichlet models via family
dirichlet. (#463) - Fit conditional logistic models using the
categoricalandmultinomialfamilies together with non-linear formula syntax. (#560) - Choose the reference category of
categoricaland related families via argumentrefcatof the corresponding family functions. - Use different subsets of the data in different univariate parts
of a multivariate model via addition argument
subset. (#360) - Control the centering of population-level design matrices
via argument
centerofbrmsformulaand related functions. - Add an
updatemethod forbrmsfit_multipleobjects. (#615) - Split folds after
groupin thekfoldmethod. (#619)
- Deprecate
compare_icand instead recommendloo_comparefor the comparison oflooobjects to ensure consistency between packages. (#414) - Use the glue package in the Stan code generation. (#549)
- Introduce
mvbindto eventually replacecbindin the formula syntax of multivariate models. - Validate several sampling-related arguments in
brmbefore compiling the Stan model. (#576) - Show evaluated vignettes on CRAN again. (#591)
- Export function
get_ywhich is used to extract response values frombrmsfitobjects.
- Fix an error when trying to change argument
re_formulainbayes_R2thanks to the GitHub user emieldl. (#592) - Fix occasional problems when running chains in parallel via the future package thanks to Jared Knowles. (#579)
- Ensure correct ordering of response categories in ordinal models thanks to Jonas Kristoffer Lindelov. (#580)
- Ignore argument
respofmarginal_effectsin univariate models thanks to Vassilis Kehayas. (#589) - Correctly disable cell-mean coding in varying effects.
- Allow to fix parameter
ndtin drift diffusion models. - Fix Stan code for t-distributed varying effects thanks to Ozgur Asar.
- Fix an error in the post-processing of monotonic effects occurring for multivariate models thanks to James Rae. (#598)
- Fix lower bounds in truncated discrete models.
- Fix checks of the original data in
kfoldthanks to the GitHub user gcolitti. (#602) - Fix an error when applying the
VarCorrmethod to meta-analytic models thanks to Michael Scharkow. (#616)
- Fit approximate and non-isotropic Gaussian processes via
gp. (#540) - Enable parallelization of model fitting in
brm_multiplevia the future package. (#364) - Perform posterior predictions based on k-fold cross-validation
via
kfold_predict. (#468) - Indicate observations for out-of-sample predictions in
ARMA models via argument
oosofextract_draws. (#539)
- Allow factor-like variables in smooth terms. (#562)
- Make plotting of
marginal_effectsmore robust to the usage of non-standard variable names. - Deactivate certain data validity checks when using custom families.
- Improve efficiency of adjacent category models.
- No longer print informational messages from the Stan parser.
- Fix an issue that could result in a substantial efficiency drop of various post-processing methods for larger models.
- Fix an issue when that resulted in an error when
using
fitted(..., scale = "linear")with ordinal models thanks to Andrew Milne. (#557) - Allow setting priors on the overall intercept in sparse models.
- Allow sampling from models with only a single observation that also contain an offset thanks to Antonio Vargas. (#545)
- Fix an error when sampling from priors in mixture models thanks to Jacki Buros Novik. (#542)
- Fix a problem when trying to sample from priors of parameter transformations.
- Allow using
marginal_smoothswith ordinal models thanks to Andrew Milne. (#570) - Fix an error in the post-processing of
meterms thanks to the GitHub user hlluik. (#571) - Correctly update
warmupsamples when usingupdate.brmsfit.
- Fit factor smooth interactions thanks to Simon Wood.
- Specify separate priors for thresholds in ordinal models. (#524)
- Pass additional arguments to
rstan::stan_modelvia argumentstan_model_argsinbrm. (#525) - Save model objects via argument
fileinadd_icafter adding model fit criteria. (#478) - Compute density ratios based on MCMC samples via
density_ratio. - Ignore offsets in various post-processing methods via
argument
offset. - Update addition terms in formulas via
update_adterms.
- Improve internal modularization of smooth terms.
- Reduce size of internal example models.
- Correctly plot splines with factorial covariates via
marginal_smooths. - Allow sampling from priors in intercept only models thanks to Emmanuel Charpentier. (#529)
- Allow logical operators in non-linear formulas.
- Improve
marginal_effectsto better display ordinal and categorical models via argumentcategorical. (#491, #497) - Improve method
kfoldto offer more options for specifying omitted subsets. (#510) - Compute estimated values of non-linear parameters via
argument
nlparin methodfitted. - Disable automatic cell-mean coding in model formulas without
an intercept via argument
cmcofbrmsformulaand related functions thanks to Marie Beisemann. - Allow using the
bridge_samplermethod even if prior samples are drawn within the model. (#485) - Specify post-processing functions of custom families
directly in
custom_family. - Select a subset of coefficients in
fixef,ranef, andcoefvia argumentpars. (#520) - Allow to
overwritealready stored fit indices when usingadd_ic.
- Ignore argument
respwhen post-processing univariate models thanks to Ruben Arslan. (#488) - Deprecate argument
ordinalofmarginal_effects. (#491) - Deprecate argument
exact_looofkfold. (#510) - Deprecate usage of
binomialfamilies without specifyingtrials. - No longer sample from priors of population-level intercepts when using the default intercept parameterization.
- Correctly sample from LKJ correlation priors thanks to Donald Williams.
- Remove stored fit indices when calling
updateon brmsfit objects thanks to Emmanuel Charpentier. (#490) - Fix problems when predicting a single data point using spline models thanks to Emmanuel Charpentier. (#494)
- Set
Post.Prob = 1ifEvid.Ratio = Infin methodhypothesisthanks to Andrew Milne. (#509) - Ensure correct handling of argument
fileinbrm_multiple.
- Define custom variables in all of Stan's program blocks
via function
stanvar. (#459) - Change the scope of non-linear parameters to be global within univariate models. (#390)
- Allow to automatically group predictor values in Gaussian
processes specified via
gp. This may lead to a considerable increase in sampling efficiency. (#300) - Compute LOO-adjusted R-squared using method
loo_R2. - Compute non-linear predictors outside of a loop over
observations by means of argument
loopinbrmsformula. - Fit non-linear mixture models. (#456)
- Fit censored or truncated mixture models. (#469)
- Allow
horseshoeandlassopriors to be set on special population-level effects. - Allow vectors of length greater one to be passed to
set_prior. - Conveniently save and load fitted model objects in
brmvia argumentfile. (#472) - Display posterior probabilities in the output of
hypothesis.
- Deprecate argument
stan_funsinbrmin favor of using thestanvarsargument for the specification of custom Stan functions. - Deprecate arguments
flistand...innlf. - Deprecate argument
dparinlfandnlf.
- Allow custom families in mixture models thanks to Noam Ross. (#453)
- Ensure compatibility with mice version 3.0. (#455)
- Fix naming of correlation parameters of group-level terms with multiple subgroups thanks to Kristoffer Magnusson. (#457)
- Improve scaling of default priors in
lognormalmodels (#460). - Fix multiple problems in the post-processing of categorical models.
- Fix validation of nested grouping factors in post-processing methods when passing new data thanks to Liam Kendall.
- Allow censoring and truncation in zero-inflated and hurdle models. (#430)
- Export zero-inflated and hurdle distribution functions.
- Improve sampling efficiency of the ordinal families
cumulative,sratio, andcratio. (#433) - Allow to specify a single k-fold subset in method
kfold. (#441)
- Fix a problem in
launch_shinystandue to which the maximum treedepth was not correctly displayed thanks to Paul Galpern. (#431)
- Extend
cor_carto support intrinsic CAR models in pairwise difference formulation thanks to the case study of Mitzi Morris. - Compute
looand related methods for non-factorizable normal models.
- Rename quantile columns in
posterior_summary. This affects the output ofpredictand related methods ifsummary = TRUE. (#425) - Use hashes to check if models have the same response values when performing model comparisons. (#414)
- No longer set
pointwisedynamically inlooand related methods. (#416) - No longer show information criteria in the summary output.
- Simplify internal workflow to implement native response distributions. (#421)
- Allow
cor_carin multivariate models with residual correlations thanks to Quentin Read. (#427) - Fix a problem in the Stan code generation of distributional
betamodels thanks to Hans van Calster. (#404) - Fix
launch_shinystan.brmsfitso that all parameters are now shown correctly in the diagnose tab. (#340)
- Specify custom response distributions with function
custom_family. (#381) - Model missing values and measurement error in responses using the
miaddition term. (#27, #343) - Allow missing values in predictors using
miterms on the right-hand side of model formulas. (#27) - Model interactions between the special predictor terms
mo,me, andmi. (#313) - Introduce methods
model_weightsandloo_model_weightsproviding several options to compute model weights. (#268) - Introduce method
posterior_averageto extract posterior samples averaged across models. (#386) - Allow hyperparameters of group-level effects to vary over the levels of a
categorical covariate using argument
byin functiongr. (#365) - Allow predictions of measurement-error models with new data. (#335)
- Pass user-defined variables to Stan via
stanvar. (#219, #357) - Allow ordinal families in mixture models. (#389)
- Model covariates in multi-membership structures that vary over the levels of
the grouping factor via
mmcterms. (#353) - Fit shifted log-normal models via family
shifted_lognormal. (#218) - Specify nested non-linear formulas.
- Introduce function
make_conditionsto ease preparation of conditions formarginal_effects.
- Change the parameterization of
weibullandexgaussianmodels to be consistent with other model classes. Post-processing of related models fitted with earlier version ofbrmsis no longer possible. - Treat integer responses in
ordinalmodels as directly indicating categories even if the lowest integer is not one. - Improve output of the
hypothesismethod thanks to the ideas of Matti Vuorre. (#362) - Always plot
byvariables as facets inmarginal_smooths. - Deprecate the
cor_bstscorrelation structure.
- Allow the
:operator to combine groups in multi-membership terms thanks to Gang Chen. - Avoid an unexpected error when calling
LOOwith argumentreloo = TRUEthanks to Peter Konings. (#348) - Fix problems in
predictwhen applied to categorical models thanks to Lydia Andreyevna Krasilnikova and Thomas Vladeck. (#336, #345) - Allow truncation in multivariate models with missing values thanks to Malte Lau Petersen. (#380)
- Force time points to be unique within groups in autocorrelation structures thanks to Ruben Arslan. (#363)
- Fix problems when post-processing multiple uncorrelated group-level terms of the same grouping factor thanks to Ivy Jansen. (#374)
- Fix a problem in the Stan code of multivariate
weibullandfrechetmodels thanks to the GitHub user philj1s. (#375) - Fix a rare error when post-processing
binomialmodels thanks to the GitHub user SeanH94. (#382) - Keep attributes of variables when preparing the
model.framethanks to Daniel Luedecke. (#393)
- Fit models on multiple imputed datasets via
brm_multiplethanks to Ruben Arslan. (#27) - Combine multiple
brmsfitobjects via functioncombine_models. - Compute model averaged posterior predictions with method
pp_average. (#319) - Add new argument
ordinaltomarginal_effectsto generate special plots for ordinal models thanks to the idea of the GitHub user silberzwiebel. (#190) - Use informative inverse-gamma priors for length-scale parameters of Gaussian processes. (#275)
- Compute hypotheses for all levels of a grouping factor at once using
argument
scopein methodhypothesis. (#327) - Vectorize user-defined
Stanfunctions exported viaexport_functionsusing argumentvectorize. - Allow predicting new data in models with ARMA autocorrelation structures.
- Correctly recover noise-free coefficients through
meterms thanks to Ruben Arslan. As a side effect, it is no longer possible to define priors on noise-freeXmevariables directly, but only on their hyper-parametersmeanmeandsdme. - Fix problems in renaming parameters of the
cor_bstsstructure thanks to Joshua Edward Morten. (#312) - Fix some unexpected errors when predicting from ordinal models thanks to David Hervas and Florian Bader. (#306, #307, #331)
- Fix problems when estimating and predicting multivariate ordinal models thanks to David West. (#314)
- Fix various minor problems in autocorrelation structures thanks to David West. (#320)
- Export the helper functions
posterior_summaryandposterior_tableboth being used to summarize posterior samples and predictions.
- Fix incorrect computation of intercepts in
acatandcratiomodels thanks to Peter Phalen. (#302) - Fix
pointwisecomputation ofLOOandWAICin multivariate models with estimated residual correlation structure. - Fix problems in various S3 methods sometimes requiring unused variables to be
specified in
newdata. - Fix naming of Stan models thanks to Hao Ran Lai.
This is the second major release of brms. The main new feature are generalized
multivariate models, which now support everything already possible in univariate
models, but with multiple response variables. Further, the internal structure of
the package has been improved considerably to be easier to maintain and extend
in the future. In addition, most deprecated functionality and arguments have
been removed to provide a clean new start for the package. Models fitted with
brms 1.0 or higher should remain fully compatible with brms 2.0.
- Add support for generalized multivariate models, where each of the univariate
models may have a different family and autocorrelation structure. Residual
correlations can be estimated for multivariate
gaussianandstudentmodels. All features supported in univariate models are now also available in multivariate models. (#3) - Specify different formulas for different categories in
categoricalmodels. - Add weakly informative default priors for the parameter class
Interceptto improve convergence of more complex distributional models. - Optionally display the MC standard error in the
summaryoutput. (#280) - Add argument
re.formas an alias ofre_formulato the methodsposterior_predict,posterior_linpred, andpredictive_errorfor consistency with other packages making use of these methods. (#283)
- Refactor many parts of the package to make it more consistent and easier to extend.
- Show the link functions of all distributional parameters in the
summaryoutput. (#277) - Reduce working memory requirements when extracting posterior samples for use
in
predictand related methods thanks to Fanyi Zhang. (#224) - Remove deprecated aliases of functions and arguments from the package. (#278)
- No longer support certain prior specifications, which were previously labeled as deprecated.
- Remove the deprecated addition term
dispfrom the package. - Remove old versions of methods
fixef,ranef,coef, andVarCorr. - No longer support models fitted with
brms< 1.0, which used the multivariate'trait'syntax originally deprecated inbrms1.0. - Make posterior sample extraction in the
summarymethod cleaner and less error prone. - No longer fix the seed for random number generation in
brmto avoid unexpected behavior in simulation studies.
- Store
stan_funsinbrmsfitobjects to allow usingupdateon models with user-defined Stan functions thanks to Tom Wallis. (#288) - Fix problems in various post-processing methods when applied to models with
the reserved variable
interceptin group-level terms thanks to the GitHub user ASKurz. (#279) - Fix an unexpected error in
predictand related methods when settingsample_new_levels = "gaussian"in models with only one group-level effect. Thanks to Timothy Mastny. (#286)
- Allow setting priors on noise-free variables specified via function
me. - Add arguments
Ksub,exact_looandgroupto methodkfoldfor defining omitted subsets according to a grouping variable or factor. - Allow addition argument
seinskew_normalmodels.
- Ensure correct behavior of horseshoe and lasso priors in multivariate models thanks to Donald Williams.
- Allow using
identitylinks on all parameters of thewienerfamily thanks to Henrik Singmann. (#276) - Use reasonable dimnames in the output of
fittedwhen returning linear predictors of ordinal models thanks to the GitHub user atrolle. (#274) - Fix problems in
marginal_smoothsoccurring for multi-membership models thanks to Hans Tierens.
- Rebuild monotonic effects from scratch to allow specifying interactions with other variables. (#239)
- Introduce methods
posterior_linpredandposterior_intervalfor consistency with other model fitting packages based onStan. - Introduce function
theme_blackproviding a blackggplot2theme. - Specify special group-level effects within the same terms as ordinary group-level effects.
- Add argument
probtosummary, which allows to control the width of the computed uncertainty intervals. (#259) - Add argument
newdatato thekfoldmethod. - Add several arguments to the
plotmethod ofmarginal_effectsto improve control over the appearences of the plots.
- Use the same noise-free variables for all model parts in measurement error models. (#257)
- Make names of local-level terms used in the
cor_bstsstructure more informative. - Store the
autocorargument withinbrmsformulaobjects. - Store posterior and prior samples in separate slots in the output of method
hypothesis. - No longer change the default theme of
ggplot2when attachingbrms. (#256) - Make sure signs of estimates are not dropped when rounding to zero in
summary.brmsfit. (#263) - Refactor parts of
extract_drawsandlinear_predictorto be more consistent with the rest of the package.
- Do not silence the
Stanparser when callingbrmto get informative error messages about invalid priors. - Fix problems with spaces in priors passed to
set_prior. - Handle non
data.frameobjects correctly inhypothesis.default. - Fix a problem relating to the colour of points displayed in
marginal_effects.
- Perform model comparisons based on marginal likelihoods using the methods
bridge_sampler,bayes_factor, andpost_proball powered by thebridgesamplingpackage. - Compute a Bayesian version of R-squared with the
bayes_R2method. - Specify non-linear models for all distributional parameters.
- Combine multiple model formulas using the
+operator and the helper functionslf,nlf, andset_nl. - Combine multiple priors using the
+operator. - Split the
nlparargument ofset_priorinto the three argumentsresp,dpar, andnlparto allow for more flexible prior specifications.
- Refactor parts of the package to prepare for the implementation of more flexible multivariate models in future updates.
- Keep all constants in the log-posterior in order for
bridge_samplerto be working correctly. - Reduce the amount of renaming done within the
stanfitobject. - Rename argument
auxparoffitted.brmsfittodpar. - Use the
launch_shinystangeneric provided by theshinystanpackage. - Set
bayesplot::theme_default()as the defaultggplot2theme when attachingbrms. - Include citations of the
brmsoverview paper as published in the Journal of Statistical Software.
- Fix problems when calling
fittedwithhurdle_lognormalmodels thanks to Meghna Krishnadas. - Fix problems when predicting
sigmainasym_laplacemodels thanks to Anna Josefine Sorensen.
- Fit conditional autoregressive (CAR) models via function
cor_carthanks to the case study of Max Joseph. - Fit spatial autoregressive (SAR) models via function
cor_sar. Currently works for familiesgaussianandstudent. - Implement skew normal models via family
skew_normal. Thanks to Stephen Martin for suggestions on the parameterization. - Add method
relooto perform exact cross-validation for problematic observations andkfoldto perform k-fold cross-validation thanks to the Stan Team. - Regularize non-zero coefficients in the
horseshoeprior thanks to Juho Piironen and Aki Vehtari. - Add argument
new_objectsto various post-processing methods to allow for passing of data objects, which cannot be passed vianewdata. - Improve parallel execution flexibility via the
futurepackage.
- Improve efficiency and stability of ARMA models.
- Throw an error when the intercept is removed in an ordinal model instead of silently adding it back again.
- Deprecate argument
thresholdinbrmand instead recommend passingthresholddirectly to the ordinal family functions. - Throw an error instead of a message when invalid priors are passed.
- Change the default value of the
autocorslot inbrmsfitobjects to an emptycor_brmsobject. - Shorten
Stancode by combining declarations and definitions where possible.
- Fix problems in
pp_checkwhen the variable specified in argumentxhas attributes thanks to Paul Galpern. - Fix problems when computing fitted values for truncated discrete models based on new data thanks to Nathan Doogan.
- Fix unexpected errors when passing models, which did not properly initialize, to various post-processing methods.
- Do not accidently drop the second dimension of matrices in
summary.brmsfitfor models with only a single observation.
- Fit latent Gaussian processes of one or more covariates via function
gpspecified in the model formula (#221). - Rework methods
fixef,ranef,coef, andVarCorrto be more flexible and consistent with other post-processing methods (#200). - Generalize method
hypothesisto be applicable on all objects coercible to adata.frame(#198). - Visualize predictions via spaghetti plots using argument
spaghettiinmarginal_effectsandmarginal_smooths. - Introduce method
add_icto store and reuse information criteria in fitted model objects (#220). - Allow for negative weights in multi-membership grouping structures.
- Introduce an
as.arraymethod forbrmsfitobjects.
- Show output of \R code in HTML vignettes thanks to Ben Goodrich (#158).
- Resolve citations in PDF vignettes thanks to Thomas Kluth (#223).
- Improve sampling efficiency for
exgaussianmodels thanks to Alex Forrence (#222). - Also transform data points when using argument
transforminmarginal_effectsthanks to Markus Gesmann.
- Fix an unexpected error in
marginal_effectsoccurring for some models with autocorrelation terms thanks to Markus Gesmann. - Fix multiple problems occurring for models with the
cor_bstsstructure thanks to Andrew Ellis.
- Implement zero-one-inflated beta models via family
zero_one_inflated_beta. - Allow for more link functions in zero-inflated and hurdle models.
- Ensure full compatibility with
bayesplotversion 1.2.0. - Deprecate addition argument
disp.
- Fix problems when setting priors on coefficients of auxiliary parameters when also setting priors on the corresponding coefficients of the mean parameter. Thanks to Matti Vuorre for reporting this bug.
- Allow ordered factors to be used as grouping variables thanks to the GitHub user itissid.
- Fit finite mixture models using family function
mixture. - Introduce method
pp_mixtureto compute posterior probabilities of mixture component memberships thanks to a discussion with Stephen Martin. - Implement different ways to sample new levels of grouping factors in
predictand related methods through argumentsample_new_levels. Thanks to Tom Wallis and Jonah Gabry for a detailed discussion about this feature. - Add methods
loo_predict,loo_linpred, andloo_predictive_intervalfor computing LOO predictions thanks to Aki Vehtari and Jonah Gabry. - Allow using
offsetin formulas of non-linear and auxiliary parameters. - Allow sparse matrix multiplication in non-linear and distributional models.
- Allow using the
identitylink for all auxiliary parameters. - Introduce argument
negative_rtinpredictandposterior_predictto distinguish responses on the upper and lower boundary inwienerdiffusion models thanks to Guido Biele. - Introduce method
control_paramsto conveniently extract control parameters of the NUTS sampler. - Introduce argument
int_conditionsinmarginal_effectsfor enhanced plotting of two-way interactions thanks to a discussion with Thomas Kluth. - Improve flexibility of the
conditionsargument ofmarginal_effects. - Extend method
stanplotto correctly handle some newmcmc_plots of thebayesplotpackage.
- Improve the
updatemethod to only recompile models when theStancode changes. - Warn about divergent transitions when calling
summaryorprintonbrmsfitobjects. - Warn about unused variables in argument
conditionswhen callingmarginal_effects. - Export and document several distribution functions that were previously kept internal.
- Fix problems with the inclusion of offsets occurring for more complicated formulas thanks to Christian Stock.
- Fix a bug that led to invalid Stan code when sampling from priors in intercept only models thanks to Tom Wallis.
- Correctly check for category specific group-level effects in non-ordinal models thanks to Wayne Folta.
- Fix problems in
pp_checkwhen specifying argumentnewdatatogether with argumentsxorgroup. - Rename the last column in the output of
hypothesisto"star"in order to avoid problems with zero length column names thanks to the GitHub user puterleat. - Add a missing new line statement at the end of the
summaryoutput thanks to Thomas Kluth.
- Allow
horseshoeandlassopriors to be applied on population-level effects of non-linear and auxiliary parameters. - Force recompiling
Stanmodels inupdate.brmsfitvia argumentrecompile.
- Avoid indexing of matrices in non-linear models to slightly improve sampling speed.
- Fix a severe problem (introduced in version 1.5.0), when predicting
Betamodels thanks to Vivian Lam. - Fix problems when summarizing some models fitted with older version of
brmsthanks to Vivian Lam. - Fix checks of argument
groupin methodpp_checkthanks to Thomas K. - Get arguments
subsetandnsamplesworking correctly inmarginal_smooths.
- Implement the generalized extreme value distribution via family
gen_extreme_value. - Improve flexibility of the
horseshoeprior thanks to Juho Piironen. - Introduce auxiliary parameter
muas an alternative to specifying effects within theformulaargument in functionbrmsformula. - Return fitted values of auxiliary parameters via argument
auxparof methodfitted. - Add vignette
"brms_multilevel", in which the advanced formula syntax ofbrmsis explained in detail using several examples.
- Refactor various parts of the package to ease implementation of mixture and multivariate models in future updates. This should not have any user visible effects.
- Save the version number of
rstanin elementversionofbrmsfitobjects.
- Fix a rare error when predicting
von_misesmodels thanks to John Kirwan.
- Fit quantile regression models via family
asym_laplace(asymmetric Laplace distribution). - Specify non-linear models in a (hopefully) more intuitive way using
brmsformula. - Fix auxiliary parameters to certain values through
brmsformula. - Allow
familyto be specified inbrmsformula. - Introduce family
frechetfor modelling strictly positive responses. - Allow truncation and censoring at the same time.
- Introduce function
prior_allowing to specify priors using one-sided formulas orquote. - Pass priors to
Standirectly without performing any checks by settingcheck = FALSEinset_prior. - Introduce method
nsamplesto extract the number of posterior samples. - Export the main formula parsing function
parse_bf. - Add more options to customize two-dimensional surface plots created by
marginal_effectsormarginal_smooths.
- Change structure of
brmsformulaobjects to be more reliable and easier to extend. - Make sure that parameter
nunever falls below1to reduce convergence problems when using familystudent. - Deprecate argument
nonlinear. - Deprecate family
geometric. - Rename
cov_fixedtocor_fixed. - Make handling of addition terms more transparent by exporting and documenting related functions.
- Refactor helper functions of the
fittedmethod to be easier to extend in the future. - Remove many units tests of internal functions and add tests of user-facing functions instead.
- Import some generics from
nlmeinstead oflme4to remove dependency on the latter one. - Do not apply
structuretoNULLanymore to get rid of warnings in R-devel.
- Fix problems when fitting smoothing terms with factors as
byvariables thanks to Milani Chaloupka. - Fix a bug that could cause some monotonic effects to be ignored in the
Stancode thanks to the GitHub user bschneider. - Make sure that the data of models with only a single observation are
compatible with the generated
Stancode. - Handle argument
algorithmcorrectly inupdate.brmsfit. - Fix a bug sometimes causing an error in
marginal_effectswhen using familywienerthanks to Andrew Ellis. - Fix problems in
fittedwhen applied tozero_inflated_betamodels thanks to Milani Chaloupka. - Fix minor problems related to the prediction of autocorrelated models.
- Fix a few minor bugs related to the backwards compatibility of multivariate
and related models fitted with
brms< 1.0.0.
- Introduce the auxiliary parameter
disc('discrimination') to be used in ordinal models. By default it is not estimated but fixed to one. - Create
marginal_effectsplots of two-way interactions of variables that were not explicitely modeled as interacting.
- Move
rstanto 'Imports' andRcppto 'Depends' in order to avoid loadingrstaninto the global environment automatically.
- Fix a bug leading to unexpected errors in some S3 methods when applied to ordinal models.
- Fit error-in-variables models using function
mein the model formulae. - Fit multi-membership models using function
mmin grouping terms. - Add families
exgaussian(exponentially modified Gaussian distribution) andwiener(Wiener diffusion model distribution) specifically suited to handle for response times. - Add the
lassoprior as an alternative to thehorseshoeprior for sparse models. - Add the methods
log_posterior,nuts_params,rhat, andneff_ratioforbrmsfitobjects to conveniently access quantities used to diagnose sampling behavior. - Combine chains in method
as.mcmcusing argumentcombine_chains. - Estimate the auxiliary parameter
sigmain models with known standard errors of the response by setting argumentsigmatoTRUEin addition functionse. - Allow visualizing two-dimensional smooths with the
marginal_smoothsmethod.
- Require argument
datato be explicitely specified in all user facing functions. - Refactor the
stanplotmethod to usebayesploton the backend. - Use the
bayesplottheme as the default in all plotting functions. - Add the abbreviations
moandcsto specify monotonic and category specific effects respectively. - Rename generated variables in the data.frames returned by
marginal_effectsto avoid potential naming conflicts. - Deprecate argument
clusterand use the nativecoresargument ofrstaninstead. - Remove argument
cluster_typeas it is no longer required to apply forking. - Remove the deprecated
partialargument.
- Add the new family
hurdle_lognormalspecifically suited for zero-inflated continuous responses. - Introduce the
pp_checkmethod to perform various posterior predictive checks using thebayesplotpackage. - Introduce the
marginal_smoothsmethod to better visualize smooth terms. - Allow varying the scale of global shrinkage parameter of the
horseshoeprior. - Add functions
priorandprior_stringas 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
coefmethod to better handle category specific group-level effects. - Introduce the
prior_summarymethod forbrmsfitobjects to obtain a summary of prior distributions applied. - Sample from the prior of the original population-level intercept when
sample_prior = TRUEeven in models with an internal temporary intercept used to improve sampling efficiency. - Introduce methods
posterior_predict,predictive_errorandlog_likas (partial) aliases ofpredict,residuals, andlogLikrespectively.
- Improve computation of Bayes factors in the
hypothesismethod 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
bayesplotpackage as the new backend ofplot.brmsfit.
- Better mimic
mgcvwhen parsing smooth terms to make sure all arguments are correctly handled. - Avoid an error occurring during the prediction of new data when grouping factors with only a single factor level were supplied thanks to Tom Wallis.
- Fix
marginal_effectsto consistently produce plots for all covariates in non-linear models thanks to David Auty. - Improve the
updatemethod to better recognize situations where recompliation of theStancode is necessary thanks to Raphael P.H. - Allow to correctly
updatethesample_priorargument to value"only". - Fix an unexpected error occurring in many S3 methods when the thinning rate is not a divisor of the total number of posterior samples thanks to Paul Zerr.
- Estimate monotonic group-level effects.
- Estimate category specific group-level effects.
- Allow
t2smooth terms based on multiple covariates. - Estimate interval censored data via the addition argument
censin the model formula. - Allow to compute
residualsalso based on predicted values instead of fitted values.
- Use the prefix
bcsin parameter names of category specific effects and the prefixbmin parameter names of monotonic effects (instead of the prefixb) to simplify their identification. - Ensure full compatibility with
ggplot2version 2.2.
- Fix a bug that could result in incorrect threshold estimates for
cumulativeandsratiomodels thanks to Peter Congdon. - Fix a bug that sometimes kept distributional
gammamodels from being compiled thanks to Tim Beechey. - Fix a bug causing an error in
predictand related methods when two-level factors or logical variables were used as covariates in non-linear models thanks to Martin Schmettow. - Fix a bug causing an error when passing lists to additional arguments of smoothing functions thanks to Wayne Folta.
- Fix a bug causing an error in the
prior_samplesmethod for models with multiple group-level terms that refer to the same grouping factor thanks to Marco Tullio Liuzza. - Fix a bug sometimes causing an error when calling
marginal_effectsfor weighted models.
\subsection{MINOR CHANGES
- Center design matrices inside the Stan code instead of inside
make_standata. - Get rid of several warning messages occurring on CRAN.
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.
- 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 extended
lme4syntax. - 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 named
ziandhudefining 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 argument
truncin order to model varying truncation points.
- 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.
- 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
ranefandcoefmethods with non-linear models. - Fix problems that occasionally occurred when handling
dplyrdatasets thanks to the GitHub user Atan1988.
- Add support for generalized additive mixed models (GAMMs). Smoothing terms can
be specified using the
sandt2functions in the model formula. - Introduce
as.data.frameandas.matrixmethods forbrmsfitobjects.
- The
gaussian("log")family no longer implies a log-normal distribution, but a normal distribution with log-link to match the behavior ofglm. The log-normal distribution can now be specified via familylognormal. - Update syntax of
Stanmodels to match the recommended syntax ofStan2.10.
- The
ngrpsmethod should now always return the correct result for non-linear models. - Fix problems in
marginal_effectsfor models using the reserved variableinterceptthanks to Frederik Aust. - Fix a bug in the
printmethod ofbrmshypothesisobjects that could lead to duplicated and thus invalid row names. - Residual standard deviation parameters of multivariate models are again
correctly displayed in the output of the
summarymethod. - Fix problems when using variational Bayes algorithms with
brmswhile havingrstan>= 2.10.0 installed thanks to the GitHub user cwerner87.
- Allow the '/' symbol in group-level terms in the
formulaargument to indicate nested grouping structures. - Allow to compute
WAICandLOObased on the pointwise log-likelihood using argumentpointwiseto substantially reduce memory requirements.
- Add horizontal lines to the errorbars in
marginal_effectsplots for factors.
- Fix a bug that could lead to a cryptic error message when changing some parts
of the model
formulausing theupdatemethod. - Fix a bug that could lead to an error when calling
marginal_effectsfor predictors that were generated with thebase::scalefunction thanks to Tom Wallis. - Allow interactions of numeric and categorical predictors in
marginal_effectsto be passed to theeffectsargument in any order. - Fix a bug that could lead to incorrect results of
predictand related methods when called withnewdatain models using thepolyfunction thanks to Brock Ferguson. - Make sure that user-specified factor contrasts are always applied in multivariate models.
- Add support for
monotoniceffects allowing to use ordinal predictors without assuming their categories to be equidistant. - Apply multivariate formula syntax in categorical models to considerably increase modeling flexibility.
- Add the addition argument
dispto define multiplicative factors on dispersion parameters. For linear models,dispapplies to the residual standard deviationsigmaso that it can be used to weight observations. - Treat the fixed effects design matrix as sparse by using the
sparseargument ofbrm. This can considerably reduce working memory requirements if the predictors contain many zeros. - Add the
cor_fixedcorrelation structure to allow for fixed user-defined covariance matrices of the response variable. - Allow to pass self-defined
Stanfunctions via argumentstan_funsofbrm. - Add the
expose_functionsmethod allowing to expose self-definedStanfunctions inR. - Extend the functionality of the
updatemethod to allow all model parts to be updated. - Center the fixed effects design matrix also in multivariate models. This may lead to increased sampling speed in models with many predictors.
- Refactor
Stancode and data generating functions to be more consistent and easier to extent. - Improve checks of user-define prior specifications.
- Warn about models that have not converged.
- Make sure that regression curves computed by the
marginal_effectsmethod are always smooth. - Allow to define category specific effects in ordinal models directly within
the
formulaargument.
- Fix problems in the generated
Stancode when using very long non-linear model formulas thanks to Emmanuel Charpentier. - Fix a bug that prohibited to change priors on single standard deviation parameters in non-linear models thanks to Emmanuel Charpentier.
- Fix a bug that prohibited to use nested grouping factors in non-linear models thanks to Tom Wallis.
- Fix a bug in the linear predictor computation within
R, occurring for ordinal models with multiple category specific effects. This could lead to incorrect outputs ofpredict,fitted, andlogLikfor these models. - Make sure that the global
"contrasts"option is not used when post-processing a model.
- Implement generalized non-linear models, which can be specified with the help
of the
nonlinearargument inbrm. - Compute and plot marginal effects using the
marginal_effectsmethod thanks to the help of Ruben Arslan. - Implement zero-inflated beta models through family
zero_inflated_betathanks to the idea of Ali Roshan Ghias. - Allow to restrict domain of fixed effects and autocorrelation parameters using
new arguments
lbandubin functionset_priorthanks to the idea of Joel Gombin. - Add an
as.mcmcmethod for compatibility with thecodapackage. - Allow to call the
WAIC,LOO, andlogLikmethods with new data.
- Make sure that
brmsis fully compatible withlooversion 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
summaryby default anymore to reduce computation time of the method for larger models. - The
cauchyfamily 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 of
rstan(i.e.,chains = 4andwarmup = 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
themeargument in all plotting functions. - Only show the legend once per page, when computing trace and density plots
with the
plotmethod. - Move code of self-defined
Stanfunctions toinst/chunksand incorporate them into the models usingrstan::stanc_builder. Also, add unit tests for these functions.
- Fix problems when predicting with
newdatafor zero-inflated and hurdle models thanks to Ruben Arslan. - Fix problems when predicting with
newdataif it is a subset of the data stored in abrmsfitobject thanks to Ruben Arslan. - Fix data preparation for multivariate models if some responses are
NAthanks to Raphael Royaute. - Fix a bug in the
predictmethod 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_poissonandhurdle_negbinomialmodels. This may lead to minor changes in the values obtained byWAICandLOOfor these models. - Fix some backwards compatibility issues of models fitted with version <= 0.5.0 thanks to Ulf Koether.
- Use variational inference algorithms as alternative to the NUTS sampler by
specifying argument
algorithmin thebrmfunction. - Implement beta regression models through family
Beta. - Implement zero-inflated binomial models through family
zero_inflated_binomial. - Implement multiplicative effects for family
bernoullito fit (among others) 2PL IRT models. - Generalize the
formulaargument for zero-inflated and hurdle models so that predictors can be included in only one of the two model parts thanks to the idea of Wade Blanchard. - Combine fixed and random effects estimates using the new
coefmethod. - Call the
residualsmethod withnewdatathanks to the idea of Friederike Holz-Ebeling. - Allow new levels of random effects grouping factors in the
predict,fitted, andresidualsmethods using argumentallow_new_levels. - Selectively exclude random effects in the
predict,fitted, andresidualsmethods using argumentre_formula. - Add a
plotmethod for objects returned by methodhypothesisto visualize prior and posterior distributions of the hypotheses being tested.
- Improve evaluation of the response part of the
formulaargument to reliably allow terms with more than one variable (e.g.,y/x ~ 1). - Improve sampling efficiency of models containing many fixed effects through centering the fixed effects design matrix thanks to Wayne Folta.
- Improve sampling efficiency of models containing uncorrelated random effects
specified by means of
(random || group)terms informulathanks to Ali Roshan Ghias. - Utilize user-defined functions in the
Stancode of ordinal models to improve readability as well as sampling efficiency. - Make sure that model comparisons using
LOOorWAICare only performed when models are based on the same responses. - Use some generic functions of the
lme4package to avoid unnecessary function masking. This leads to a change in the argument order of methodVarCorr. - Change the
ggplottheme in theplotmethod through argumenttheme. - Remove the
n.prefix in argumentsn.iter,n.warmup,n.thin,n.chains, andn.clusterof thebrmfunction. The old argument names remain usable as deprecated aliases. - Amend names of random effects parameters to simplify matching with their respective grouping factor levels.
- Fix a bug in the
hypothesismethod that could cause valid model parameters to be falsely reported as invalid. - Fix a bug in the
prior_samplesmethod that could cause prior samples of parameters of the same class to be artificially correlated. - Fix
Stancode of linear models with moving-average effects and non-identity link functions so that they no longer contain code related solely to autoregressive effects. - Fix a bug in the evaluation of
formulathat could cause complicated random effects terms to be falsely treated as fixed effects. - Fix several bugs when calling the
fittedandpredictmethods withnewdatathanks to Ali Roshan Ghias.
- Add support for zero-inflated and hurdle models thanks to the idea of Scott Baldwin.
- Implement inverse gaussian models through family
inverse.gaussian. - Allow to specify truncation boundaries of the response variable thanks to the idea of Maciej Beresewicz.
- Add support for autoregressive (AR) effects of residuals, which can be modeled
using the
cor_arandcor_armafunctions. - Stationary autoregressive-moving-average (ARMA) effects of order one can now also be fitted using special covariance matrices.
- Implement multivariate student-t models.
- Binomial and ordinal families now support the
cauchitlink function. - Allow family functions to be used in the
familyargument. - Easy access to various
rstanplotting functions using thestanplotmethod. - Implement horseshoe priors to model sparsity in fixed effects coefficients thanks to the idea of Josh Chang.
- Automatically scale default standard deviation priors so that they remain only weakly informative independent on the response scale.
- Report model weights computed by the
loopackage when comparing multiple fitted models.
- Separate the fixed effects Intercept from other fixed effects in the
Stancode to slightly improve sampling efficiency. - Move autoregressive (AR) effects of the response from the
cor_arto thecor_arrfunction as the result of implementing AR effects of residuals. - Improve checks on argument
newdataused in thefittedandpredictmethod. - Method
standatais now the only way to extract data that was passed toStanfrom abrmsfitobject. - Slightly improve
Stancode for models containing no random effects. - Change the default prior of the degrees of freedom of the
studentfamily togamma(2,0.1). - Improve readability of the output of method
VarCorr. - Export the
make_stancodefunction to give users direct access toStancode generated bybrms. - Rename the
brmdatafunction tomake_standata. The former remains usable as a deprecated alias. - Improve documentation to better explain differences in autoregressive effects across R packages.
- Fix a bug that could cause an unexpected error when the
predictmethod was called withnewdata. - Avoid side effects of the
rstancompilation routines that could occasionally cause R to crash. - Make
brmswork correctly withlooversion 0.1.3 thanks to Mauricio Garnier Villarreal and Jonah Gabry. - Fix a bug that could cause WAIC and LOO estimates to be slightly incorrect for
gaussianmodels withloglink.
- Compute the Watanabe-Akaike information criterion (WAIC) and leave-one-out
cross-validation (LOO) using the
loopackage. - Provide an interface to
shinystanwith S3 methodlaunch_shiny. - New functions
get_priorandset_priorto make prior specifications easier. - Log-likelihood values and posterior predictive samples can now be calculated within R after the model has been fitted.
- Make predictions based on new data using S3 method
predict. - Allow for customized covariance structures of grouping factors with multiple random effects.
- New S3 methods
fittedandresidualsto compute fitted values and residuals, respectively.
- Arguments
WAICandpredictare removed from thebrmfunction, as they are no longer necessary. - New argument
cluster_typein functionbrmallowing to choose the cluster type created by the parallel package. - Remove chains that fail to initialize while sampling in parallel leaving the other chains untouched.
- Redesign trace and density plots to be faster and more stable.
- S3 method
VarCorrnow always returns covariance matrices regardless of whether correlations were estimated.
- Fix a bug in S3 method
hypothesisrelated to the calculation of Bayes-factors for point hypotheses. - User-defined covariance matrices that are not strictly positive definite for numerical reasons should now be handled correctly.
- Fix problems when a factor is used as fixed effect and as random effects grouping variable at the same time thanks to Ulf Koether.
- Fix minor issues with internal parameter naming.
- Perform additional checking on user defined priors.
- Allow for sampling from all specified proper priors in the model.
- Compute Bayes-factors for point hypotheses in S3 method
hypothesis.
- Fix a bug that could cause an error for models with multiple grouping factors thanks to Jonathan Williams.
- Fix a bug that could cause an error for weighted poisson and exponential models.
- Implement the Watanabe-Akaike Information Criterion (WAIC).
- Implement the
||-syntax for random effects allowing for the estimation of random effects standard deviations without the estimation of correlations. - Allow to combine multiple grouping factors within one random effects argument
using the interaction symbol
:. - Generalize S3 method
hypothesisto be used with all parameter classes not just fixed effects. In addition, one-sided hypothesis testing is now possible. - Introduce new family
multigaussianallowing for multivariate normal regression. - Introduce new family
bernoullifor dichotomous response variables as a more efficient alternative to familiesbinomialorcategoricalin this special case.
- Slightly change the internal structure of brms to reflect that
rstanis finally on CRAN. - Thoroughly check validity of the response variable before the data is passed
to
Stan. - Prohibit variable names containing double underscores
__to avoid naming conflicts. - Allow function calls with several arguments (e.g.
poly(x,3)) in the formula argument of functionbrm. - Always center random effects estimates returned by S3 method
ranefaround zero. - Prevent the use of customized covariance matrices for grouping factors with multiple random effects for now.
- Remove any experimental
JAGScode from the package.
- Fix a bug in S3 method
hypothesisleading to an error when numbers with decimal places were used in the formulation of the hypotheses. - Fix a bug in S3 method
ranefthat caused an error for grouping factors with only one random effect. - Fix a bug that could cause the fixed intercept to be wrongly estimated in the presence of multiple random intercepts thanks to Jarrod Hadfield.
- Introduce new methods
parnamesandposterior_samplesfor class 'brmsfit' to extract parameter names and posterior samples for given parameters, respectively. - Introduce new method
hypothesisfor classbrmsfitallowing to test non-linear hypotheses concerning fixed effects. - Introduce new argument
additionin function brm to get a more flexible approach in specifying additional information on the response variable (e.g., standard errors for meta-analysis). Alternatively, this information can also be passed to theformulaargument directly. - Introduce weighted and censored regressions through argument
additionof function brm. - Introduce new argument
cov.ranefin thebrmfunction allowing for customized covariance structures of random effects thanks to the idea of Boby Mathew. - Introduce new argument
autocorin function brm allowing for autocorrelation of the response variable. - Introduce new functions
cor.ar,cor.ma, andcor.arma, to be used with argumentautocorfor modeling autoregressive, moving-average, and autoregressive-moving-average models.
- Amend parametrization of random effects to increase efficiency of the sampling algorithms.
- Improve vectorization of sampling statements.
- Fix a bug that could cause an error when fitting poisson models while
predict = TRUE. - Fix a bug that caused an error when sampling only one chain while
silent = TRUE.
- New S3 class
brmsfitto be returned by thebrmfunction. - New methods for class
brmsfit:summary,print,plot,predict,fixef,ranef,VarCorr,nobs,ngrps, andformula. - Introduce new argument
silentin thebrmfunction, allowing to suppress most ofStan's intermediate output. - Introduce new families
negbinomial(negative binomial) andgeometricto allow for more flexibility in modeling count data.
- Amend warning and error messages to make them more informative.
- Correct examples in the documentation.
- Extend the README file.
- Fix a bug that caused problems when formulas contained more complicated function calls.
- Fix a bug that caused an error when posterior predictives were sampled for
family
cumulative. - Fix a bug that prohibited to use of improper flat priors for parameters that have proper priors by default.
- Initial release version