ocean.math.Probability

Members

Functions

betaDistribution
real betaDistribution(real a, real b, real x)
betaDistributionCompl
real betaDistributionCompl(real a, real b, real x)
betaDistributionComplInv
real betaDistributionComplInv(real a, real b, real y)
betaDistributionInv
real betaDistributionInv(real a, real b, real y)

Beta distribution and its inverse

binomialDistribution
real binomialDistribution(int k, int n, real p)
binomialDistributionCompl
real binomialDistributionCompl(int k, int n, real p)

Binomial distribution and complemented binomial distribution

binomialDistributionInv
real binomialDistributionInv(int k, int n, real y)

Inverse binomial distribution

chiSqrDistribution
real chiSqrDistribution(real v, real x)
chiSqrDistributionCompl
real chiSqrDistributionCompl(real v, real x)

χ2 cumulative distribution function and its complement.

chiSqrDistributionComplInv
real chiSqrDistributionComplInv(real v, real p)

Inverse of complemented χ2 distribution

fDistribution
real fDistribution(int df1, int df2, real x)
fDistributionCompl
real fDistributionCompl(int df1, int df2, real x)
fDistributionComplInv
real fDistributionComplInv(int df1, int df2, real p)

The F distribution, its complement, and inverse.

gammaDistribution
real gammaDistribution(real a, real b, real x)
gammaDistributionCompl
real gammaDistributionCompl(real a, real b, real x)

The Γ distribution and its complement

negativeBinomialDistribution
real negativeBinomialDistribution(int k, int n, real p)
negativeBinomialDistributionInv
real negativeBinomialDistributionInv(int k, int n, real p)

Negative binomial distribution and its inverse

normalDistribution
real normalDistribution(real a)
normalDistributionCompl
real normalDistributionCompl(real a)

Cumulative distribution function for the Normal distribution, and its complement.

normalDistributionComplInv
real normalDistributionComplInv(real p)

Inverse of Normal distribution function

normalDistributionInv
real normalDistributionInv(real p)

Inverse of Normal distribution function

poissonDistribution
real poissonDistribution(int k, real m)
poissonDistributionCompl
real poissonDistributionCompl(int k, real m)
poissonDistributionInv
real poissonDistributionInv(int k, real p)

The Poisson distribution, its complement, and inverse

studentsTDistribution
real studentsTDistribution(int nu, real t)

Student's t cumulative distribution function

studentsTDistributionInv
real studentsTDistributionInv(int nu, real p)

Inverse of Student's t distribution

Meta