construct.priors: construct.priors

View source: R/priors.R

construct.priorsR Documentation

construct.priors

Description

constructs the priors for the clinical model. includes basic bound checks

Usage

construct.priors()

Arguments

r_tau

(0.001) hyperparameter for residual precision tau

d_tau

(0.001) hyperparameter for residual precision tau

d_pi

(1) hyperparameter for prob of kth coefficient != 0

r_pi

(1) hyperparameter for prob of kth coefficient != 0

r_gamma

(0.001) hyperparameter for precision of kth coefficient

d_gamma

(0.001) hyperparameter for precision of kth coefficient

Details

follows from https://arxiv.org/pdf/1811.02962v1.pdf section 2.3

  • (residual precision) tau ~ Gamma(r_tau,d_tau)

  • (prob of kth coefficient != 0) pi_k ~ Beta(d_pi, r_pi)

  • (precision of kth coefficient) gamma_k ~ Gamma(r_gamma,d_gamma) Note: all parameters must be positive (>0)

Value

list with the following hyperparamenters accessible by index or param name


cvraut/iBAGpkg documentation built on July 26, 2022, 9:55 p.m.