| .mle_pert | R Documentation |
The practical MLE profiles over mode using stats::optimize(), with min and max expanded beyond the sample extremes (shape parameter fixed at the standard PERT value of 4).
.mle_pert(x)
WHY A LARGER BUFFER THAN TRIANGULAR: The PERT density approaches 0 at its boundaries as (x - min)^(alpha1 - 1) where alpha1 > 1 (e.g. alpha1 ~= 2.6 for mode near the midpoint). This power-law decay is faster than the linear decay of the Triangular density. If min/max are set too close to the sample extremes, every observation near the true boundary gets an artificially tiny log-density, collapsing the total log-likelihood. A buffer of rng / sqrt(n) scales the expansion with sample size: large n needs less padding because sample extremes are already close to the true bounds, while small n benefits from wider coverage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.