- Improved speed performance when functions are called using
CRAN release: 2022-09-18
The minimum needed R version has been bumped to
contr.equalprior(contrasts = FALSE)(previously
contr.orthonorm) no longer returns an identity matrix, but a shifted
diag(n) - 1/n, for consistency.
p_to_bf(), to convert p-values into Bayes factors. For more accurate approximate Bayes factors, use
bayestestR now supports objects of class
rvarfrom package posterior.
contr.orthonorm) gains two new functions:
contr.equalprior_deviationsto aide in setting more intuitive priors.
CRAN release: 2022-05-02
Bayesfactor_models()for frequentist models now relies on the updated
insight::get_loglikelihood(). This might change some results for REML based models. See documentation.
distribution_*(random = FALSE)functions now rely on
ppoints(), which will result in slightly different results, especially with small
Uncertainty estimation now defaults to
bayestestR functions now support
drawsobjects from package posterior.
rope_range()now handles log(normal)-families and models with log-transformed outcomes.
spi(), to compute shortest probability intervals. Furthermore, the
"spi"option was added as new method to compute uncertainty intervals.
bci()for some objects incorrectly returned the equal-tailed intervals.
Fixed issues related to last brms update.
Fixed bug in
describe_posterior.BFBayesFactor()where Bayes factors were missing from out put ( #442 ).
CRAN release: 2021-05-31
- All Bayes factors are now returned as
log_BF). Printing is unaffected. To retrieve the raw BFs, you can run
CRAN release: 2021-04-08
ciwidth has been changed to 0.95 instead of 0.89 (see here). This should not come as a surprise to the long-time users of
bayestestRas we have been warning about this impending change for a while now :)
Removed the experimental function
CRAN release: 2021-01-26
.stanregmethods gain a
componentargument, to also include auxiliary parameters.
CRAN release: 2020-12-05
sexit(), a function for sequential effect existence and significance testing (SEXIT).
Added startup-message to warn users that default ci-width might change in a future update.
Added support for mcmc.list objects.
newdataargument to work with
Fixed issue in Bayes factor vignette (don’t evaluate code chunks if packages not available).
CRAN release: 2020-10-22
Fixed issue with default rope range for
Fixed issue in collinearity-check for
rope()for models with less than two parameters.
Fixed issue in print-method for
stanmvreg-models, which displays the wrong name for the response-value.
Fixed issue in
effective_sample()for models with only one parameter.
CRAN release: 2020-07-20
mediation(), to compute average direct and average causal mediation effects of multivariate response models (
CRAN release: 2020-06-19
CRAN release: 2020-04-20
CRAN release: 2020-03-26
estimate_density()now also works on grouped data frames.
Fixed bug in
weighted_posteriors()to properly weight Intercept-only
Fixed issues related to latest changes in
as.data.frame.brmsfit()from the brms package.
CRAN release: 2020-01-18
p_pointnull()as an alias to
si()function to compute support intervals.
weighted_posteriors()for generating posterior samples averaged across models.
p_significance()now also works for brmsfit-objects.
estimate_density()now also works for MCMCglmm-objects.
componentarguments for stanreg and brmsfit models, to print specific model components.
Support for mcmc objects (package coda)
Provide more distributions via
CRAN release: 2019-10-20
convert_bayesian_to_frequentist()Convert (refit) Bayesian model as frequentist
distribution_binomial()for perfect binomial distributions
simulate_ttest()Simulate data with a mean difference
simulate_correlation()Simulate correlated datasets
p_significance()Compute the probability of Practical Significance (ps)
overlap()Compute overlap between two empirical distributions
method = "mixture"argument added for mixture density estimation
- Fixed bug in
simulate_prior()for stanreg-models when
autoscalewas set to
CRAN release: 2019-09-22
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.bayesfunction 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
componentargument, to include the description of posterior samples from random effects and/or zero-inflation component.
More user-friendly warning for non-supported models in
CRAN release: 2019-08-06
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
hypothesisargument replaced by
nullas part of the new
eti(): Computes equal-tailed intervals
reshape_ci(): Reshape CIs between wide/long
bayesfactor_parameters(): New function, replacing
bayesfactor_savagedickey(), allows for computing Bayes factors against a point-null or an interval-null
bayesfactor_restricted(): Function for computing Bayes factors for order restricted models
bayesfactor_inclusion()now works with
R < 3.6.
CRAN release: 2019-06-20
CRAN release: 2019-05-29
plotting functions now require the installation of the
map_estimate()now returns a single value instead of a dataframe and the
densityparameter has been removed. The MAP density value is now accessible via
point_estimate()added function to compute point estimates
p_direction(): new argument
methodto compute pd based on AUC
area_under_curve(): compute AUC
distribution()functions have been added
probability_at()as alias for
effective_sample()to return the effective sample size of Stan-models
mcse()to return the Monte Carlo standard error of Stan-models
CRAN release: 2019-04-08
CRAN initial publication and 0.1.0 release
NEWS.mdfile to track changes to the package