Description Usage Arguments Value
Tidiers for ebb_prior objects, which store hyperparameters for a prior fit on some binomial data.
1 2 3 4 5 6 7 8 |
x |
An object of class "ebb_prior", representing a beta-binomial distribution. |
... |
Extra arguments (not used) |
data |
For augment, the original data that should be appended to. |
cred_level |
For augment, the level of the credible intervals for each observation. If NULL, do not add credible intervals. |
newdata |
For augment, a new data set. |
augment
returns the original data frame, with additional
columns corresponding to the new posterior parameters of each observation.
glance
works only on ebb_prior objects fit with "mm" or "mle": that is,
those that have a single alpha and beta for the entire dataset. It returns
those parameters:
alpha |
Estimated alpha (shape1) parameter |
beta |
Estimated beta (shape2) parameter |
mean |
alpha / (alpha + beta): the prior mean |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.