ParetoDistribution Constructor

Definition

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

Overload List

ParetoDistribution(Double, Double) Constructs a new one-parameter ParetoDistribution using the specified shape parameters.
ParetoDistribution(Double, Double, ParetoDistributionVariant) Constructs a new ParetoDistribution using the specified shape parameters.

ParetoDistribution(Double, Double)

Constructs a new one-parameter ParetoDistribution using the specified shape parameters.
C#
public ParetoDistribution(
	double shape,
	double scale
)

Parameters

shape  Double
The shape parameter of the distribution. Must be greater than zero.
scale  Double
The scale parameter of the distribution. Must be greater than zero.

Remarks

Pareto distributions have a scale and a shape parameter.

Exceptions

ArgumentOutOfRangeException

shape is less than or equal to zero.

-or-

scale is less than or equal to zero.

ParetoDistribution(Double, Double, ParetoDistributionVariant)

Constructs a new ParetoDistribution using the specified shape parameters.
C#
public ParetoDistribution(
	double shape,
	double scale,
	ParetoDistributionVariant variant
)

Parameters

shape  Double
The shape parameter of the distribution. Must be greater than zero.
scale  Double
The scale parameter of the distribution. Must be greater than zero.
variant  ParetoDistributionVariant
A ParetoDistributionVariant value that specifies whether to construct the one or two parameter variant of the distribution.

Remarks

Pareto distributions have a scale and a shape parameter.

Exceptions

ArgumentOutOfRangeException

shape is less than or equal to zero.

-or-

scale is less than or equal to zero.

See Also