dlognPareto | R Documentation |
This function evaluates the density of the continuous and differentiable version of the truncated lognormal-Pareto spliced distribution proposed by Scollnik (2007).
dlognPareto(x, sigma, xmin, alpha)
x |
vector (nx1): points where the function is evaluated. |
sigma |
positive real: log-standard deviation of the truncated lognormal distribution. |
xmin |
positive real: scale parameter of the Pareto distribution. |
alpha |
positive real: shape parameterof the Pareto distribution. |
To get a continuous and differentiable density, it is necessary to enforce constraints that reduce the number of free parameters of the model; in particular, the mixing weight and the log-mean of the lognormal distirbution are functions of the reamining parameters. See Scollnik (2007) for details.
ysim (n x 1) vector: numerical values of the truncated lognormal-Pareto spliced distribution at x.
scoll07lognGPD
ysim <- dlognPareto(seq(0,20,length.out=500),1,5,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.