QMEDfseSS: QMED factorial standard error for gauged sites

View source: R/All.R

QMEDfseSSR Documentation

QMED factorial standard error for gauged sites

Description

Estimates the median annual maximum flow (QMED) factorial standard error (FSE) by bootstrapping the sample

Usage

QMEDfseSS(x)

Arguments

x

a numeric vector. The sample of interest

Details

The bootstrapping procedure resamples from the sample N*500 times with replacement. After splitting into 500 samples of size N, the median is calculated for each. Then the exponent of the standard deviation of the log transformed residuals is taken as the FSE. i.e. exp(sd(log(x)-mean(log(x)))), where x is the bootstrapped medians.

Value

The factorial standard error for the median of a sample.

Author(s)

Anthony Hammond

Examples

#Extract an AMAX sample and estimate the QMED factorial standard error
AM.203018 <- GetAM(203018)
QMEDfseSS(AM.203018$Flow)

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

Related to QMEDfseSS in UKFE...