Gumbel Distribution Constructor
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
- variable Vector<Double>
- A vector.
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
ArgumentNullException | variable is null. |
GumbelDistribution(Double, Double)
public GumbelDistribution(
double location,
double scale
)
Parameters
- location Double
- Location parameter of the distribution.
- scale Double
- Scale parameter of the distribution.
Remarks
Gumbel distributions have a location and a scale parameter. The scale parameter must be greater than zero.
Exceptions
ArgumentOutOfRangeException | 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
ArgumentNullException | variable is null. |
GumbelDistribution(Double, Double, Boolean)
public GumbelDistribution(
double location,
double scale,
bool smallest
)
Parameters
- location Double
- Location parameter of the distribution.
- scale Double
- Scale parameter of the distribution.
- smallest Boolean
- A Boolean value that indicates if the distribution models the smallest extreme values.
Remarks
Gumbel distributions have a location and a scale parameter. The scale parameter must be greater than zero.
Exceptions
ArgumentOutOfRangeException | 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
- A Boolean value that 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
ArgumentNullException | variable is null. |