mevd: Fitting the Metastatistical Extreme Value Distribution (MEV)...

Description Usage Arguments Details Value References Examples

Description

Fit a MEV distribution to rainfall observations using maximum likelihood or probability weighted moments.

Usage

1
2
3
4
5
6
fmev(data, n = NULL, threshold = 0, type =c("simple","annual"), 
     method=c("pwm","mle"))

fit_mev(data,method)

rlmev(q, w, c, n)

Arguments

data

data must be either numeric or matrix with years as columns and all values per year as rows (see details).

n

mean number of wet days, i.e. precipitation values >= threshold . If n = NULL, n is computed from data >= threshold (see details).

threshold

data < threshold is set to NA.

type

type='simple' computes one single value for parameters C and w, whereas type='annual' calculates one C and w for each year in data. type='annual' can therefore only be used, when data is a matrix. In both cases, if not given explicitly, n will be computed as the mean number of wet days (i.e. days with precipitation >= threshold) from data. The default is simple (see details).

method

MEV parameters C and w can be computed using probability weighted moments method = 'pwm' or maximum likelihood method = 'mle'. The default is pwm. (see details).

q,w,c

rlmev: return periods q > 1, shape parameter w and scale parameter c for which return levels shall be computed.

Details

With the aim of weakening the requirement of an asymptotic assumption for the GEV distribution, a metastatistical approach was proposed Marani and Ignaccolo (2015). This is defined in terms of the distribution of the statistical parameters describing "ordinary" daily rainfall occurrence and intensity.The MEV accounts for the random process of event occurrence in each block and the possibly changing probability distribution of event magnitudes across different blocks, by recognizing the number of events in each block, n, and the values of the shape and scale parameters w and C of the parent Weibull distribution to be realisations of stochastic variables. The MEV can then be written as

F = 1/T ∑(j=1,T) [1 - exp(-(x/C_j)^(w_j)]^(n_j)

for w > 0 and C > 0. With T fully recorded years, yearly C and w can be estimated by fitting a Weibull distribution to the values x of this year, and n is the number of ordinary events per year. In this case (type = 'annual'), single parameters w and C are estmiated for each year.

If the probability distribution of daily rainfall is assumed to be time-invariant, the MEV becomes simplified to

F = [1 - exp(-x/C)^w]^n

with single values for the shape and scale parameters w and C. n is then the mean number of wet days at this location (type = 'simple') (Marra et al., 2019; Schellander et al., 2019).

As is shown e.g. Schellander et al., 2019, probability weighted moments should be preferred over maximum likelihood for the estimation of the Weibull parameters w and C. Therefore method = 'pwm' is the default.

Value

An list of class mevd with components:

w

Shape parameter w of the MEVD, estimated with method. Single value if type = 'simple', vector if type = 'annual'.

C

Scale parameter C of the MEVD, estimated with method. Single value if type = 'simple', vector if type = 'annual'.

n

Number of wet days. Single value if type = 'simple', vector if type = 'annual'.

data

data >= threshold used to fit the MEVD.

maxima

Yearly maxima estimated from data matrix.

threshold

Threshold used to select data.

method

Method used to fit the MEVD.

References

Marani, M. and Ignaccolo, M. (2015) 'A metastatistical approach to rainfall extremes', Advances in Water Resources. Elsevier Ltd, 79(Supplement C), pp. 121-126. doi: 10.1016/j.advwatres.2015.03.001.

Marra, F. et al. (2019) 'A simplified MEV formulation to model extremes emerging from multiple nonstationary underlying processes', Advances in Water Resources. Elsevier Ltd, 127(April), pp. 280-290. doi: 10.1016/j.advwatres.2019.04.002.

Schellander, H., Lieb, A. and Hell, T. (2019) 'Error Structure of Metastatistical and Generalized Extreme Value Distributions for Modeling Extreme Rainfall in Austria', Earth and Space Science, 6, pp. 1616-1632. doi: 10.1029/2019ea000557.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
w <- 0.87
c <- 75
data <- matrix(NA,365,50)
for(y in 1:50){
     data[,y] <- rweibull(365,shape=w,scale=c)
}

fit <- fmev(data)
fit
plot(fit, ci = TRUE, R = 150)
rlmev(2:50, fit$w, fit$c, fit$n)

mevd documentation built on Nov. 11, 2019, 3 p.m.

Related to mevd in mevd...