prior | R Documentation |
Define prior functions used in PStrata
.
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)
mu , sigma , df , alpha , beta |
parameters for the prior distribution |
A list, including the following items.
name of the distribution
type of the distribution, one character string of "real" or "positive"
a named list of all the input parameters
a function call object of the prior distribution on the parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.