What is the fitdistrib package?

This package is a set a functions developed with the FlomKart flood frequency analysis project at NVE. It allows estimating probability distribution parameters for the following distributions:

  • GEV: Generalized Extreme Value
  • GL: Generalized Logistics
  • PEARSON: Three parameter Pearson distribution
  • GAMMA distribution
  • GUMBEL distribution

Four different estimation methods are available:

  • MOM: method of moments
  • Lmom: linear moments
  • MLE: Maximum Likelyhood Estimation
  • Bayes: Bayesian inference

The results of this package are used in the FlomKartpackage (documentation and code) to build 2 NetCDF files which can then be explored with the NASA’s NetCDF viewer [Panoply](http://www.giss.nasa.gov/tools/panoply/) or by our dedicated FlomKart shiny app (documentation and code).

How was it coded?

In Package Ref, you’ll find the documentation of all the packaged functions. This package uses the existing R packages nsRFA, evd, ismev, fitdistrplus and stats. The use of functions from those packages is adapted to our context. Some new fitting functions were also implemented when not already available.