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

Inheritance: UnivariateContinuousDistribution
Show file 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.

DistributionFunction ( double x ) : double

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

InverseDistributionFunction ( double p ) : double

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.

LogProbabilityDensityFunction ( double x ) : double

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

LogisticDistribution ( ) : System

Constructs a Logistic distribution with zero location and unit scale.

LogisticDistribution ( [ location ) : System

Constructs a Logistic distribution with given location and unit scale.

LogisticDistribution ( [ location, [ scale ) : System

Constructs a Logistic distribution with given location and scale parameters.

ProbabilityDensityFunction ( double x ) : double

Gets the probability density function (pdf) for this distribution evaluated at point x.

QuantileDensityFunction ( double p ) : double

Gets the first derivative of the inverse distribution function (icdf) for this distribution evaluated at probability p.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
initialize ( double mean, double scale ) : void

Method Details

Clone() public method

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

DistributionFunction() public method

Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
public DistributionFunction ( double x ) : double
x double A single point in the distribution range.
return double

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 ) : double
p double A probability value between 0 and 1.
return double

LogProbabilityDensityFunction() public method

Gets the log-probability density function (pdf) for this distribution evaluated at point x.
public LogProbabilityDensityFunction ( double x ) : double
x double A single point in the distribution range.
return double

LogisticDistribution() public method

Constructs a Logistic distribution with zero location and unit scale.
public LogisticDistribution ( ) : System
return System

LogisticDistribution() public method

Constructs a Logistic distribution with given location and unit scale.
public LogisticDistribution ( [ location ) : System
location [ The distribution's location value μ (mu).
return System

LogisticDistribution() public method

Constructs a Logistic distribution with given location and scale parameters.
public LogisticDistribution ( [ location, [ scale ) : System
location [ The distribution's location value μ (mu).
scale [ The distribution's scale value s.
return System

ProbabilityDensityFunction() public method

Gets the probability density function (pdf) for this distribution evaluated at point x.
public ProbabilityDensityFunction ( double x ) : double
x double A single point in the distribution range.
return double

QuantileDensityFunction() public method

Gets the first derivative of the inverse distribution function (icdf) for this distribution evaluated at probability p.
public QuantileDensityFunction ( double p ) : double
p double A probability value between 0 and 1.
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