C# 클래스 Accord.Statistics.Distributions.Univariate.NegativeBinomialDistribution

상속: UnivariateDiscreteDistribution
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object

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

DistributionFunction ( int k ) : double

Gets P( X<= k), the cumulative distribution function (cdf) for this distribution evaluated at point k.

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, Fitting options ) : void

Fits the underlying distribution to a given set of observations.

LogProbabilityMassFunction ( int k ) : double

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

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

NegativeBinomialDistribution ( [ failures, [ probability ) : System

Creates a new Negative Binomial distribution.

ProbabilityMassFunction ( int k ) : 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.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

메소드 상세

Clone() 공개 메소드

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
리턴 object

DistributionFunction() 공개 메소드

Gets P( X<= k), the cumulative distribution function (cdf) for this distribution evaluated at point k.
The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.
public DistributionFunction ( int k ) : double
k 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, Fitting options ) : void
observations double The array of observations to fit the model against. The array /// elements can be either of type double (for univariate data) or /// type double[] (for multivariate data).
weights double The weight vector containing the weight for each of the samples.
options Fitting Optional arguments which may be used during fitting, such /// as regularization constants and additional parameters.
리턴 void

LogProbabilityMassFunction() 공개 메소드

Gets the log-probability mass function (pmf) for this distribution evaluated at point x.
The Probability Mass Function (PMF) describes the probability that a given value k will occur.
public LogProbabilityMassFunction ( int k ) : double
k int A single point in the distribution range.
리턴 double

NegativeBinomialDistribution() 공개 메소드

Creates a new Negative Binomial distribution.
public NegativeBinomialDistribution ( [ failures, [ probability ) : System
failures [ Number of failures r.
probability [ Success probability in each experiment.
리턴 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 k ) : double
k int A single point in the distribution range.
리턴 double

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
리턴 string