Description Usage Arguments Details Value Author(s) References See Also
Draw Random Numbers from Approximated (Differentiably) Uniform Distribution.
1 | rapprox_unif(n = 100, scale, tildec = 13.86294, seed = 123)
|
n |
number of draws. |
scale |
the scale parameter originally defining the upper bound of the uniform distribution. |
tildec |
denotes the ratio between scale parameter θ and s. The latter is responsible for the closeness of the approximation to the uniform distribution. See also below for further details and the default value. |
seed |
denotes the seed |
The method is based on the inversion method and the quantile function is computed numerically using uniroot
.
n draws with density papprox_unif
.
Nadja Klein
Nadja Klein and Thomas Kneib (2015). Scale-Dependent Priors for Variance Parameters in Structured Additive Distributional Regression. Working Paper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.