| prior_gamma | R Documentation |
Specify a gamma prior for a positive parameter.
prior_gamma(shape = 2, rate = 0.1)
shape |
Shape parameter (alpha). Must be positive. |
rate |
Rate parameter (beta). Must be positive. |
Mean = shape/rate, Variance = shape/rate^2.
A tulpa_prior object
prior_gamma(2, 0.1) # Mean = 20, weakly informative
prior_gamma(1, 1) # Exponential(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.