ParetoDistribution Type

Provides generation of pareto distributed random numbers.

The implementation of the ParetoDistribution type bases upon information presented on Wikipedia - Pareto distribution and Xycoon - Pareto Distribution.

Constructors

Constructor Description

ParetoDistribution()

Full Usage: ParetoDistribution()

Initializes a new instance of the ParetoDistribution class, using a StandardGenerator as underlying random number generator.

ParetoDistribution(generator)

Full Usage: ParetoDistribution(generator)

Parameters:

Initializes a new instance of the ParetoDistribution class, using the specified Generator as underlying random number generator.

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

ParetoDistribution(alpha, beta)

Full Usage: ParetoDistribution(alpha, beta)

Parameters:
    alpha : float
    beta : float

alpha : float
beta : float

ParetoDistribution(alpha, beta, generator)

Full Usage: ParetoDistribution(alpha, beta, generator)

Parameters:
    alpha : float
    beta : float
    generator : Generator

alpha : float
beta : float
generator : Generator

Instance members

Instance member Description

this.Alpha

Full Usage: this.Alpha

Gets or sets the parameter alpha which is used for generation of pareto distributed random numbers.

Call ParetoDistribution.IsValidAlpha to determine whether a value is valid and therefor assignable.

this.Beta

Full Usage: this.Beta

Gets or sets the parameter beta which is used for generation of pareto distributed random numbers.

Call ParetoDistribution.IsValidBeta to determine whether a value is valid and therefor assignable.

this.CDF

Full Usage: this.CDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Initialize

Full Usage: this.Initialize

Parameters:
    alpha : float
    beta : float

alpha : float
beta : float

this.IsValidAlpha

Full Usage: this.IsValidAlpha

Parameters:
    value : float - The value to check.

Returns: bool if value is greater than 0.0; otherwise, .

Determines whether the specified value is valid for parameter ParetoDistribution.Alpha.

value : float

The value to check.

Returns: bool

if value is greater than 0.0; otherwise, .

this.IsValidBeta

Full Usage: this.IsValidBeta

Parameters:
    value : float - The value to check.

Returns: bool if value is greater than 0.0; otherwise, .

Determines whether the specified value is valid for parameter ParetoDistribution.Beta.

value : float

The value to check.

Returns: bool

if value is greater than 0.0; otherwise, .

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Gets the maximum possible value of pareto distributed random numbers.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Gets the mean value of pareto distributed random numbers.

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Gets the median of pareto distributed random numbers.

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Gets the minimum possible value of pareto distributed random numbers.

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Gets the mode of pareto distributed random numbers.

Returns: float[]

this.NextDouble

Full Usage: this.NextDouble

Returns: float A pareto distributed double-precision floating point number.
Modifiers: abstract

Returns a pareto distributed floating point random number.

Returns: float

A pareto distributed double-precision floating point number.

this.PDF

Full Usage: this.PDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Quantile

Full Usage: this.Quantile

Parameters:
    p : float

Returns: float
Modifiers: abstract

p : float
Returns: float

this.Variance

Full Usage: this.Variance

Returns: float
Modifiers: abstract

Gets the variance of pareto distributed random numbers.

Returns: float

Static members

Static member Description

ParetoDistribution.CDF(x, alpha, beta)

Full Usage: ParetoDistribution.CDF(x, alpha, beta)

Parameters:
    x : float
    alpha : float
    beta : float

Returns: float

x : float
alpha : float
beta : float
Returns: float

ParetoDistribution.PDF(x, alpha, beta)

Full Usage: ParetoDistribution.PDF(x, alpha, beta)

Parameters:
    x : float
    alpha : float
    beta : float

Returns: float

x : float
alpha : float
beta : float
Returns: float

ParetoDistribution.Quantile(p, alpha, beta)

Full Usage: ParetoDistribution.Quantile(p, alpha, beta)

Parameters:
    p : float
    alpha : float
    beta : float

Returns: float

p : float
alpha : float
beta : float
Returns: float