powered by
This function computes the density of a mixture of a lognormal and a Pareto r.v.
dLnormParMix(x, pi, mu, sigma, xmin, alpha)
Density of the lognormal-Pareto distribution evaluated at x.
non-negative numerical vector: values where the density has to be evaluated.
scalar, 0 < p < 1: mixing weight.
scalar: expected value of the lognormal distribution on the log scale.
positive scalar: standard deviation of the lognormal distribution on the log scale.
positive scalar: threshold.
positive scalar: Pareto shape parameter.
mixDens <- dLnormParMix(5,.5,0,1,4,1.5)
Run the code above in your browser using DataLab