Description Usage Arguments Value Examples
Use the Metropolis-Hastings sampler to generate random variables from a Cauchy distribution.
1 |
n |
length of the Markov chain(numeric) |
sigma |
standard error of the proposal distribution (numeric) |
x0 |
initial value (numeric) |
u |
parameter of cauchy distribution. (numeric) |
lamada |
parameter of cauchy distribution. (numeric) |
the Markov chain and the number of refuse.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.