Inverse Weibull Distribution Constructor
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Overload List
| Inverse | Estimates the parameters of the distribution of a variable assuming it follows an inverse Weibull distribution. |
| Inverse | 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.
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
Estimates shape and scale with location fixed at zero. Observations must be finite, positive, nonconstant and contain at least two values. Default selects matching moments, using unbiased sample variance. Maximum likelihood solves a centered logarithmic score equation without forming reciprocals of the observations.
Exceptions
| Argument | variable is null. |
| Argument | The method is unknown, there are fewer than two observations, or an observation is nonpositive or nonfinite. |
| Argument | The observations are constant or do not identify finite positive fitted parameters. |
InverseWeibullDistribution(Double, Double, Double)
Constructs a new inverse Weibull distribution.
public InverseWeibullDistribution(
double shape,
double scale = 1,
double location = 0
)Parameters
Remarks
The shape and scale parameters must be greater than zero.
Exceptions
| Argument | shape is nonpositive or nonfinite. -or- scale is nonpositive or nonfinite, or location is nonfinite. |