Uncertainty: Uncertainty quantification for gauged and ungauged pooled...

UncertaintyR Documentation

Uncertainty quantification for gauged and ungauged pooled estimates

Description

Quantification of uncertainty for pooling results for the gauged and ungauged case

Usage

Uncertainty(
  x,
  gauged = FALSE,
  RP = 100,
  dist = "GenLog",
  qmed = NULL,
  QMEDfse = 1.46,
  UrbAdj = FALSE,
  CDs = NULL,
  conf = 0.95
)

Arguments

x

the pooled group derived from the Pool() function

gauged

a logical argument with a default of FALSE. If FALSE the uncertainty intervals are calculated for the ungauged case. If TRUE they are calculated for the gauged case

RP

the return period of interest. Default is 100

dist

a choice of distribution to use for the estimates. Choices are "GEV", "GenLog" or "Gumbel". The default is "GenLog"

qmed

the QMED estimate for the ungauged case. Or for the gauged if the user wishes to override the median from the NRFA data

QMEDfse

The factorial standard error of the QMED estimate for when an ungauged assessment has been undertaken. The default is 1.46

UrbAdj

applies an urban adjustment to the growth curves

CDs

catchment descriptors derived from either GetCDs or CDsXML. Necessary if a UrbAdj is TRUE

conf

the confidence level of the intervals for the gauged case. Default is 0.95. Must be between 0 and 1

Details

Uncertainty in the ungauged case is calulated as detailed in Hammond, A. (2022). Easy methods for quantifying the uncertainty of FEH pooling analysis. Circulation - The Newsletter of the British Hydrological Society (152). The 68 percent and 95 percent intervals are returned. For the gauged case the pooled group is bootstrapped 500 times and the enhanced single site weighted linear skewness (LSkew) and linear coefficient of variation (Lcv) are calculated 500 times accordingly and 500 associated growth factors are calculated. Each growth factor (GF) is multiplied by a randomly selected median annual maximum flow (QMED) from the uncertainty distribution of median estimates for the gauged subject site. The distribution of medians is derived from bootstrapping the gauged site 500 times. The intervals are then the upper and lower quantiles (depending on the conf input) of the distribution of median * GFs. For the gauged case the user can choose the level for the intervals. The default is 0.95. Occasionally the single site central estimate will be outside the uncertainty intervals. In these cases the intervals are widened to incorporate it. i.e. if above the intervals, the upper interval is increased to the single site estimate and vice versa if below. This occurs regardless of the confidence setting. For details about the calculations of weighted growth curves & urban adjustment see the PoolEst() function details. The gauged method is detailed in Hammond, A. (2021). Sampling uncertainty of UK design flood estimation. Hydrology Research, 52 (6), 1357–1371.

Value

For the ungauged case a data.frame of four values relating to the lower 68 and upper 68 percent interval and the lower 95 and upper 95 percent intervals. These are headed by the associated percentiles. For the gauged case a numeric vector of two values is provided with the lower and upper intervals of the chosen conf level.

Author(s)

Anthony Hammond

Examples

#Get CDs, form an ungauged pooling group and quantify the uncertainty of the
#50-year pooled estimate when using a CDs estimate of QMED with no donors
CDs.203018 <- GetCDs(203018)
Pool.203018 <- Pool(CDs.203018, exclude = 203018)
Uncertainty(Pool.203018, qmed  = QMED(CDs.203018), RP = 50)
#Form pooling group with subject site included. Quantify the uncertainty of the
#50-year pooled estimate at the 99% level.
 Pool.203018 <- Pool(CDs.203018)
 Uncertainty(Pool.203018, gauged = TRUE, RP = 50, conf = 0.99)

UKFE documentation built on Nov. 6, 2023, 1:07 a.m.

Related to Uncertainty in UKFE...