Releases: lbelzile/mev
Releases · lbelzile/mev
mev version 2.1
mev 2.1
New:
- Function
thselect.egpfor threshold selection with tests similar to Northop and Coleman routine. - Function
thselect.cbmfor threshold selection with semiparametric bootstrap mean square error estimation of shape parameter.
Changes:
thselect.vmetricargumentcihas been renamed tolevel(backward compatible).- Arguments
methodfortstab.egpandtstab.gpnow has"lrt"instead of"profile"(choice backward compatible). thselect.sdinfogains an argumentkto select the number of gaps, and returns a thresholdthresh0andkas part of the object output. The print method has been modified to reflect this.
Fixes:
- Function
pegpdid not work, and did not correctly handlelower.tailargument. - Functions
degpandregpcorrectly handle the caseshape=0for modelspt-betaandpt-gamma. thselect.mdpsnow return shape parameter (rather than reciprocal shape), consistent with other semiparametric methodsthselect.pickandsnow correctly handles user-provided threshold vectors.- Warnings are not produced when
fit.egpfails to obtain standard errors. - The
printmethod forthselect.egpis more explicit about the lack of threshold returned if the hypothesis is rejected at the highest threshold considered (which returnsNA). thselect.ncpgpnow passes ordered thresholds to inner function to avoid warning messages.- Function
shape.hillnow provides more informative error messages when passing vectors of invalid number of exceedancesk.
mev version 2.0
Major release with breaking changes (mostly function names and arguments) for more coherence. Many functions now flagged as deprecated, but changes to the syntax are often backward compatible.
New:
- All functions producing plot now export objects with associated S3 routines.
- Stein's weighted generalized Pareto estimator with
fit.wgpdand suggested weightsStein_weights. - Multiple shape estimators (Hill, Pickands, moment estimator, generalized quantile) via
fit.shapeand specific routinesshape.hill,shape.erm,shape.genjack,shape.lthill,shape.trunhill,shape.rbm,shape.moment,shape.pickands,shape.osz,shape.genquantandshape.vries. - Second order regular variation parameter estimation via
fit.rho(four estimators available, viarho.dk,rho.fagh,rho.gbwandrho.ghp). - L-moment estimator for generalized Pareto distribution via
gpd.lmom. - Estimator of tail dependence of Krupskii and Joe (
kjtail) and throughxdep.eta. - Weissman quantile estimator (
qweissman) - Function
dgeoanisofor geometric anisotropy, using the parametrization of Rai and Brown (2025) - Function
maxstablefor changes of parameters for GEV. - Distributions for extended generalized Pareto (d/p/q/r egp), with new models and profile likelihood (
egp.pll). This also affects the plotting routines. The nomenclature has been modified for argument 'model' in egp.fit, egp.ll and egp.retlev with backward compatibility. - New methods for threshold selection (16 in total)
thselect.alrs,thselect.bab,thselect.cv,theselect.expgqt,thselect.gbw,thselect.mdps,thselect.mrl(which supersedesautomrl),thselect.pec,thselect.pickands,thselect.rbm,thselect.samsee, - Threshold stability plots for different estimators
tstab.hill,tstab.lthill(with different diagnostics),tstab.mrl
Changes:
- Function
PickandsXUis deprecated and replaced withshape.osz - Function
fit.gpdwith methodobrenow returns ordered exceedances and weights. spunifnow correctly handles missing values.- d/p/q/r for
gevandgpnow fully vectorized with respect to arguments, including shape parameter confint.eprofhas an argument for boundary non-regular null distribution (for the most common case).- Breaking changes to
fit.egp,egp.retlev,tstab.egp. The former now allows fixed parameters (for profiling). - All functions for threshold selection are now named using the prefix
thselect.Their arguments are somewhat standardized, and they each have distinct plot and print methods with automatic selection. - All threshold stability plots now have the same syntax, with prefix
tstab. - Measures of extremal dependence now via functions prefixed with
xdep., includingxdep.chi,xdep.eta,xdep.chibarandxdep.asym. The first three calltaildep, the last one supersedesxasym. - Function
lambdadepdeprecated, replaced withadfto better comply with current nomenclature. - Function
automrldeprecated in favour ofthselect.mrl. - Function
chibarremoved in favour ofxdep.chibar. - Arguments of
extcoeffor marginal transformationmargtranshave been modified (backward compatible changes). - Function
fit.egpnow includes alternative arguments to select the optimization routine - Internal function (exported, but hidden)
jachas been replaced byjac_gpd_paretoto avoid ambiguity - Tests for max stability (
maxstabtest) and independence via score (scoreindep) now renamedtest.maxstabandtest.scoreindep - Change to name
infomat.testnowthselect.sdinfo,vmetricnowthselect.vmetric,W.diagnowthselect.wseq,NC.diagnowthselect.ncpgp - Arguments of
xasymmodified to make syntax more uniform. - Function
mvrnormrenamed tormvnorm.
Fixes:
- Function
adfnow allow for values above 1 for bivariate angular dependence function. - Function
.infomatneeds not have data argument. - Fix generalized Pareto fit with fixed parameters
Version 1.17
mev 1.17 (Release date 2024-07-09)
Fixes:
gpd.llandgpd.nllcorrectly return a non-NAvalue when xi=-1 (#18, reported by Paddy O'Toole)tstab.gpdnow correctly works when input leads to boundary values, and profile likelihood intervals are now correctly truncated in the range of admissible valuesfit.gpdnow relies ongpd.llto return the negative log likelihood valuenllh- Threshold stability plots now compute limits of plot safely, handling missing values in parameter estimates. Intervals are truncated to admissible values
- For multivariate censored likelihood, marginal thresholds equal to the functional threshold (default option) doesn't return an error.
mev 1.16 (Release date 2023-11-30)
New:
- Pickand's U-statistic estimator of the shape
- New datasets: Newlyn wave height, pandemics, nutrients
Fixes:
gp.tstaboptimization bounds for profile confidence interval fixed.rparpfailed when a single draw was accepted (due to matrix being cast to vectors)fit.extgpnow handles model 0 (generalized Pareto), fixing #17
mev v.1.15
New:
gevandgpdistribution functions (d/p/q/r) introduced to remove dependency onevdpackage.- Ramos and Ledford score test of independence
Fixes:
taildepfunction now correctly check choice of estimators against list of methods- Fix argument size in
likmgpandclikmgpfor the logistic model - Correctly return a covariance matrix with NAs when the matrix is singular or xi=-1
Changes:
taildeparguments leads to faster calculations withbetacopoption.- Replace
nloptrdependency byRsolnp
mev 1.14
==============
New:
- bivariate coefficient of extremal asymmetry
- four new families of max-stable models (pairwise beta, pairwise exponential, weighted Dirichlet and weighted exponential) for rmev, following Ballani and Schlather (2011)
- maximum likelihood estimation routines (
fit.gpd,fit.gev, etc.) now accept fixed parameters - mean residual life plots with weighted least square fit
- coefficient of variation tests for threshold selection
- Varty et al. metric based threshold selection diagnostic
- anova methods for
mev_gpdandmev_gevobjects rmevandrmevspecnow accept a distance matrix in place of coordinates for spatial models.- new datasets
- website with vignettes
Changes
- Functions W.diag and NC.diag now have S3 plot and print methods
- Changes to arguments (backward compatible) to xdat throughout
- Many dependencies used by single functions are now listed in Suggest.
Fixes:
- ext.coef correctly handles arrays with missing values (reported by M. Jousset)
- Optimization method in fit.gev now uses the PWM solution of Hosking (1985) as starting value
- gev.pll now returns confidence intervals for param = "quant" (reported by D. Dupuis)
- Fixes to NHPP order statistics density (returns -Inf outside of domain, also correctly evaluate for boundary case when xi=-1)
- Optimization routines fit.pp, fit.gev and fit.rlarg now return correct MLE when solution lies on boundary (xi=-1) and are more robust to failure (gradients for nlminb return large values rather than NAs which caused the algorithm to stop).
- Grimshaw's algorithm sometimes returned incorrect value because of too low tolerance for eta near zero. Set back to default settings.
- fit.gpd(..., method = "obre") now returns additional failure messages if the algorithm drifts towards infeasible values.
- rparp now correctly handles xi=0
- Extended GP model now has 'step' for discretization, and a valid distribution function that returns real arguments whenever the input is finite (#9)
- W.diag and egp.fitrange include arguments for changing 'par' (#10)
- smith.penult now computes reciprocal hazard and it's derivative on the log scale (when possible) to avoid numerical overflow.
CRAN v 1.13
Update coordinates in Vignette
CRAN release 1.12
v1.12 CRAN 1.12