-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Hypergeometric functions -- -- Haskell implementation of hypergeometric functions and associated -- statistical and special functions, viz. erf, normal cdf, incomplete -- beta, F-distribution cdf, <math>-distribution cdf, t-distrubtion -- cdf. Also includes Lanczos' approximation of the gamma function. @package hypergeometric @version 0.1.2.0 -- | See McHale, Vanessa "Hypergeometric Functions for Statistical -- Computing" and especially Shaw, Ernest "Hypergeometric -- Functions and CDFs in J" module Math.Hypergeometric -- | <math> -- -- This iterates until the result stabilizes. hypergeometric :: (Eq a, Fractional a) => [a] -> [a] -> a -> a -- | erf erf :: (Eq a, Floating a) => a -> a -- | CDF of the standard normal <math> ncdf :: (Eq a, Floating a) => a -> a module Math.SpecialFunction -- | Incomplete beta function, <math> -- -- Calculated with <math> incbeta :: (Floating a, Ord a) => a -> a -> a -> a -- | <math> -- -- This uses gammaln under the hood to extend its domain somewhat. beta :: (Floating a, Ord a) => a -> a -> a -- | <math> gamma :: (Floating a, Ord a) => a -> a -- | <math> -- -- Lanczos approximation. This is exactly the approach described in -- Press, William H. et al. Numerical Recipes, 3rd ed., extended -- to work on negative real numbers. gammaln :: (Floating a, Ord a) => a -> a fcdf :: (Floating a, Ord a) => a -> a -> a -> a chisqcdf :: (Floating a, Ord a) => a -> a -> a -- | Converges if and only if <math> tcdf :: (Floating a, Ord a) => a -> a -> a