Description Usage Arguments Details Value Examples
Parameterization of a Beta distribution from elicited mode and quantiles.
1 2 |
mode |
scalar representing the elicited mode of the variable of interest. Must be a number between 0 and 1. |
confidence |
scalar representing the the level of confidence on the definition of |
maximum |
scalar representing the elicited maximum value of the variable of interest. Must be a number between 0 and 1. |
minimum |
scalar representing the elicited minimum value of the variable of interest. Must be a number between 0 and 1. |
summary |
logical. If FALSE (default), only the parameters a (shape1) and b (shape2) are returned. If TRUE, the mean the variance and the quantiles are also returned. |
quantiles |
|
The parameters a and b are calculated using the algorithm implemented in the epi.betabuster
function of the epiR package.
If summary == FALSE
, a numeric
vector
with the prameters a and b. If summary == TRUE
, a list
with the parameters a and b, as well as summary statistics of the distribution.
1 2 | ElicitBeta(mode = 0.3, maximum = 0.5, confidence = 0.95, summary = FALSE)
ElicitBeta(mode = 0.99, minimum = 0.97, confidence = 0.95, summary = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.