kgaps_imt_stat {exdex} | R Documentation |
Statistics for the information matrix test
Description
Calculates the components required to calculate the value of the information
matrix test under the K
-gaps model, using vector data input.
Called by kgaps_imt
.
Usage
kgaps_imt_stat(data, theta, u, k = 1, inc_cens = TRUE)
Arguments
data |
A numeric vector of raw data. Missing values are allowed, but
they should not appear between non-missing values, that is, they only be
located at the start and end of the vector. Missing values are omitted
using |
theta |
A numeric scalar. An estimate of the extremal index
|
u |
A numeric scalar. Extreme value threshold applied to data. |
k |
A numeric scalar. Run parameter |
inc_cens |
A logical scalar indicating whether or not to include contributions from censored inter-exceedance times relating to the first and last observation. See Attalides (2015) for details. |
Value
A list relating the quantities given on pages 18-19 of
Suveges and Davison (2010). All but the last component are vectors giving
the contribution to the quantity from each K
-gap, evaluated at the
input value theta
of \theta
.
ldj |
the derivative of the log-likelihood with respect to
|
Ij |
the observed information |
Jj |
the square of the score |
dj |
|
Ddj |
the derivative of |
n_kgaps |
the number of |
References
Suveges, M. and Davison, A. C. (2010) Model misspecification in peaks over threshold analysis, Annals of Applied Statistics, 4(1), 203-221. doi:10.1214/09-AOAS292
Attalides, N. (2015) Threshold-based extreme value modelling, PhD thesis, University College London. https://discovery.ucl.ac.uk/1471121/1/Nicolas_Attalides_Thesis.pdf