Skip to content

bayesplot v1.8.0

Compare
Choose a tag to compare
@jgabry jgabry released this 11 Jan 19:32
· 335 commits to master since this release

Bug fixes

  • mcmc_areas() tries to use less vertical blank space. (#218, #230)

  • Fix bug in color_scheme_view() minimal theme (#213).

  • Fix error in mcmc_acf() for certain input types. (#244, #245, @hhau)

New features

  • New plotting functions ppc_dens_overlay_grouped() and ppc_ecdf_overlay_grouped()
    for plotting density and cumulative distributions of the posterior predictive
    distribution (versus observed data) by group. (#212)

  • New plotting function ppc_km_overlay() for outcome variables that are
    right-censored. Empirical CCDF estimates of yrep are compared with the
    Kaplan-Meier estimate of y. (#233, #234, @fweber144)

  • ppc_loo_pit_overlay() now uses a boundary correction for an improved kernel
    density estimation. The new argument boundary_correction defaults to TRUE but
    can be set to FALSE to recover the old version of the plot. (#171, #235,
    @ecoronado92)

  • CmdStanMCMC objects (from CmdStanR) can now be used with extractor
    functions nuts_params(), log_posterior(), rhat(), and
    neff_ratio(). (#227)

  • On the y axis, ppc_loo_pit_qq(..., compare = "normal") now plots standard
    normal quantiles calculated from the PIT values (instead of the standardized
    PIT values). (#240, #243, @fweber144)

  • mcmc_rank_overlay() gains argument facet_args. (#221, @hhau)

  • For mcmc_intervals() the sizeof the points and interval lines can be set withmcmc_intervals(..., outer_size, inner_size, point_size)`. (#215, #228, #229)