qBM: Block maxima distribution

Description Usage Arguments Details Value Examples

View source: R/product_gev.R

Description

Calculates quantiles of a block maxima distribution.

Usage

1
qBM(p, b, param)

Arguments

p

vector of probabilities.

b

block length (in general b ≥ 2).

param

three-dimensional vector with location (mu), scale (sigma) and shape (xi) parameter.

Details

Formular of a block maxima distribution function:

F_j(x)=F_j^(b)(x)=[2 T_{1/xi}({1+xi (x-mu_j)/(sigma_j)} T_{1/xi}^{-1}(1-1/(2b)))-1]^b,

where T_nu denote the t-distribution function with nu degrees of freedom.

Value

Quantile of a block maxima distribution.

Examples

1
qBM(p=c(0.75, 0.99), b=12, param=c(2,1,0.2))

flood documentation built on May 30, 2017, 8:25 a.m.