credibilityinterval {lestat} | R Documentation |
Compute Credibility Interval for a Univariate Distribution
Description
Given a univariate continuous distribution, a credibility interval is computed. Note that the interval is constructed so that there is an equal probability to be above or below the interval.
Usage
credibilityinterval(object, prob = 0.95)
Arguments
object |
A univariate continuous distribution. |
prob |
The probability inside the credibility interval. |
Value
A vector of length two, specifying the interval.
Author(s)
Petter Mostad <mostad@chalmers.se>
See Also
Examples
credibilityinterval(normal())
[Package lestat version 1.9 Index]