Learn R Programming

UKFE (version 0.2.8)

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)

Value

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

Arguments

x

pooling group derived from the Pool() function

Author

Anthony Hammond

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.

Examples

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

Run the code above in your browser using DataLab