Description Public fields Methods
List of priors
List of priors
sigma_loc
σ_{loc} ~ gamma(sigma_loc[1], sigma_loc[2])
sigma_scale
σ_{scale} ~ gamma(sigma_scale[1], sigma_scale[2])
gamma_loc
γ_{loc} ~ normal(0, gamma_loc[2])
gamma_scale
γ_{scale} ~ gamma(gamma_scale[1], gamma_scale[2])
kappa_loc
κ_{loc} ~ gamma(kappa_loc[1], kappa_loc[2])
kappa_scale
κ_{scale} ~ gamma(kappa_scale[1], kappa_scale[2])
alpha_loc
α_{loc} ~ normal(alpha_loc[1], alpha_loc[2])
alpha_scale
α_{scale} ~ gamma(alpha_scale[1], alpha_scale[2])
ntfp_loc
ntfp_{loc} ~ normal(ntfp_loc[1], ntfp_loc[2])
ntfp_scale
ntfp_{scale} ~ gamma(ntfp_scale[1], ntfp_scale[2])
new()
Create a new Model object. All values must be greater than 0.
Prior$new( sigma_loc = c(2, 1/2), sigma_scale = c(2, 1/2), gamma_loc = 5, gamma_scale = c(2, 1/20), kappa_loc = c(3, 1), kappa_scale = c(3, 1), alpha_loc = c(0, 5), alpha_scale = c(2, 1/2), ntfp_loc = 0.5, ntfp_scale = c(2, 3) )
sigma_loc
vector of length 2
sigma_scale
vector of length 2
gamma_loc
real
gamma_scale
vector of length 2
kappa_loc
vector of length 2
kappa_scale
vector of length 2
alpha_loc
vector of length 2
alpha_scale
vector of length 2
ntfp_loc
real
ntfp_scale
vector of length 2
A new Prior
object.
as_list()
Convert object to a list. This is useful when passing data to Stan
Prior$as_list()
clone()
The objects of this class are cloneable with this method.
Prior$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.