Lognormal Distribution Constructor
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Lognormal | Estimates the parameters of the distribution of a variable assuming it follows a lognormal distribution. |
Lognormal | Constructs a new LognormalDistribution object with the specified location and scale parameters. |
LognormalDistribution(Vector<Double>)
Estimates the parameters of the distribution of a variable assuming it follows a lognormal distribution.
public LognormalDistribution(
Vector<double> variable
)
Parameters
Return Value
The LognormalDistribution that best matches the distribution of variable.Remarks
Use this constructor to create a LognormalDistribution whose parameters are estimated from variable. By default, the maximum likelihood estimate is returned, if it is available.
Exceptions
Argument | variable is null. |
LognormalDistribution(Double, Double)
Constructs a new LognormalDistribution object
with the specified location and scale parameters.
public LognormalDistribution(
double mean,
double standardDeviation
)
Parameters
Exceptions
Argument | standardDeviation is less than or equal to zero. |