The OpenD Programming Language

mir.stat.distribution.bernoulli

This module contains algorithms for the Bernoulli Distribution.

Members

Functions

bernoulliCCDF
T bernoulliCCDF(bool x, T p)

Computes the bernoulli complementary cumulative distribution function (CCDF).

bernoulliCDF
T bernoulliCDF(bool x, T p)

Computes the bernoulli cumulatve distribution function (CDF).

bernoulliInvCDF
bool bernoulliInvCDF(T q, T p)

Computes the bernoulli inverse cumulative distribution function (InvCDF).

bernoulliLPMF
T bernoulliLPMF(bool x, T p)

Computes the bernoulli log probability mass function (LPMF).

bernoulliPMF
T bernoulliPMF(bool x, T p)

Computes the bernoulli probability mass function (PMF).

Meta

Authors

John Michael Hall