Description Usage Arguments Details Value Examples
A parammod
with gamma-distributed parameters
1 | param_gamma(a0, a1, b0, b1)
|
a0 |
|
a1 |
|
b0 |
|
b1 |
|
This model represents a prior on theta with:
theta_0 ~ Gamma(a0,a1)
theta_k ~ Gamma(b0,b1)
for k = 1 ... kappa
a parammod
1 2 3 | ## theta0 ~ Gamma(1,1); thetak ~ Gamma(5,5)
pg <- param_gamma(1,1,5,5)
pg$r(5) ## a draw with 5 within-block parameters
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.