bayestestR 0.7.3 Unreleased

New functions

  • unupdate(), a utility function to get Bayesian models un-fitted from the data, representing the priors only.

Bug fixes

  • Fixed issue in describe_posterior() for multiple-response models.
  • Fixed issue in collinearity-check for rope() for models with less than two parameters.
  • Fixed issue in print-method for mediation() with stanmvreg-models, which displays the wrong name for the response-value.
  • Fixed issue in effective_sample() for models with only one parameter.

bayestestR 0.7.2 2020-07-20

New functions

  • mediation(), to compute average direct and average causal mediation effects of multivariate response models (brmsfit, stanmvreg).

Bug fixes

bayestestR 0.7.0 2020-06-19

General

  • Preliminary support for stanfit objects.
  • Added support for bayesQR objects.

Changes to functions

Bug fixes

  • Link transformation are now taken into account for emmeans objets. E.g., in describe_posterior().
  • Fix diagnostic_posterior() when algorithm is not “sampling”.
  • Minor revisions to some documentations.
  • Fix CRAN check issues for win-old-release.

bayestestR 0.6.0 2020-04-20

Changes to functions

Bug fixes

bayestestR 0.5.3 2020-03-26

General

  • Support for bcplm objects (package cplm)

Changes to functions

Bug fixes

bayestestR 0.5.0 2020-01-18

General

Breaking changes

Bug fixes

  • Fixed mistake in description of p_significance().
  • Fixed error when computing BFs with emmGrid based on some non-linear models ( #260 ).
  • Fixed wrong output for percentage-values in print.equivalence_test().
  • Fixed issue in describe_posterior() for BFBayesFactor-objects with more than one model.

bayestestR 0.4.0 2019-10-20

New functions / features

Bug fixes

  • Fixed bug in simulate_prior() for stanreg-models when autoscale was set to FALSE

bayestestR 0.3.0 2019-09-22

General

New functions / features

  • check_prior() to check if prior is informative

  • simulate_prior() to simulate model’s priors as distributions

  • distribution_gamma() to generate a (near-perfect or random) Gamma distribution

  • contr.bayes function for orthogonal factor coding (implementation from Singmann & Gronau’s bfrms, used for proper prior estimation when factor have 3 levels or more. See Bayes factor vignette

    Changes to functions

  • Added support for sim, sim.merMod (from arm::sim()) and MCMCglmm-objects to many functions (like hdi(), ci(), eti(), rope(), p_direction(), point_estimate(), …)

  • describe_posterior() gets an effects and component argument, to include the description of posterior samples from random effects and/or zero-inflation component.

  • More user-friendly warning for non-supported models in bayesfactor()-methods

Bug fixes

bayestestR 0.2.5 2019-08-06

Breaking changes

  • rope_range() for binomial model has now a different default (-.18; .18 ; instead of -.055; .055)
  • rope(): returns a proportion (between 0 and 1) instead of a value between 0 and 100
  • p_direction(): returns a proportion (between 0.5 and 1) instead of a value between 50 and 100 (#168)
  • bayesfactor_savagedickey(): hypothesis argument replaced by null as part of the new bayesfactor_parameters() function

New functions / features

Minor changes

Bug fixes

bayestestR 0.2.2 2019-06-20

Breaking changes

New functions / features

Minor changes

  • Improved tutorial 2

Bug fixes

bayestestR 0.2.0 2019-05-29

Breaking changes

New functions / features

Minor changes

  • Improved documentation
  • Improved testing
  • p_direction(): improved printing
  • rope() for model-objects now returns the HDI values for all parameters as attribute in a consistent way
  • Changes legend-labels in plot.equivalence_test() to align plots with the output of the print()-method (#78)

Bug fixes

  • hdi() returned multiple class attributes (#72)
  • Printing results from hdi() failed when ci-argument had fractional parts for percentage values (e.g. ci = .995).
  • plot.equivalence_test() did not work properly for brms-models (#76).

bayestestR 0.1.0 2019-04-08

  • CRAN initial publication and 0.1.0 release
  • Added a NEWS.md file to track changes to the package