MLE Fitting of Normal Bulk and GPD for Both Tails Interval Transition Mixture Model
MLE Fitting of Normal Bulk and GPD for Both Tails Interval Transition Mixture Model
Maximum likelihood estimation for fitting the extreme value mixture model with normal for bulk distribution between thresholds, conditional GPDs beyond thresholds and interval transition. With options for profile likelihood estimation for both thresholds and interval half-width, which can also be fixed.
eseq: vector of epsilons (or scalar) to be considered in profile likelihood or NULL for no profile likelihood
ulseq: vector of lower thresholds (or scalar) to be considered in profile likelihood or NULL for no profile likelihood
urseq: vector of upper thresholds (or scalar) to be considered in profile likelihood or NULL for no profile likelihood
fixedeu: logical, should threshold and epsilon be fixed (at either scalar value in useq and eseq, or estimated from maximum of profile likelihood evaluated at grid of thresholds and epsilons in useq and eseq)
pvector: vector of initial values of parameters or NULL for default values, see below
std.err: logical, should standard errors be calculated
method: optimisation method (see optim)
control: optimisation control list (see optim)
finitelik: logical, should log-likelihood return finite value for invalid parameters
log: logical, if TRUE then log-likelihood rather than likelihood is output
eulr: vector of epsilon, lower and upper thresholds considered in profile likelihood
Returns
Log-likelihood is given by litmgng and it's wrappers for negative log-likelihood from nlitmgng
and nluitmgng. Profile likelihood for thresholds and interval half-width given by profluitmgng. Fitting function fitmgng returns a simple list with the following elements
call :
optim call
x :
data vector x
init :
pvector
fixedeu :
fixed epsilon and threshold, logical
ulseq :
lower threshold vector for profile likelihood or scalar for fixed threshold
urseq :
upper threshold vector for profile likelihood or scalar for fixed threshold
eseq :
interval half-width vector for profile likelihood or scalar for fixed threshold
nllheuseq :
profile negative log-likelihood at each combination in (eseq, ulseq, urseq)
optim :
complete optim output
mle :
vector of MLE of parameters
cov :
variance-covariance matrix of MLE of parameters
se :
vector of standard errors of MLE of parameters
nllh :
minimum negative log-likelihood
n :
total sample size
nmean :
MLE of normal mean
nsd :
MLE of normal standard deviation
epsilon :
MLE of transition half-width
ul :
lower threshold (fixed or MLE)
sigmaul :
MLE of lower tail GPD scale
xil :
MLE of lower tail GPD shape
ur :
upper threshold (fixed or MLE)
sigmaur :
MLE of upper tail GPD scale
xir :
MLE of upper tail GPD shape
Details
The extreme value mixture model with the normal bulk and GPD for both tails interval transition is fitted to the entire dataset using maximum likelihood estimation. The estimated parameters, variance-covariance matrix and their standard errors are automatically output.
See ditmgng for explanation of GPD-normal-GPD interval transition model, including mixing functions.
See also help for fnormgpd for details, type help fnormgpd. Only the different features are outlined below for brevity.
The full parameter vector is (nmean, nsd, epsilon, ul, sigmaul, xil, ur, sigmaur, xir) if thresholds and interval half-width are also estimated and (nmean, nsd, sigmaul, xil, sigmaur, xir) for profile likelihood or fixed threshold approach.
If the profile likelihood approach is used, then a grid search over all combinations of epsilons and both thresholds are carried out. The combinations which lead to less than 5 in any component outside of the intervals are not considered.
A fixed pair of thresholds and epsilon approach is acheived by setting a single scalar value to each in ulseq, urseq and eseq respectively.
Note
When pvector=NULL then the initial values are:
MLE of normal parameters assuming entire population is normal; and
lower threshold 10% quantile (not relevant for profile likelihood for threshold or fixed threshold approaches);
upper threshold 90% quantile (not relevant for profile likelihood for threshold or fixed threshold approaches);
MLE of GPD parameters beyond threshold.
Acknowledgments
See Acknowledgments in fnormgpd, type help fnormgpd. Based on code by Xin Zhao produced for MATLAB.
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
Holden, L. and Haug, O. (2013). A mixture model for unsupervised tail estimation. arxiv:0902.4137
See Also
fgng, dnorm, fgpd and gpd
Other itmgng: itmgng
Other itmnormgpd: fitmnormgpd, itmgng, itmnormgpd
Other gng: fgngcon, fgng, fnormgpd, gngcon, gng, itmgng, normgpd