C# Класс Accord.Statistics.Distributions.Multivariate.MultinomialDistribution

Наследование: MultivariateDiscreteDistribution
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : object

Creates a new object that is a copy of the current instance.

DistributionFunction ( int x ) : double

Gets the cumulative distribution function (cdf) for the this distribution evaluated at point x.

The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.

Fit ( double observations, double weights ) : IDistribution

Fits the underlying distribution to a given set of observations.

MultinomialDistribution ( int numberOfTrials ) : System

Initializes a new instance of the MultinomialDistribution class.

ProbabilityMassFunction ( int x ) : double

Gets the probability mass function (pmf) for this distribution evaluated at point x.

The Probability Mass Function (PMF) describes the probability that a given value x will occur.

Описание методов

Clone() публичный Метод

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Результат object

DistributionFunction() публичный Метод

Gets the cumulative distribution function (cdf) for the this distribution evaluated at point x.
The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.
public DistributionFunction ( int x ) : double
x int A single point in the distribution range.
Результат double

Fit() публичный Метод

Fits the underlying distribution to a given set of observations.
public Fit ( double observations, double weights ) : IDistribution
observations double The array of observations to fit the model against.
weights double The weight vector containing the weight for each of the samples.
Результат IDistribution

MultinomialDistribution() публичный Метод

Initializes a new instance of the MultinomialDistribution class.
public MultinomialDistribution ( int numberOfTrials ) : System
numberOfTrials int The total number of trials N.
Результат System

ProbabilityMassFunction() публичный Метод

Gets the probability mass function (pmf) for this distribution evaluated at point x.
The Probability Mass Function (PMF) describes the probability that a given value x will occur.
public ProbabilityMassFunction ( int x ) : double
x int A single point in the distribution range.
Результат double