Releases: easystats/bayestestR
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
effects
argument 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 respectivetest
option) 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 framedf
with anrvar
column".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_p
argument, to directly convert pd-values into
frequentist p-values. -
p_direction()
gets aremove_na
argument, which defaults toTRUE
, to
removeNA
values 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 thethreshold
argument. -
p_to_pd()
now also works with data frames returned byp_direction()
. If
a data frame contains apd
,p_direction
orPD
column 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_by
andsplit_by
will be deprecated
in future releases of easystats packages. Please useby
instead. 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()
forbrmsfit
objects
that already included amarglik
element 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 newnull
argument 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
0.7.2
CRAN release