gev-lib-0.2.0.1: The family of Extreme Value Distributions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gev

Synopsis

Documentation

class Distribution d where Source #

Distribution Class for the GEV family of distributions. That is, each of the distributions considered will have a CDF, PDF and Quantile function.

Minimal complete definition

(cdf | complCdf), (pdf | logPdf), (quantile | complQuantile)

Methods

cdf :: d -> Double -> Double Source #

Cumulative Distribution Function (CDF) of a given distribution. i.e. $mathbb{P}(X leq x)$ for $x in Omega(X)$ (i.e. x is in the support of X)

cdf d +∞ = 1
cdf d -∞ = 0

complCdf :: d -> Double -> Double Source #

Complement of the CDF, i.e. $mathbb{P}(X geq x)$.

pdf :: d -> Double -> Double Source #

Probability Density Function (pdf) of a distribution. i.e. $mathbb{P}(X = x)$ for $x in Omega(X)$ (i.e. x is in the support of X)

logPdf :: d -> Double -> Double Source #

Log density of a given distribution i.e. density for $Y = log X$

quantile :: d -> Double -> Double Source #

Quantile function (a.k.a inverse CDF) of a distribution. i.e. $F^{-1}(x)$ for $x in [0, 1]$.

complQuantile :: d -> Double -> Double Source #

Quantile complement, i.e. Quantile for level $1 - alpha$.

randGen :: StatefulGen g m => d -> g -> m Double Source #

generate random value of the Distribution.

Instances

Instances details
Distribution FrechetDistribution Source #

Gev.Distribution instance implementation for the Frechet Distribution

Instance details

Defined in Gev.Frechet

Distribution GevDistribution Source # 
Instance details

Defined in Gev.GevDist

Distribution GumbelDistribution Source #

Gev.Distribution instance implementation for the Gumbel Distribution

Instance details

Defined in Gev.Gumbel

Distribution WeibullDistribution Source # 
Instance details

Defined in Gev.Weibull