rlognPareto | R Documentation |
This function simulates the continuous and differentiable version of the truncated lognormal-Pareto spliced distribution proposed by Scollnik (2007).
rlognPareto(n, sigma, xmin, alphapar)
n |
positive integer: number of observations sampled. |
sigma |
positive real: log-standard deviation of the truncated lognormal distribution. |
xmin |
positive real: scale parameter of the Pareto distribution. |
alphapar |
positive real: shape parameterof the Pareto distribution. |
See Scollnik (2007) for details.
ysim (nreps x 1) vector: nreps random numbers from the truncated lognormal-Pareto spliced distribution.
scoll07lognGPD
ysim <- rlognPareto(100,1,5,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.