Description Usage Arguments Details Value Author(s) See Also Examples
This function calculates the union of prior or posterior highest density (HD) intervals for
a LuckModel
object, i.e. it gives the lowest lower border and the highest upper border
of HD intervals over the set of parametric distributions
defined by a LuckModel
object.
1 |
object |
An object of a class extending |
gamma |
The coverage probability for each of the HD intervals
forming the union. The union then has at least the coverage probability of |
posterior |
Whether the prioror the posterior union of HD intervals should be calculated.
For |
The function makes use of wrapOptim
to optimize over the prior or posterior parameter set,
where for each parameter combination from the set, the function singleHdi
is used
to calculate the highest density interval.
A list with the elements
borders |
A two-element vector containing the lowest lower and the highest upper HD bound. |
lowpars |
The canonical parameters for which the lowest lower HD bound was attained,
itself a list with elements |
upppars |
The canonical parameters for which the highest upper HD bound was attained,
itself a list with elements |
Gero Walter
singleHdi
for the method to calculate the single highest density intervals,
luck
for a general description of the package,
LuckModel
for its central class.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.