version 0.2.22
Fixes
- plot_posterior()function with spike and slab
priors
Changes
- unifies back-end of prior_mixture()andprior_spike_and_slab()
version 0.2.21
Fixes
- JAGS_formula()function now replaces removed missing
intercept with 0 (so the model matrix remains unchanged)
- resetting silent = FALSEargument in theJAGS_fit()function now fits the model non-silently
again
version 0.2.20
Features
- extending prior functions to accept expression()instead of a parameter, such objects can be use to create prior
distributions that depend on other parameters in JAGS
- extending the formula interface of JAGS_fit()function
to accept expressions that are appended as literal text to the generated
JAGS formula
- extending the formula interface of JAGS_fit()function
to handle uncorrelated random effects via(x||y)(lme4-like) notation
Fixes
- JAGS_estimates_tablenot printing formula prefix when
only spike and slab priors are supplied
version 0.2.19
Features
- adds max_extendoption toautofit_controlargument inJAGS_fit()to limit the number of iterations
for the model extension
- adds JASP progress bar integration
Fixes
- JAGS_diagnostics_density()plots for mixture
distributions
- prior and posterior plot_posterior()for simpleas_mixed_posteriorsobjects
- JAGS_evaluate_formula()for mixture and spike and slab
priors
- set Bayes factors based on alternative only prior distributions to
NA
- better handling of posterior samples in
.fit_to_posterior()
version 0.2.18
Features
- adding prior_mixture()function for creating a mixture
of prior distributions
- adding as_mixed_posteriors()andas_marginal_inference()functions for a single JAGS models
(with spike and slab or mixture priors) to enabling tables and figures
based on the corresponding output
- adding interpret2()function for another way of
creating textual summaries without the need of inference and samples
objects
- speedup and improvements to the
runjags_estimates_table()function
Fixes
- small fixes for expansion of the RoBMA functionality
version 0.2.17
Features
- adding informed prior distributions for dichotomous and time to
event outcomes based on Cochrane Database of Systematic Reviews to
prior_informed()function
- adding bridge object convenience function
bridge_object()(fixes:
https://github.com/FBartos/BayesTools/issues/28)
- adding Na/NaNtests forcheck_functions
(fixes: https://github.com/FBartos/BayesTools/issues/26)
Fixes
- ability to run more than 4 chains (fixes:
https://github.com/FBartos/BayesTools/issues/20)
version 0.2.16
Features
- update an existing JAGS fit with JAGS_extend()function
- new element of the autofit_controlargument inJAGS_fit():"restarts"allows to restart model
initialization up torestartstimes in case of failure
version 0.2.15
Fixes
- fixing repeated print of previous prior distribution in
model_summary_table()in case ofprior_none()
version 0.2.14
Features
- adding contrast = "meandif"to theprior_factorfunction which generates identical prior
distributions for difference between the grand mean and each factor
level
- adding contrast = "independent"to theprior_factorfunction which generates independent identical
prior distributions for each factor level
- remove_columnfunction for removing columns from- BayesTools_tableobjects without breaking the attributes
etc…
- adding empty table functions
(https://github.com/FBartos/BayesTools/issues/10)
- adding remove_parametersargument tomodel_summary_table()
- adding multivariate point distribution functions
- adding pointprior distribution as option toprior_factorwith"meandif"and"orthonormal"contrasts
- adding marginal_posterior()function which creates
marginal prior and posterior distributions (according to a model formula
specification)
- adding Savage_Dickey_BF()function to compute density
ratio Bayes factors based onmarginal_posteriorobjects
- adding marginal_inference()function to combine
information frommarginal_posterior()andSavage_Dickey_BF()
- adding marginal_estimates_table()function to summarizemarginal_inference()objects
- adding plot_marginal()function to visualizemarginal_inference()objects
Changes
- contrast = "meandif"is now the default setting for- prior_factorfunction
- depreciating transform_orthonormalargument in favor of
more generaltransform_factorsargument
- switching dummycontrast/factor attributes totreatmentfor consistency
(https://github.com/FBartos/BayesTools/issues/23)
Fixes
- zero length inputs to check_bool(),check_char(),check_real(),check_int(), andcheck_list()do not throw
error ifallow_NULL = TRUE
- properly aggregating identical priors in the plotting function
(previously overlying multiple spikes on top of each other when
attributes did not match)
- student-tallowed as a prior distribution- name
- fixing factor contrast settings in
JAGS_evaluate_formula
- fixing spike prior transformations
version 0.2.13
Features
- runjags_estimates_table()function can now handle
factor transformations
- plot_posteriorfunction can now handle factor
transformations
- ability to remove parameters from the
runjags_estimates_table()function via theremove_parametersargument
Fixes
- inability to deal with constant intercept in marglik formula
calculation
- runjags_estimates_table()function can now remove
factor spike prior distributions
- marginal likelihood calculation for factor prior distributions with
spike
- mixing samples from vector priors of length 1
- same prior distributions not always combined together properly when
part of them was generated via the formula interface
version 0.2.12
Features
- stan_estimates_summary()function
- reducing dependency on runjags/rjags
Fixes
- dealing with posterior samples from rstan
- dealing with vector posterior samples
- fixing MCMC error of SD calculation for transformed samples
(previously reported 100 times lower)
version 0.2.11
Features
- adding Bernoulli prior distribution
- adding spike and slab type of prior distributions (without marginal
likelihood computations/model-averaging capabilities)
- new vignette comparing Bayes factor computation via marginal
likelihood and spike and slab priors
Fixes
- when a transformation is applied, JAGS summary tables now produce
the mean of the transformed variable (previous versions incorrectly
returned transformation of the mean)
Changes
- runjags_XXX_table functions are now also exported as
JAGS_XXX_functions for consistency with the rest of the code
version 0.2.10
Features
- trace, density, and autocorrelation diagnostic plots for JAGS
models
version 0.2.9
Fixes
- dealing with NaNs in inclusion Bayes factors due to overflow with
very large marginal likelihoods
version 0.2.8
Fixes
- dealing with point prior distributions in
JAGS_marglik_parameters_formulafunction
- posterior samples dropping name in
runjags_estimates_tablefunction
- ensemble_summary_tableand- ensemble_diagnostics_tablefunction can create table
without model components
version 0.2.7
Features
- JAGS_evaluate_formulafor evaluating formulas based on
data and posterior samples (for creating predictions etc)
 
- JAGS_parameter_namesfor transforming formula names
into the JAGS syntax
version 0.2.6
Features
- plot_modelsimplementation for factor predictors
- format_parameter_namesfor cleaning parameter names
from JAGS
- mean,- sd, and- varfunctions
now return the corresponding values for differences from the mean for
the orthonormal prior distributions
Fixes
- proper splitting of transformed posterior samples based on
orthonormal contrasts in runjags_summary_tablefunction
(previous version crashed under other than defaultfit_JAGSsettings)
- always showing name of the comparison group for treatment contrasts
in runjags_summary_tablefunction
- better handling of transformed parameter names in
plot_modelsfunction
version 0.2.5
Features
- add_columnfunction for extending- BayesTools_tableobjects without breaking the attributes
etc…
- ability to suppress the formula parameter prefix in
BayesTools_tablefunctions with withformula_prefixargument
Fixes
- allowing to pass point prior distributions for factor type
predictors
version 0.2.4
Features
- adding possibility to multiply a (formula) prior parameter by
another term (via multiply_byattribute passed with the
prior)
- t-test example vignette
version 0.2.3
Fixes
- fixing error from trying to rename formula parameters in BayesTools
tables when multiple parameters were nested within a component
version 0.2.2
Fixes
- fixing layering of prior and posterior plots in
plot_posterior(posterior is now plotted over the
prior)
version 0.2.1
Fixes
- fixing JAGS code for multivariate-t prior distribution
version 0.2.0
Changes
- ensemble inference, summary, and plot functions now extract the
prior list from attribute of the fit objects (previously, the prior_list
needed to be passed for each model within the model_list as the priors
argument
Features
- adding formula interface for fitting and computing marginal
likelihood of JAGS models
- adding factor prior distributions (with treatment and orthonormal
contrasts)
version 0.1.4
Fixes
- fixing DOIs in the references file
- adds marglik argument inclusion_BFto deal with
over/underflow (Issue #9)
- better passing of BF names through the
ensemble_inference_table()(Issue #11)
Features
- adding logBF and BF01 options to ensemble_summary_table(Issue #7)
version 0.1.3
Features
- prior_informedfunction for creating informed prior
distributions based on the past psychological and medical research
version 0.1.2
Fixes
- prior.plotcan’t plot “spike” with- plot_type == "ggplot"(Issue #6)
- MCMC error/SDprint names in BayesTools tables (Issue
#8)
- JAGS_bridgesampling_posteriorunable to add a parameter
via- add_parameters
Features
- interpretfunction for creating textual summaries based
on inference and samples objects
version 0.1.1
Fixes
- plot_posteriorfails with only mu & PET samples
(Issue #5)
- ordering by “probabilities” does not work in ‘plot_models’ (Issue
#3)
- BF goes to NaN when only a single model is present in
‘models_inference’ (Issue #2)
- summary tables unit tests unable to deal with numerical
precision
- problems with aggregating samples across multiple spikes in
`plot_posterior’
Features
- allow density.prior with range lower == upper (Issue #4)
- moving rstan towards suggested packages
version 0.1.0
version 0.0.0.9010
- plotting functions for models
version 0.0.0.9009
- plotting functions for posterior samples
version 0.0.0.9008
- plotting functions for mixture of priors
version 0.0.0.9007
- improvements to prior plotting functions
version 0.0.0.9006
- ensemble and model summary tables functions
version 0.0.0.9005
- posterior mixing functions
version 0.0.0.9004
- model-averaging functions
version 0.0.0.9003
- JAGS fitting related functions
version 0.0.0.9002
- JAGS bridgesampling related functions
version 0.0.0.9001
- JAGS model building related functions
version 0.0.0.9000
- priors and related methods