hmatrix-gsl-stats-0.4.1.6: GSL Statistics interface

Copyright(c) A. V. H. McPhail 2010 2015 2016
LicenseBSD3
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com
Stabilityprovisional
Portabilityuses ffi
Safe HaskellNone
LanguageHaskell2010

Numeric.GSL.Distribution.Continuous

Description

GSL continuous random distribution functions

http://www.gnu.org/software/gsl/manual/

Synopsis

Documentation

data TwoParamDist #

Constructors

GaussianTail

limit, standard deviation

ExpPower

scale, exponent

RayleighTail

lower limit, standard deviation

Levy

scale, exponent

Gamma

par1, par2

Uniform

lower, upper

Lognormal

offset, standard deviation

FDist

degrees of freedom, degrees of freedom

Beta

parameter a, parameter b

Pareto

exponent, scale

Weibull

scale, exponent

GumbellI

A, B

GumbellII

A, B

data DistFunc #

Constructors

Density

pdf

Lower

lower cdf

Upper

upper cdf

LowInv

lower inverse cdf

UppInv

upper inverse cdf

random_0p #

Arguments

:: ZeroParamDist

distribution type

-> Int

random seed

-> Double

result

draw a sample from a zero parameter distribution

random_0p_s #

Arguments

:: RNG

the random number generator

-> ZeroParamDist

distribution type

-> IO Double

result

draw a sample from a zero parameter distribution

random_0p_v #

Arguments

:: ZeroParamDist

distribution type

-> Int

random seed

-> Int

number of samples

-> Vector Double

result

draw samples from a zero parameter distribution

density_0p #

Arguments

:: ZeroParamDist

density type

-> DistFunc

distribution function type

-> Double

value

-> Double

result

probability of a variate take a value outside the argument

random_1p #

Arguments

:: OneParamDist

distribution type

-> Int

random seed

-> Double

parameter

-> Double

result

draw a sample from a one parameter distribution

random_1p_s #

Arguments

:: RNG

the random number generator

-> OneParamDist

distribution type

-> Double

parameter

-> IO Double

result

draw a sample from a one parameter distribution

random_1p_v #

Arguments

:: OneParamDist

distribution type

-> Int

random seed

-> Double

parameter

-> Int

number of samples

-> Vector Double

result

draw samples from a one parameter distribution

density_1p #

Arguments

:: OneParamDist

density type

-> DistFunc

distribution function type

-> Double

parameter

-> Double

value

-> Double

result

probability of a variate take a value outside the argument

random_2p #

Arguments

:: TwoParamDist

distribution type

-> Int

random seed

-> Double

parameter 1

-> Double

parameter 2

-> Double

result

draw a sample from a two parameter distribution

random_2p_s #

Arguments

:: RNG

the random number generator

-> TwoParamDist

distribution type

-> Double

parameter 1

-> Double

parameter 2

-> IO Double

result

draw a sample from a two parameter distribution

random_2p_v #

Arguments

:: TwoParamDist

distribution type

-> Int

random seed

-> Double

parameter 1

-> Double

parameter 2

-> Int

number of samples

-> Vector Double

result

draw samples from a two parameter distribution

density_2p #

Arguments

:: TwoParamDist

density type

-> DistFunc

distribution function type

-> Double

parameter 1

-> Double

parameter 2

-> Double

value

-> Double

result

probability of a variate take a value outside the argument

random_3p #

Arguments

:: ThreeParamDist

distribution type

-> Int

random seed

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> Double

result

draw a sample from a three parameter distribution

random_3p_s #

Arguments

:: RNG

the random number generator

-> ThreeParamDist

distribution type

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> IO Double

result

draw a sample from a three parameter distribution

random_3p_v #

Arguments

:: ThreeParamDist

distribution type

-> Int

random seed

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> Int

number of samples

-> Vector Double

result

draw samples from a three parameter distribution

density_3p #

Arguments

:: ThreeParamDist

density type

-> DistFunc

distribution function type

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> Double

value

-> Double

result

probability of a variate take a value outside the argument

random_mp #

Arguments

:: MultiParamDist

distribution type

-> Int

random seed

-> Vector Double

parameters

-> Vector Double

result

draw a sample from a multi parameter distribution

random_mp_s #

Arguments

:: RNG

the random number generator

-> MultiParamDist

distribution type

-> Vector Double

parameters

-> IO (Vector Double)

result

draw a sample from a multi parameter distribution

density_mp #

Arguments

:: MultiParamDist

density type

-> DistFunc

distribution function type

-> Vector Double

parameters

-> Vector Double

values

-> Double

result

probability of a variate take a value outside the argument

random_biv #

Arguments

:: BivariateDist

distribution type

-> Int

random seed

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> (Double, Double)

result

draw a sample from a bivariate distribution

random_biv_s #

Arguments

:: RNG

the random number generator

-> BivariateDist

distribution type

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> IO (Double, Double)

result

draw a sample from a bivariate distribution

random_biv_v #

Arguments

:: BivariateDist

distribution type

-> Int

random seed

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> Int

number of samples

-> (Vector Double, Vector Double)

result

draw a sample from a bivariate distribution

density_biv #

Arguments

:: BivariateDist

density type

-> DistFunc

distribution function type

-> Double

parameter 1

-> Double

parameter 2

-> Double

parameter 3

-> (Double, Double)

value

-> Double

result

probability of a variate take a value outside the argument

spherical_vector #

Arguments

:: Int

seed

-> Int

vector size

-> Vector Double 

returns a normalised random direction vector from a multivariate gaussian distribution