C# Class Accord.Statistics.Distributions.Univariate.DegenerateDistribution

Inheritance: UnivariateDiscreteDistribution
Datei anzeigen Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

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

DegenerateDistribution ( ) : System

Initializes a new instance of the DegenerateDistribution class.

DegenerateDistribution ( [ value ) : System

Initializes a new instance of the DegenerateDistribution class.

DistributionFunction ( int k ) : double

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

The DegenerateDistribution does not support fitting.

InverseDistributionFunction ( double p ) : int

Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.

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.

Method Details

Clone() public method

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

DegenerateDistribution() public method

Initializes a new instance of the DegenerateDistribution class.
public DegenerateDistribution ( ) : System
return System

DegenerateDistribution() public method

Initializes a new instance of the DegenerateDistribution class.
public DegenerateDistribution ( [ value ) : System
value [ /// The only value whose probability is different from zero. Default is zero. ///
return System

DistributionFunction() public method

Gets 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.
return double

Fit() public method

The DegenerateDistribution does not support fitting.
public Fit ( double observations, double weights, IFittingOptions options ) : void
observations double
weights double
options IFittingOptions
return void

InverseDistributionFunction() public method

Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.
public InverseDistributionFunction ( double p ) : int
p double A probability value between 0 and 1.
return int

ProbabilityMassFunction() public method

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.
return double

ToString() public method

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