QMEDPOT {UKFE} | R Documentation |
Empirical estimate of QMED from peaks over threshold (POT) data
Description
Estimates the median annual maximum flow (QMED) from peaks over threshold data
Usage
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
#Extract some POT data and estimate QMED
ThamesPOT <- POTextract(ThamesPQ[,c(1,3)], thresh = 0.90)
QMEDPOT(ThamesPOT$peak, ppy = 1.867263)
[Package UKFE version 0.3.5 Index]