priorOnAlpha_spec: Specify prior on alpha.

View source: R/prior_alpha_e0.R

priorOnAlpha_specR 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.


telescope documentation built on April 4, 2025, 2:40 a.m.