dgaps_imt_stat {exdex} | R Documentation |
Statistics for the D
-gaps information matrix test
Description
Calculates the components required to calculate the value of the information
matrix test under the D
-gaps model, using vector data input.
Called by dgaps_imt
.
Usage
dgaps_imt_stat(data, theta, u, D = 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. |
D |
A numeric scalar. The censoring parameter |
inc_cens |
A logical scalar indicating whether or not to include
contributions from right-censored inter-exceedance times, relating to the
first and last observations. See |
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 D
-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_dgaps |
the number of |
References
Holesovsky, J. and Fusek, M. Estimation of the extremal index using censored distributions. Extremes 23, 197-213 (2020). doi:10.1007/s10687-020-00374-3