Description Usage Arguments Details Value Examples
Give a MC chain of Cauchy distribution
with location parameter location and scale parameter scale.
1 | cauchy.chain(n, sigma, x0, location, scale)
|
n |
the length of the chain. |
sigma |
The standard deviation of the proposed distribution. |
x0 |
The initial value of the chain. |
location, scale |
location and scale parameters. |
If location or scale are not specified, they assume the
default values of 0 and 1 respectively.
The Cauchy distribution with location l and scale s has density
f(x)=1/(pi s(1+((x-l)/s)^2)) for all x.
x return the chain.
k Returns the number of rejections.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.