Weibull 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
Weibull | Constructs a new Weibull distribution with location parameter zero and shape factor 1. |
Weibull | Constructs a new Weibull distribution from a numerical variable. |
Weibull | Constructs a new Weibull distribution with location parameter zero. |
Weibull | Constructs a new Weibull distribution from a numerical variable. |
Weibull | Constructs a new Weibull distribution. |
WeibullDistribution(Double)
Constructs a new Weibull distribution with location parameter zero
and shape factor 1.
Remarks
The shape parameter must be greater than zero.
Exceptions
Argument | shape is less than or equal to zero. |
WeibullDistribution(Vector<Double>)
Constructs a new Weibull distribution from a numerical variable.
Remarks
This constructor estimates the distribution of variable using the matching moments method. The lower and upper bound are assumed to be zero and one.
Exceptions
Argument | variable is null. |
WeibullDistribution(Double, Double)
Constructs a new Weibull distribution with location parameter zero.
public WeibullDistribution(
double shape,
double scale
)
Parameters
Remarks
The scale and shape parameters must be greater than zero.
Exceptions
Argument | shape is less than or equal to zero. -or- scale is less than or equal to zero. |
WeibullDistribution(Vector<Double>, EstimationMethod)
Constructs a new Weibull distribution from a numerical variable.
public WeibullDistribution(
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 matching moments method. The lower and upper bound are assumed to be zero and one.
Exceptions
Argument | variable is null. |
WeibullDistribution(Double, Double, Double)
Constructs a new Weibull distribution.
public WeibullDistribution(
double shape,
double scale,
double location
)
Parameters
Remarks
The scale and shape parameters must be greater than zero.
Exceptions
Argument | shape is less than or equal to zero. -or- scale is less than or equal to zero. |