Description Usage Arguments Details Value
inverse.gamma(shape,rate)
1 | inverse.gamma(shape = 2, rate = 1)
|
shape |
the form parameter alpha in gamma distribution |
rate |
the rate parameter beta in gamma distribution |
Define a inverse.gamma prior distribution using the hyper parameters shape and rate, by default an inverse.gamma(2,1) distribution is return.
If sigma has a gamma distribution then 1/sigma has n inverse gamma distribution. The rate parameter is the inverse of an scale parameter.
a numerical vector interpreted as a prior in Stan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.