powered by
This function simulates the continuous and differentiable version of the truncated lognormal-Pareto spliced distribution proposed by Scollnik (2007).
rlognPareto(n, sigma, xmin, alphapar)
ysim (nreps x 1) vector: nreps random numbers from the truncated lognormal-Pareto spliced distribution.
positive integer: number of observations sampled.
positive real: log-standard deviation of the truncated lognormal distribution.
positive real: scale parameter of the Pareto distribution.
positive real: shape parameterof the Pareto distribution.
See Scollnik (2007) for details.
scoll07lognGPD
ysim <- rlognPareto(100,1,5,2)
Run the code above in your browser using DataLab