Description Usage Arguments Examples
This is a 1/3-2/3 mixture of a t-distribution with 2 degrees of freedom centered at 15 and scaled by 2, and a gamma distribution with shape 2 and rate 1/3. (The t-distribution is windsorised at 0, but this has negligible effect.) This distribution is challenging because it mixes heavy tailed and asymmetric distributions.
1 2 3 | dchallenge(x)
rchallenge(n)
|
x |
values to evaluate pdf at |
n |
number of random samples to generate |
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.