priorOnAlpha_spec {telescope} | R Documentation |
Specify prior on \alpha
.
Description
Obtain a function to evaluate the log prior specified
for \alpha
.
Usage
priorOnAlpha_spec(H = c("alpha_const", "gam_05_05", "gam_1_2", "F_6_3"))
Arguments
H |
A character indicating which specification should be used. |
Details
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.
Value
A named list containing:
-
"log_pAlpha"
: a function of the log prior of\alpha
. -
"param"
: a list with the parameters.
[Package telescope version 0.1-0 Index]