Description Usage Arguments Details Value
View source: R/Bayesian Helper Functions.R
Function to calculate beta prior parameters with data from a more general population
1 | equivBetaPars(Nk = NULL, Sk = NULL, Fk = NULL, equiv.obs = 5)
|
Nk |
Number of trials/observations (must be positive if supplied) |
Sk |
Number of successful trials (must be positive if supplied) |
Fk |
Number of failed trials (must be positive if supplied) |
equiv.obs |
Number of equivalent observations supplied by the prior distribution |
Two of Nk, Sk, Fk must be supplied (non-null); the third will be calculated.
data frame with columns alpha and beta, representing parameters shape1 and shape2 of a beta distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.