Lognormal Distribution Constructor
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
- variable Vector<Double>
- A vector.
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
ArgumentNullException | 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
- mean Double
- Mean of the underlying normal distribution.
- standardDeviation Double
- Standard deviation of the underlying normal distribution.
Exceptions
ArgumentOutOfRangeException | standardDeviation is less than or equal to zero. |