Learn R Programming

telescope (version 0.2-1)

priorOnAlpha_spec: 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"))

Value

A named list containing:

  • "log_pAlpha": a function of the log prior of \(\alpha\).

  • "param": a list with the parameters.

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.