InverseWeibullDistribution Constructor

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

InverseWeibullDistribution(Vector<Double>, EstimationMethod) Estimates the parameters of the distribution of a variable assuming it follows an inverse Weibull distribution.
InverseWeibullDistribution(Double, Double, Double) Constructs a new inverse Weibull distribution.

InverseWeibullDistribution(Vector<Double>, EstimationMethod)

Estimates the parameters of the distribution of a variable assuming it follows an inverse Weibull distribution.
C#
public InverseWeibullDistribution(
	Vector<double> variable,
	EstimationMethod method = EstimationMethod.MatchingMoments
)

Parameters

variable  Vector<Double>
A vector.
method  EstimationMethod  (Optional)
Optional. An EstimationMethod value that specifies the method to be used to estimate the distribution parameters. The default is MatchingMoments.

Return Value

The InverseWeibullDistribution 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.

InverseWeibullDistribution(Double, Double, Double)

Constructs a new inverse Weibull distribution.
C#
public InverseWeibullDistribution(
	double shape,
	double scale = 1,
	double location = 0
)

Parameters

shape  Double
The shape parameter.
scale  Double  (Optional)
Optional. The scale parameter. The default is 1.
location  Double  (Optional)
Optional. The location parameter. The default is 0.

Remarks

The shape and scale parameters must be greater than zero.

Exceptions

ArgumentOutOfRangeException

shape is less than or equal to zero.

-or-

scale is less than or equal to zero.

See Also