Logistic Distribution Constructor
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Overload List
| Logistic | Estimates the parameters of the distribution of a variable assuming it follows a logistic distribution. |
| Logistic | Constructs a new LogisticDistribution with the specified location and scale parameters. |
| Logistic | 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.
public LogisticDistribution(
Vector<double> variable
)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 by matching the sample mean and unbiased sample variance.
Exceptions
| Argument | variable is null. |
LogisticDistribution(Double, Double)
Constructs a new LogisticDistribution with
the specified location and scale parameters.
public LogisticDistribution(
double location,
double scale
)Parameters
Exceptions
| Argument | 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.
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
| Argument | variable is null. |