Description Usage Arguments Details Value
Find points on a grid within a 100p
% highest
posterior density region for the tuning parameter, a
1 | a.hpd(a_grid, posterior, level = 0.95)
|
a_grid |
A vector of (preferably evenly spaced) 'a' values (between 0 and 1). |
posterior |
The values of the posterior density at
each point in |
level |
Size of the highest posterior density region. |
The 100p
% highest posterior density region for 'a'
is the subset of the interval between 0 and 1, which
contains 100p
% of the probability.
A data frame with two columns: the values of the grid within the hpd region and the value of the posterior at each point in this grid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.