Gumbel Distribution Constructor
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Gumbel | Constructs a new standard GumbelDistribution. |
Gumbel | Estimates the parameters of the distribution of a variable assuming it follows a Gumbel distribution. |
Gumbel | Constructs a new GumbelDistribution using the specified shape parameters. |
Gumbel | Estimates the parameters of the distribution of a variable assuming it follows a Gumbel distribution. |
Gumbel | Constructs a new GumbelDistribution using the specified shape parameters. |
Gumbel | Estimates the parameters of the distribution of a variable assuming it follows a Gumbel distribution. |
GumbelDistribution
public GumbelDistribution()
Remarks
Gumbel distributions have a location and a shape parameter. The 'standard' Gumbel distribution has location parameter 0 and shape parameter 1.
GumbelDistribution(Vector<Double>)
public GumbelDistribution(
Vector<double> variable
)
Parameters
Return Value
The GumbelDistribution that best matches the distribution of variable.Remarks
Use this constructor to create a NormalDistribution whose parameters are estimated from variable. This constructor uses an unbiased estimator.
Exceptions
Argument | variable is null. |
GumbelDistribution(Double, Double)
public GumbelDistribution(
double location,
double scale
)
Parameters
Remarks
Gumbel distributions have a location and a scale parameter. The scale parameter must be greater than zero.
Exceptions
Argument | scale is less than or equal to zero. |
GumbelDistribution(Vector<Double>, EstimationMethod)
public GumbelDistribution(
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 GumbelDistribution that best matches the distribution of variable.Remarks
Use this constructor to create a NormalDistribution whose parameters are estimated from variable. The maximum likelihood and matching moment methods use biased and unbiased estimators for the standard deviation.
Exceptions
Argument | variable is null. |
GumbelDistribution(Double, Double, Boolean)
public GumbelDistribution(
double location,
double scale,
bool smallest
)
Parameters
Remarks
Gumbel distributions have a location and a scale parameter. The scale parameter must be greater than zero.
Exceptions
Argument | scale is less than or equal to zero. |
GumbelDistribution(Vector<Double>, EstimationMethod, Boolean)
public GumbelDistribution(
Vector<double> variable,
EstimationMethod method,
bool smallest
)
Parameters
- variable Vector<Double>
- A vector.
- method EstimationMethod
- An EstimationMethod value that specifies the method to be used to estimate the distribution parameters.
- smallest Boolean
- Indicates if the distribution models the smallest extreme values.
Return Value
The GumbelDistribution that best matches the distribution of variable.Remarks
Use this constructor to create a NormalDistribution whose parameters are estimated from variable. The maximum likelihood and matching moment methods use biased and unbiased estimators for the standard deviation.
Exceptions
Argument | variable is null. |