Class: DiscreteDistribution

DiscreteDistribution

new DiscreteDistribution(meanopt, varianceopt)

The abstract base class for discrete distributions
Parameters:
Name Type Attributes Description
mean float <optional>
The mean of the distribution (if it has one)
variance float <optional>
The variance of the distribution (if it has one)
Source:

Extends

Methods

(abstract) cdf()

The cumulative probability distribution function of the parametrised distribution.
Inherited From:
Source:

(abstract) fitData()

Method to fit distribution to data.
Inherited From:
Source:

(abstract) isUniquelyDetermined() → {bool}

The distribution is uniquely determined if it has all the parameters it requires to compute all other quantities of interest.
Inherited From:
Source:
Returns:
- true if this distribution is uniquely determined, false otherwise
Type
bool

(abstract) pmf()

The probability mass function of the parametrised distribution.
Source: