The HKEVP of Reich and Shaby (2012) is a hierarchical model which can be fitted on point-referenced block maxima across a region of space. Its acronym stands for Hierarchical Kernel Extreme Value Model.
This model fits both marginal GEV parameters and a conditional spatial dependence structure in a Bayesian framework. Estimation of all parameters is performed with a Metropolis-within-Gibbs algorithm that returns samples of posterior distributions, given prior distributions and data. See details.
Simulation and fitting procedure for this model are provided along with several other tools such as spatial extrapolation and conditional simulation, which is used for instance in Shaby and Reich (2012).
A particular simpler case of the HKEVP, defined in Davison et al. (2012), is also available. This model, referred as the latent variable model, assumes conditional independence of the block maxima data (i.e. no dependence structure).
Spatial modelling of extreme values with general max-stable proceses is taken care of in other R libraries such as RandomFields
and SpatialExtremes
.
The functions included in hkevp
package are listed below:
hkevp.fit
(resp. latent.fit
): fits the HKEVP (resp. the latent variable model) to spatial block maxima data.
hkevp.rand
: simulates data from the HKEVP.
hkevp.expmeasure
: computes the exponent measure of the HKEVP. See details below.
mcmc.fun
: applies a function to the main Markov chains obtained by hkevp.fit
. Useful to compute the posterior means or quantiles for instance.
mcmc.plot
: plots the resulting Markov chains, in order to visually assess convergence.
extrapol.gev
(resp. extrapol.return.level
) : computes the predictive distribution of the GEV parameters (resp. a return level) at ungauged positions.
hkevp.predict
: predictive distribution of the spatial process at ungauged stes with the HKEVP given observations.
The HKEVP of Reich and Shaby (2012) is a hierarchical spatial max-stable model for extreme values. Max-stable models arise as the limiting distribution of renormalized maxima of stochastic processes and they generalize the Extreme Value Theory (EVT) to the infinite-dimensional case. For more information about EVT and max-stable processes, see for instance Beirlant et al. (2004), de Haan and Ferreira (2006) and Coles (2001). For an emphasis on statistical inference on spatial extremes, see for instance Cooley et al. (2012) and Davison et al. (2012).
Let Y(\cdot) be the process of block maxima recorded over a spatial region. Assume this process is max-stable, then all marginal distributions are necessarily GEV, i.e:
Y(s) \sim GEV\{μ(s),σ(s),ξ(s)\}
with location, scale and shape parameters μ(s), σ(s) and ξ(s) respectively, indexed by position s in space. Without loss of generality, one may look at the simple max-stable process Z(\cdot) with GEV(1,1,1) margins, where spatial dependence is contained unconditionally of the marginals.
The HKEVP is thus defined by assuming that there exists α\in(0,1] and a set of knots \{v_1,...,v_L\} with associated kernels \{ω_1(\cdot),...,ω_L(\cdot)\} such that:
Z(s) = U(s)θ(s)
where U(s) is a spatially-independent process with GEV(1,α,α) margins and
θ(s) = ≤ft[ ∑_{\ell=1}^L A_{\ell} ω_{\ell}(s)^{1/α}\right]^{α}
is the residual dependence process, defined with a random variable A_{\ell} \sim PS(α), the positive stable distribution with characteristic exponent α. Note that the kernels must satisfy the condition ∑_{\ell=1}^L ω_{\ell}(s) = 1, for all s.
Under those assumptions, Reich and Shaby (2012) showed that this model lead to an explicit formula for the distribution of a joint vector of maxima, which is not the case for max-stable processes since no general parametric representation exists (cf. de Haan and Ferreira (2006)). The joint distribution of the vector \{Z(s_1), …, Z(s_n)\} under the HKEVP assumptions can indeed be written:
P\{ Z_1(s_1)<z_1, …, Z_n(s_n)<z_n \} = ∑_{\ell=1}^L ≤ft[ ∑_{i=1}^n ≤ft(\frac{ω_\ell(s_i)}{z_i}\right)^{1/α}\right]^{α} ~.
The HKEVP can be seen as an approximation of the Smith (1990) model, but with an additional dependence parameter α which controls the strength of spatial dependence. Low value for α leads to a strong dependence structure while α=1 means independence.
In the article of Reich and Shaby (2012), the kernels are chosen to be standardized Gaussian kernels, i.e:
ω_\ell(s) = \frac{K(s_\ell|v_\ell,τ)}{∑_{j=1}^L K(s_j|v_j,τ)} ~,
where K(\cdot|v,τ) is the Gaussian kernel centered at v_\ell and τ is a bandwidth parameter.
Conditionally on the marginal and the dependence parameters, we obtain independent responses which allow the computation of the likelihood. Since the model is structured via multiple layers, Bayesian inference is preferred. Details of the MCMC algorithm can be found in Reich and Shaby (2012).
Marginal parameters μ(s), σ(s) and ξ(s) are modelled through latent Gaussian processes.
A simpler version of the HKEVP, namely the latent variable model of Davison et al. (2012), is also available in this package. This model assumes conditional independence and can therefore be seen as a special case of the HKEVP, with the condition α = 1.
I would like to thank Brian Reich and Benjamin Shaby for their help regarding the implementation of the inference procedure of the HKEVP, and Mathieu Ribatet for introducing me to the Bayesian world. I also acknowledge Electricite de France (EDF) for the financial support and the helpful discussions around the HKEVP with Anne Dutfoy, Marie Gallois, Thi Thu Huong Hoang and Sylvie Parey. Finally, I thank my two PhD supervisors Anne-Laure Fougeres and Cecile Mercadier for their reviews of this package.
Quentin Sebille
Beirlant, J., Goegebeur, Y., Segers, J. J. J., & Teugels, J. (2004). Statistics of Extremes: Theory and Applications. <DOI:10.1002/0470012382>
Coles, S. (2001). An Introduction to Statistical Modeling of Extreme Values. Springer Science & Business Media. <10.1007/978-1-4471-3675-0>
Cooley, D., Cisewski, J., Erhardt, R. J., Jeon, S., Mannshardt, E., Omolo, B. O., & Sun, Y. (2012). A survey of spatial extremes: Measuring spatial dependence and modeling spatial effects. Revstat, 10(1), 135-165.
Davison, A. C., Padoan, S. A., & Ribatet, M. (2012). Statistical modeling of spatial extremes. Statistical Science, 27(2), 161-186. <DOI:10.1214/11-STS376>
de Haan, L., & Ferreira, A. (2006). Extreme Value Theory: An Introduction. Springer Science & Business Media. <DOI:10.1007/0-387-34471-3>
Reich, B. J., & Shaby, B. A. (2012). A hierarchical max-stable spatial model for extreme precipitation. The annals of applied statistics, 6(4), 1430. <DOI:10.1214/12-AOAS591>
Shaby, B. A., & Reich, B. J. (2012). Bayesian spatial extreme value analysis to assess the changing risk of concurrent high temperatures across large portions of European cropland. Environmetrics, 23(8), 638-648. <DOI:10.1002/env.2178>
Smith, R. L. (1990). Max-stable processes and spatial extremes. Unpublished manuscript.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.