Learn R Programming

evmix (version 1.0)

lhpdcon: Log-likelihood of Hybrid Pareto Extreme Value Mixture Model with Single Continuity Constraint

Description

Log-likelihood and negative log-likelihood for the hybrid Pareto extreme value mixture model with a single continuity constraint

Usage

lhpdcon(x, nmean = 0, nsd = 1,
    u = qnorm(0.9, nmean, nsd), xi = 0, log = TRUE)

  nlhpdcon(pvector, x, finitelik = FALSE)

Arguments

x
vector of sample data
nmean
normal mean
nsd
normal standard deviation (non-negative)
u
threshold
xi
shape parameter
log
logical, if TRUE then log density
pvector
vector of initial values of mixture model parameters (nmean, nsd, u, sigmau, xi) or NULL
finitelik
logical, should log-likelihood return finite value for invalid parameters

Value

  • lhpdcon gives (log-)likelihood and nlhpdcon gives the negative log-likelihood.

Details

The likelihood functions for hybrid Pareto extreme value mixture model with single continuity constraint, as used in the maximum likelihood fitting function fhpdcon. They are designed to be used for MLE in fhpdcon but are available for wider usage, e.g. constructing your own extreme value mixture models. See fhpd and fgpd for full details. Log-likelihood calculations are carried out in lhpdcon, which takes parameters as inputs in the same form as distribution functions. The negative log-likelihood is a wrapper for lhpdcon, designed towards making it useable for optimisation (e.g. parameters are given a vector as first input). The function lhpdcon carries out the calculations for the log-likelihood directly, which can be exponentiated to give actual likelihood using (log=FALSE).

References

http://en.wikipedia.org/wiki/Normal_distribution http://en.wikipedia.org/wiki/Generalized_Pareto_distribution Scarrott, C.J. and MacDonald, A. (2012). A review of extreme value threshold estimation and uncertainty quantification. REVSTAT - Statistical Journal 10(1), 33-59. Available from http://www.ine.pt/revstat/pdf/rs120102.pdf Carreau, J. and Y. Bengio (2008). A hybrid Pareto model for asymmetric fat-tailed data: the univariate case. Extremes 12 (1), 53-76.

See Also

lhpd, lnormgpdcon, code{lgpd} and gpd. The condmixt package written by one of the original authors of the hybrid Pareto model (Carreau and Bengio, 2008) also has similar functions for the likelihood of the hybrid Pareto hpareto.negloglike and fitting hpareto.fit. Other hpdcon: dhpdcon, fhpdcon, hpdcon, phpdcon, qhpdcon, rhpdcon