BetaPrimeDistribution Type

Provides generation of beta-prime distributed random numbers. This distribution is alsow known as inverted beta distribution.

The implementation of the BetaPrimeDistribution type bases upon information presented on Xycoon - Inverted Beta Distribution.

Constructors

Constructor Description

BetaPrimeDistribution()

Full Usage: BetaPrimeDistribution()

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

BetaPrimeDistribution(generator)

Full Usage: BetaPrimeDistribution(generator)

Parameters:

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

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

BetaPrimeDistribution(alpha, beta)

Full Usage: BetaPrimeDistribution(alpha, beta)

Parameters:
    alpha : float
    beta : float

Initializes a new instance of the BetaPrimeDistribution class, using the default generator.

alpha : float
beta : float

BetaPrimeDistribution(alpha, beta, generator)

Full Usage: BetaPrimeDistribution(alpha, beta, generator)

Parameters:
    alpha : float - First parameter of the distribution.
    beta : float - Second parameter of the distribution.
    generator : Generator - A Generator object.

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

alpha : float

First parameter of the distribution.

beta : float

Second parameter of the distribution.

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

Instance members

Instance member Description

this.Alpha

Full Usage: this.Alpha

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

Call BetaPrimeDistribution.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 beta-prime distributed random numbers.

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

this.Initialize

Full Usage: this.Initialize

Parameters:
    alpha : float
    beta : float

Updates the helper variables that store intermediate results for generation of beta-prime distributed random numbers.

alpha : float
beta : float

this.IsValidAlpha

Full Usage: this.IsValidAlpha

Parameters:
    value : float - The value to check.

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

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

value : float

The value to check.

Returns: bool

if value is greater than 1.0; otherwise, .

this.IsValidBeta

Full Usage: this.IsValidBeta

Parameters:
    value : float - The value to check.

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

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

value : float

The value to check.

Returns: bool

if value is greater than 1.0; otherwise, .

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Gets the maximum possible value of beta-prime distributed random numbers.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Gets the mean value of beta-prime distributed random numbers.

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Gets the median of beta-prime distributed random numbers.

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Gets the minimum possible value of beta-prime distributed random numbers.

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Gets the mode of beta-prime distributed random numbers.

Returns: float[]

this.NextDouble

Full Usage: this.NextDouble

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

Returns a beta-prime distributed floating point random number.

Returns: float

A beta-prime distributed double-precision floating point number.

this.Variance

Full Usage: this.Variance

Returns: float
Modifiers: abstract

Gets the variance of beta-prime distributed random numbers.

Returns: float