Description Usage Arguments References
Calculate Highest Density Interval from vector of probabilities
1 2 |
x |
numeric vector of probabilities or density estimates. |
prob |
probability coverage. |
method |
method of calculating HDR to be used: |
simulate |
if |
nsim |
number of samples to be drawn if |
Hyndman, R.J. (1996) Computing and graphing highest density regions. American Statistician, 50, 120-126.
Kruschke, J.K. (2011). Doing Bayesian data analysis: A Tutorial with R and BUGS. Elsevier Science/Academic Press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.