The PNP model is the Pareto-Normal-Pareto model. This means
that a \(-X\) transformation of a Pareto random variable will be used for the left tail,
normal distribution for the center and again Pareto for the right tail.
The code uses the maximum likelihood estimation technique to estimate the four parameters from the start vector
(break1, break2, mean, sd
). The other parameters (shape parameters of Pareto distribution) are
computed in each step such that the function is continuous. Weights are estimated in every step as a proportion
of points that correspond to each of the truncated region.
Optimization is handled by the mle2
function.