prior {PStrata} | R Documentation |
Prior functions
Description
Define prior functions used in PStrata
.
Usage
prior_flat()
prior_normal(mu = 0, sigma = 1)
prior_t(mu = 0, sigma = 1, df = 1)
prior_cauchy(mu = 0, sigma = 1)
prior_lasso(mu = 0, sigma = 1)
prior_logistic(mu = 0, sigma = 1)
prior_chisq(df = 1)
prior_inv_chisq(df = 1)
prior_exponential(beta = 1)
prior_gamma(alpha = 1, beta = 1)
prior_inv_gamma(alpha = 1, beta = 1)
prior_weibull(alpha = 1, sigma = 1)
Arguments
mu , sigma , df , alpha , beta |
parameters for the prior distribution |
Value
A list, including the following items.
- name
name of the distribution
- type
type of the distribution, one character string of "real" or "positive"
- args
a named list of all the input parameters
- call
a function call object of the prior distribution on the parameters
[Package PStrata version 0.0.5 Index]