View source: R/prior_alpha_e0.R
priorOnAlpha_spec | R Documentation |
\alpha
.Obtain a function to evaluate the log prior specified
for \alpha
.
priorOnAlpha_spec(H = c("alpha_const", "gam_05_05", "gam_1_2", "F_6_3"))
H |
A character indicating which specification should be used. |
The following prior specifications are supported:
"alpha_const"
: \alpha
is fixed at 1.
"gam_05_05"
: \alpha \sim
gamma(0.5, 0.5), i.e., shape = 0.5, rate = 0.5.
"gam_1_2"
: \alpha \sim
gamma(1, 2), i.e., shape = 1, rate = 2.
"F_6_3"
: \alpha \sim
F(6, 3), i.e., an F-distribution with degrees of freedom equal to 6 and 3.
A named list containing:
"log_pAlpha"
: a function of the log prior of \alpha
.
"param"
: a list with the parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.