powered by
Computes the shortest credible interval within which an unobserved parameter value falls with a particular probability.
interval_credible(x, ...)# S4 method for numeric interval_credible(x, level = 0.95)
# S4 method for numeric interval_credible(x, level = 0.95)
A three-columns numeric
numeric
matrix giving the lower and upper boundaries of the credible interval and associated probability.
matrix
A numeric vector.
Currently not used.
A length-one numeric vector giving the confidence level.
N. Frerebeau
Other summary statistics: confidence_binomial(), confidence_mean(), confidence_multinomial(), interval_hdr()
confidence_binomial()
confidence_mean()
confidence_multinomial()
interval_hdr()
## HDR of the Old Faithful eruption times interval_hdr(faithful$eruptions)
Run the code above in your browser using DataLab