Releases: easystats/bayestestR
bayestestR 0.17.0
Changes
-
rope()(and by extensionp_rope()) gain a newcomplementargument such
thatrope(x, complement = TRUE)returns the ROPE posterior probability
together with the posterior probabilities above/below the ROPE (the
complementary probabilities). -
Added
display()methods for bayestestR objects. Thedisplay()methods
also get a newformatoption,format = "tt", to produce tables with the
tinytablepackage. -
The long deprecated
rnorm_perfect()function has been removed. Use
distribution_normal()instead. -
Prepare for upcoming changes in marginaleffects (0.29.0).
bayestestR 0.16.1
Changes
-
Improved efficiency for
describe_posterior(). -
Minor improvements for models with multinomial response variables.
-
Minor improvements for mixture models from package brms.
bayestestR 0.16.0
Changes
- Revised code-base to address changes in latest insight update. Dealing with
larger models (many parameters, many posterior samples) from packages brms
and rstanarm is more efficient now. Furthermore, the options for the
effectsargument have a new behavior."all"only returns fixed effects
and random effects variance components, but no longer the group level
estimates. Useeffects = "full"to return all parameters. This change is
mainly to be more flexible and gain more efficiency for models with many
parameters and / or many posterior draws.
bayestestR 0.15.3
Changes
effective_sample(), and functions that calleffective_sample()(like
describe_posterior()with the respectivetestoption) now also return
the tail ESS.
Bug fixes
-
describe_posterior()now returns a columns with response levels for
marginaleffects objects applied to categorical or multinomial Stan models. -
describe_posterior()now returns a columns with response variables for
marginaleffects objects applied to multivariate response Stan models. -
Fixed issue in
map_estimate()andpoint_estimate(centrality = "MAP")for
vectors with only one unique value.
bayestestR 0.15.2
Changes
-
describe_posterior()no longer re-samples a model when computing
indices. -
describe_posterior()calls tests only when needed. Before, there was a
minimal overhead by calling tests that were not requested.
Bug fixes
- Fixed failing test for Mac OS.
bayestestR 0.15.1
Changes
- Several minor changes to deal with recent changes in other packages.
Bug fixes
- Fix to
emmeans/marginaleffects/data.frame(<rvar>)methods when using multiple credible levels (#688).
bayestestR 0.15.0
Changes
-
Support for
posterior::rvar-type column in data frames.
For example, a data framedfwith anrvarcolumn".pred"can now be
called directly viap_direction(df, rvar_col = ".pred"). -
Added support for
{marginaleffects} -
The ROPE or threshold ranges in
rope(),describe_posterior(),p_significance()
andequivalence_test()can now be specified as a list. This allows for different
ranges for different parameters. -
Results from objects generated by
{emmeans}(emmGrid/emm_list) now
return results with appended grid-data. -
Usability improvements for
p_direction():-
Results from
p_direction()can directly be used inpd_to_p(). -
p_direction()gets anas_pargument, to directly convert pd-values into
frequentist p-values. -
p_direction()gets aremove_naargument, which defaults toTRUE, to
removeNAvalues from the input before calculating the pd-values. -
Besides the existing
as.numeric()method,p_direction()now also has an
as.vector()method.
-
-
p_significance()now accepts non-symmetric ranges for thethresholdargument. -
p_to_pd()now also works with data frames returned byp_direction(). If
a data frame contains apd,p_directionorPDcolumn name, this is assumed
to be the pd-values, which are then converted to p-values. -
p_to_pd()for data frame inputs gets aas.numeric()andas.vector()
method.
Bug fixes
- Fixed warning in CRAN check results.
bayestestR 0.14.0
Breaking Changes
-
Arguments named
group,at,group_byandsplit_bywill be deprecated
in future releases of easystats packages. Please usebyinstead. This
affects following functions in bayestestR:estimate_density()
Changes
-
bayesian_as_frequentist()now supports more model families from Bayesian
models that can be successfully converted to their frequentists counterparts. -
bayesfactor_models()now throws an informative error when Bayes factors for
comparisons could not be calculated.
Bug fixes
- Fixed issue in
bayesian_as_frequentist()for brms models with0 + Intercept
specification in the model formula.
bayestestR 0.13.1
Changes
-
Improved speed performance when functions are called using
do.call(). -
Improved speed performance to
bayesfactor_models()forbrmsfitobjects
that already included amarglikelement in the model object.
New functionality
as.logical()forbayesfactor_restricted()results, extracts the boolean
vector(s) the mark which draws are part of the order restriction.
Bug fixes
-
p_map()gains a newnullargument to specify any non-0 nulls. -
Fixed non-working examples for
ci(method = "SI"). -
Fixed wrong calculation of rope range for model objects in
describe_posterior(). -
Some smaller bug fixes.
0.9.0
CRAN release