JohnsonDistribution Constructor

Definition

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

Overload List

JohnsonDistribution(Vector<Double>) Constructs a Johnson distribution estimated from a numerical variable.
JohnsonDistribution(Double, Double, Double, Double, JohnsonDistributionType) Constructs a new JohnsonDistribution.

JohnsonDistribution(Vector<Double>)

Constructs a Johnson distribution estimated from a numerical variable.
C#
public JohnsonDistribution(
	Vector<double> variable
)

Parameters

variable  Vector<Double>
A vector.

Remarks

This constructor estimates the distribution of variable using the quantiles method of Wheeler (1980).

Exceptions

ArgumentNullException

variable is null.

JohnsonDistribution(Double, Double, Double, Double, JohnsonDistributionType)

Constructs a new JohnsonDistribution.
C#
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 second shape parameter.
delta  Double
The second shape parameter. Must be greater than zero.
type  JohnsonDistributionType  (Optional)
The type of Johnson distribution.

Exceptions

ArgumentOutOfRangeException

The scale parameter, scale is less than or equal to zero.

-or-

The second shape parameter, delta is less than or equal to zero.

See Also