beta_MH | R Documentation |
Metropolis-Hastings Algorithm For simulating X~Beta(a,b)
beta_MH(N, a, b, x0, sigma)
N |
Number of MCMC steps |
a |
Beta distribution parameter 1 |
b |
Beta distribution parameter 2 |
x0 |
Initial guess |
sigma |
Tuning parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.