JohnsonDistribution Constructor

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

ArgumentNullExceptionvariable 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