Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Zdists

Zdist Goodness of fit measure for pooling groups


Description

Calculates the goodness of fit score for pooling groups with the method outlined in the Flood Estimation Hanbook (1999), volume 3.

Usage

Zdists(x)

Arguments

x

pooling group derived from the Pool() function

Details

The goodness of fit measure was developed by Hosking & Wallis and can be found in their book 'Regional Frequency Analysis: an approach based on LMoments (1997), as well as Flood Estimation Handbook volume 3.

Value

A list with the first element a data.frame of two GoF scores related to the columns; "GEV and "GenLog". The second element is a character stating which has the best fit.

Author(s)

Anthony Hammond

Examples

#Get CDs, form a pooling group and calculate the Zdist
CDs.203018 <- GetCDs(203018)
Pool.203018 <- Pool(CDs.203018)
Zdists(Pool.203018)

UKFE

UK Flood Estimation

v0.1.6
GPL-3
Authors
Anthony Hammond
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.