HPDcrd {evidence} | R Documentation |
function used to produce a Bayesian credible interval of a unimodal distribution of empirical values using the Highest Posterior Probability approach
HPDcrd(x, alpha = 0.05)
x |
a vector of empirical values |
alpha |
1 - alpha is the desired level of credibility |
a vector of the lower and upper limits of the 95% credible interval calculated using a standard algorithm
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
HPDcrd(rnorm(1000))