PlotpCOpBIBA: Plots p-confidence and p-bias for Bayesian method given n and alpha level and priors a & b
Description
Plots p-confidence and p-bias for Bayesian method given n and alpha level and priors a & b
Usage
PlotpCOpBIBA(n, alp, a1, a2)
Arguments
n
- Number of trials
alp
- Alpha value (significance level required)
a1
- Shape parameter 1 for prior Beta distribution in Bayesian model
a2
- Shape parameter 2 for prior Beta distribution in Bayesian model
Details
Evaluation of Bayesian Highest Probability Density (HPD) and two tailed
intervals using p-confidence and p-bias for the \(n + 1\) intervals for the
Beta - Binomial conjugate prior model for the probability of success p
References
[1] 2005 Vos PW and Hudson S.
Evaluation Criteria for Discrete Confidence Intervals: Beyond Coverage and Length.
The American Statistician: 59; 137 - 142.