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

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.

ComplementaryDistributionFunction ( double x ) : double

Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.

The Complementary Cumulative Distribution Function (CCDF) is the complement of the Cumulative Distribution Function, or 1 minus the CDF.

DistributionFunction ( double x ) : double

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

FromLocationShape ( double location, double shape ) : LogLogisticDistribution

Creates a new LogLogisticDistribution using the location-shape parametrization. In this parametrization, Beta is taken as 1 / shape.

HazardFunction ( double x ) : double

Gets the hazard function, also known as the failure rate or the conditional failure density function for this distribution evaluated at point x.

The hazard function is the ratio of the probability density function f(x) to the survival function, S(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.

LogLogisticDistribution ( ) : System

Constructs a Log-Logistic distribution with unit scale and unit shape.

LogLogisticDistribution ( [ alpha ) : System

Constructs a Log-Logistic distribution with the given scale and unit shape.

LogLogisticDistribution ( [ alpha, [ beta ) : System

Constructs a Log-Logistic distribution with the given scale and shape 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 scale, double shape ) : void

Method Details

Clone() public method

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

ComplementaryDistributionFunction() public method

Gets the complementary cumulative distribution function (ccdf) for this distribution evaluated at point x. This function is also known as the Survival function.
The Complementary Cumulative Distribution Function (CCDF) is the complement of the Cumulative Distribution Function, or 1 minus the CDF.
public ComplementaryDistributionFunction ( double x ) : double
x double A single point in the distribution range.
return double

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

FromLocationShape() public static method

Creates a new LogLogisticDistribution using the location-shape parametrization. In this parametrization, Beta is taken as 1 / shape.
public static FromLocationShape ( double location, double shape ) : LogLogisticDistribution
location double The location parameter μ (mu) [taken as μ = α].
shape double The distribution's shape value σ (sigma) [taken as σ = β].
return LogLogisticDistribution

HazardFunction() public method

Gets the hazard function, also known as the failure rate or the conditional failure density function for this distribution evaluated at point x.
The hazard function is the ratio of the probability density function f(x) to the survival function, S(x).
public HazardFunction ( 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

LogLogisticDistribution() public method

Constructs a Log-Logistic distribution with unit scale and unit shape.
public LogLogisticDistribution ( ) : System
return System

LogLogisticDistribution() public method

Constructs a Log-Logistic distribution with the given scale and unit shape.
public LogLogisticDistribution ( [ alpha ) : System
alpha [ The distribution's scale value α (alpha).
return System

LogLogisticDistribution() public method

Constructs a Log-Logistic distribution with the given scale and shape parameters.
public LogLogisticDistribution ( [ alpha, [ beta ) : System
alpha [ The distribution's scale value α (alpha).
beta [ The distribution's shape value β (beta).
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