Skip to content

Releases: easystats/bayestestR

bayestestR 0.16.1

01 Jul 09:20
fa9c0a1
Compare
Choose a tag to compare

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

20 May 16:01
c649742
Compare
Choose a tag to compare

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. Use effects = "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

28 Apr 14:56
8529546
Compare
Choose a tag to compare

Changes

  • effective_sample(), and functions that call effective_sample() (like
    describe_posterior() with the respective test 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() and point_estimate(centrality = "MAP") for
    vectors with only one unique value.

bayestestR 0.15.2

07 Feb 10:12
f94b514
Compare
Choose a tag to compare

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

17 Jan 16:00
fb746e3
Compare
Choose a tag to compare

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

17 Oct 12:00
080f664
Compare
Choose a tag to compare

Changes

  • Support for posterior::rvar-type column in data frames.
    For example, a data frame df with an rvar column ".pred" can now be
    called directly via p_direction(df, rvar_col = ".pred").

  • Added support for {marginaleffects}

  • The ROPE or threshold ranges in rope(), describe_posterior(), p_significance()
    and equivalence_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 in pd_to_p().

    • p_direction() gets an as_p argument, to directly convert pd-values into
      frequentist p-values.

    • p_direction() gets a remove_na argument, which defaults to TRUE, to
      remove NA 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 the threshold argument.

  • p_to_pd() now also works with data frames returned by p_direction(). If
    a data frame contains a pd, p_direction or PD 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 a as.numeric() and as.vector()
    method.

Bug fixes

  • Fixed warning in CRAN check results.

bayestestR 0.14.0

24 Jul 15:11
77a9766
Compare
Choose a tag to compare

Breaking Changes

  • Arguments named group, at, group_by and split_by will be deprecated
    in future releases of easystats packages. Please use by 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 with 0 + Intercept
    specification in the model formula.

bayestestR 0.13.1

07 Apr 18:36
035da1e
Compare
Choose a tag to compare

Changes

  • Improved speed performance when functions are called using do.call().

  • Improved speed performance to bayesfactor_models() for brmsfit objects
    that already included a marglik element in the model object.

New functionality

  • as.logical() for bayesfactor_restricted() results, extracts the boolean
    vector(s) the mark which draws are part of the order restriction.

Bug fixes

  • p_map() gains a new null 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

08 Apr 06:30
Compare
Choose a tag to compare

CRAN release

0.7.2

20 Jul 09:29
Compare
Choose a tag to compare

CRAN release