LogisticDistribution Constructor

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0

Overload List

LogisticDistribution(Vector<Double>) Estimates the parameters of the distribution of a variable assuming it follows a logistic distribution.
LogisticDistribution(Double, Double) Constructs a new LogisticDistribution with the specified location and scale parameters.
LogisticDistribution(Vector<Double>, EstimationMethod) Estimates the parameters of the distribution of a variable assuming it follows a logistic distribution.

LogisticDistribution(Vector<Double>)

Estimates the parameters of the distribution of a variable assuming it follows a logistic distribution.
C#
public LogisticDistribution(
	Vector<double> variable
)

Parameters

variable  Vector<Double>
A vector.

Return Value

The LogisticDistribution that best matches the distribution of variable.

Remarks

Use this constructor to create a LogisticDistribution whose parameters are estimated from variable by matching the sample mean and unbiased sample variance.

Exceptions

ArgumentNullException

variable is null.

LogisticDistribution(Double, Double)

Constructs a new LogisticDistribution with the specified location and scale parameters.
C#
public LogisticDistribution(
	double location,
	double scale
)

Parameters

location  Double
Location parameter of the distribution.
scale  Double
Scale parameter.

Exceptions

ArgumentOutOfRangeException

scale is less than or equal to zero.

LogisticDistribution(Vector<Double>, EstimationMethod)

Estimates the parameters of the distribution of a variable assuming it follows a logistic distribution.
C#
public LogisticDistribution(
	Vector<double> variable,
	EstimationMethod method
)

Parameters

variable  Vector<Double>
A vector.
method  EstimationMethod
An EstimationMethod value that specifies the method to be used to estimate the distribution parameters.

Return Value

The LogisticDistribution that best matches the distribution of variable.

Remarks

Use this constructor to create a LogisticDistribution whose parameters are estimated from variable. Matching moments uses the sample mean and unbiased sample variance. Maximum likelihood numerically maximizes the logistic likelihood over the location and positive scale.

Exceptions

ArgumentNullException

variable is null.

See Also