Description Usage Arguments Details Value Author(s) See Also Examples
Returns the bounds of a highest density (HD) interval for a single distribution
defined by the canonical parameters used in the definition of LuckModel
s.
1 |
object |
An object of a class extending |
n, y |
The canonical parameters n^(0) resp. y^(0) defining the distribution for which to calculate values of the cdf. |
gamma |
The coverage probability of the HD interval. |
The object
is needed for method dispatching only;
its class tells singleHdi
the parametric family the object represents,
i.e., how to interpret the canonical parameters n^(0) and y^(0)
and which functional form the cdf has for that family.
n
and y
may thus be any value that is admissible for the parametric family,
and need not be within the set of parameters defined in object
.
A two-element vector containing the lower and the upper bound of the HD interval.
Gero Walter
luck
for a general description of the package,
unionHdi
for calculating the union of prior or posterior HD intervals
for a certain LuckModel
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.