evgam

    generalised additive extreme value models

    about

    This R package allows fitting of various extreme value models in which the parameters have generalised additive model form.

    citation

    Youngman, B. D. (2018). Generalized additive models for exceedances of high thresholds with an application to return level estimation for US wind gusts. Journal of the American Statistical Association 0 (0) DOI: 10.1080/01621459.2018.1529596.

    download

    Here's the latest source code. (I hope to submit the next version to CRAN.)

    evgam_0.0-5.tar.gz

    example 1: spatial generalised extreme value distribution

    Here's an R script with an example of fitting the generalised extreme value (GEV) distribution to annual maximum US wind gust speeds. The GEV's location, scale and shape parameters are allowed to vary over space using thin-plate regression splines. The fitted model is used to produce a map of the 100 year gust speed return level, i.e. the level above which only one exceedance is expected in 100 years

    gev.R

    example 2: spatial generalised Pareto distribution

    This example fits the generalised Pareto distribution (GPD) to extreme daily US wind gust speeds that exceedance a threshold. Gusts in August, September and October are modelled. The GPD's scale and shape parameters vary over space using thin-plate regression splines. This threshold is estimated by quantile regression, which estimates the 97th percentile, and also varies over space using a thin-plate regression spline. A map of the 100 year gust speeds return level is produced again (specifically, 100 August-October years).

    gpd.R

    example 3: spatio-temporal generalised Pareto distribution

    This example follows example 2 and fits spatio-temporal GPD to year-round daily maximum wind gust speeds in south-west US. Spatio-temporal variation is achieved by a tensor product between thin-plate (the `spatio') and cyclic cubic (the `temporal') regression splines. These capture spatial and within-year variation, respectively. The `cyclic' aspect of the latter ensures that estimates join up from year to year, i.e. from 31st December to 1st January. A map of the 100 year gust speed return level (defined as the 99th percentile of the distribution of the annual maximum) is produced.

    gpd2.R