Laplace Distribution Constructor
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Laplace | Constructs the maximum-likelihood Laplace distribution from a numerical variable. |
Laplace | Constructs a new LaplaceDistribution. |
Laplace | Constructs the Laplace distribution from a numerical variable. |
LaplaceDistribution(Vector<Double>)
Constructs the maximum-likelihood Laplace distribution from a numerical variable.
Remarks
This constructor estimates the distribution of variable using the maximum likelihood method.
Exceptions
Argument | variable is null. |
LaplaceDistribution(Double, Double)
Constructs a new LaplaceDistribution.
public LaplaceDistribution(
double location,
double scale
)
Parameters
Exceptions
Argument | The scale parameter, scale is less than or equal to zero. |
LaplaceDistribution(Vector<Double>, EstimationMethod)
Constructs the Laplace distribution from a numerical variable.
public LaplaceDistribution(
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.
Remarks
This constructor estimates the distribution of variable using the method specified by method.
Exceptions
Argument | variable is null. |