Changelog
Source:NEWS.md
exdex 1.2.4
CRAN release: 2026-01-11
Bug fixes and minor improvements
- Implements the patch described in Rcpp Issue #1406 to avoid masking of
Rf_error().
exdex 1.2.3
CRAN release: 2023-12-02
Bug fixes and minor improvements
The issue described at https://github.com/RcppCore/Rcpp/issues/1287 has been fixed to avoid WARNINGs from CRAN checks on some platforms. Thank you to Dirk Eddelbuettel for providing the fix so quickly!
Fixed issues with the incorrect use of in some Rd files.
exdex 1.2.2
CRAN release: 2023-09-10
Bug fixes and minor improvements
If the argument
k = 0is supplied tokgaps()then an estimate of 1 is returned for the extremal index for any input data. For this very special case the estimated standard error associated with this estimate is set to zero and confidence intervals have a width of zero.Corrected a typing error in the description of
uprobin the documentation forplot.choose_uk()andplot.choose_ud().The unnecessary C++11 specification has been dropped to avoid a CRAN Package Check NOTE.
README.md: Used app.codecov.io as base for codecov link.
Create the help file for the package correctly, with alias exdex-package.
exdex 1.2.1
CRAN release: 2022-04-16
New features
- A new estimator has been implemented, based on what we will call the D-gaps model of 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
Bug fixes and minor improvements
The value returned by
nobs.kgaps()was incorrect in cases where there are censored K-gaps that are equal to zero. These K-gaps should not contribute to the number of observations. This has been corrected.In cases where the data used in
kgapsare split into separate sequences, the threshold exceedance probability is estimated using all the data rather than locally within each sequence.A
logLikmethod for objects inheriting from class"kgaps"has been added.In the (unexported, internal) function
kgaps_conf_int()the limits of the confidence intervals for the extremal index based on the K-gaps model are constrained manually to (0, 1) to avoid problems in calculating likelihood-based confidence intervals in cases where the the log-likelihood is greater than the interval cutoff when theta = 1.In the documentation of the argument
ktokgaps()it is noted that in practicekshould be no smaller than 1.The function
kgaps()also return standard errors based on the expected information.In the package manual related functions have been arranged in sections for easier reading.
Activated 3rd edition of the
testthatpackage
exdex 1.1.1
CRAN release: 2022-03-25
New features
- The functions
kgaps(),kgaps_imt()andchoose_uk()can now accept adataargument that- is a matrix of independent subsets of data, such as monthly or seasonal time series from different years,
- contains missing values, that is,
NAs.
- A new dataset
cheeseborois included, which is a matrix containing some missing values. - In addition to
kgaps(), the functionskgaps_imt()andchoose_uk()now have an extra argumentinc_cens, which allows contributions from censored K-gaps to be included in the log-likelihood for the extremal index. - The default value of
inc_censinkgaps()(and inkgaps_imt()andchoose_uk()) is nowinc_cens = TRUE.
Bug fixes and minor improvements
- Plot and print methods have been added for objects of class
"confint_gaps"returned fromconfint.kgaps(). - In
confint.spm()andconfint.kgaps()the input confidencelevelis included in the output object.