QMEDPOT: Empirical estimate of QMED from peaks over threshold (POT)...

Description Usage Arguments Details Author(s) Examples

View source: R/All.R

Description

Estimates the median annual maximum flow (QMED) from peaks over threshold data

Usage

1
QMEDPOT(x, ppy)

Arguments

x

numerical vector. POT data

ppy

number of peaks per year in the POT data

Details

If there are multiple peaks per year, the peaks per year (ppy) argument is used to convert to the annual scale to derive QMED. If ppy is one, then the median of the POT sample is returned (the median of x).

Author(s)

Anthony Hammond

Examples

1
2
3
#Extract some POT data and estimate QMED
ThamesPOT <- POTextract(ThamesPQ[,c(1,3)], thresh = 0.90)
QMEDPOT(ThamesPOT$peak, ppy = 1.867263)

Example output

[1] "Peaks per year: 1.867263"
[1] 315.0807

UKFE documentation built on Oct. 14, 2021, 5:06 p.m.

Related to QMEDPOT in UKFE...