Learn R Programming

ffaframework (version 0.1.0)

fit_lmoments: L-Moments Parameter Estimation

Description

For S-FFA only: Estimates the parameters of a stationary probability model using the L-moments.

Usage

fit_lmoments(data, distribution)

Value

A list containing the results of parameter estimation:

  • data: The data argument.

  • distribution: The distribution argument.

  • method: "L-moments".

  • params: Numeric vector of estimated parameters.

Arguments

data

Numeric vector of observed annual maximum series values. Must be strictly positive, finite, and not missing.

distribution

A three-character code indicating the distribution family. Must be "GUM", "NOR", "LNO", "GEV", "GLO", "GNO", "PE3", "LP3", or "WEI".

Details

First, the sample L-moments of the data are computed using utils_sample_lmoments(). Then, formulas from Hosking (1997) are used to match the parameters to the sample L-moments. The distributions "GNO", "PE3", and "LP3" use a rational approximation of the parameters since no closed-form expression is known.

References

Hosking, J.R.M. & Wallis, J.R., 1997. Regional frequency analysis: an approach based on L-Moments. Cambridge University Press, New York, USA.

See Also

fit_lmoments_kappa(), fit_mle(), fit_gmle()

Examples

Run this code
data <- rnorm(n = 100, mean = 100, sd = 10)
fit_lmoments(data, "GUM")

Run the code above in your browser using DataLab