Johnson 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
| Johnson | Constructs a Johnson distribution estimated from a numerical variable. |
| Johnson | Constructs a new JohnsonDistribution. |
JohnsonDistribution(Vector<Double>)
Constructs a Johnson distribution estimated from a numerical variable.
Remarks
This constructor estimates the distribution of variable using the quantiles method of Wheeler (1980). Observations must be finite and the five fitted empirical quantiles must be distinct.
Exceptions
| Argument | variable is null. |
| Argument | variable contains fewer than two observations or a nonfinite value. |
| Argument | The empirical quantiles do not identify finite parameters with positive scale and delta. |
JohnsonDistribution(Double, Double, Double, Double, JohnsonDistributionType)
Constructs a new JohnsonDistribution.
public JohnsonDistribution(
double location,
double scale,
double gamma,
double delta,
JohnsonDistributionType type = JohnsonDistributionType.Unbounded
)Parameters
- location Double
- Location parameter of the distribution.
- scale Double
- Scale parameter. Must be greater than zero.
- gamma Double
- The first shape parameter.
- delta Double
- The second shape parameter.
- type JohnsonDistributionType (Optional)
- The Johnson distribution type.
Exceptions
| Argument | A parameter is nonfinite, type is unknown, or lambda or delta is nonpositive. |