Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support {distributional} package #674

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

mattansb
Copy link
Member

@mattansb mattansb commented Sep 6, 2024

library(bayestestR)
library(distributional)

xdist <- c(dist_normal(), dist_poisson(1))

p_direction(xdist, null = 1)
#> Probability of Direction
#> 
#> Parameter |     pd
#> ------------------
#> N(0, 1)   | 84.13%
#> Pois(1)   | 36.79%

2DO

  • Describe
    • map_estimate (Need to copy some code from ggdist:::Mode.distribution()?)
    • point_estimate
    • eti (distributional::hilo())
    • hdi (distributional::hdr())
    • spi (?)
    • bci (?)
    • ci
  • Infer
    • p_direction (density() + cdf())
    • p_map (density())
    • p_rope (density() + cdf())
    • p_significance (density() + cdf())
    • rope (density() + cdf())
    • equivalence_test
  • describe_posterior
  • estimate_density (density())
  • BFs
    • bayesfactor_parameters (density() + cdf())
    • bayesfactor_restricted (simulate?)
    • si (density())
  • Other:
    • NEWS
    • Version bump
    • DOCS
    • TESTS
    • STYLER

@mattansb mattansb changed the title Support {distributional} package Support {distributional} package Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants