StudentsTDistribution Type

Provides generation of t-distributed random numbers.

The implementation of the StudentsTDistribution type bases upon information presented on Wikipedia - Student's t-distribution and Xycoon - Student t Distribution.

Constructors

Constructor Description

StudentsTDistribution()

Full Usage: StudentsTDistribution()

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

StudentsTDistribution(generator)

Full Usage: StudentsTDistribution(generator)

Parameters:

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

generator : Generator

StudentsTDistribution(nu)

Full Usage: StudentsTDistribution(nu)

Parameters:
    nu : float

nu : float

StudentsTDistribution(nu, generator)

Full Usage: StudentsTDistribution(nu, generator)

Parameters:

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

nu : float

Parameter of the distribution.

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

Instance members

Instance member Description

this.CDF

Full Usage: this.CDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Initialize

Full Usage: this.Initialize

Parameters:
    nu : float

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

nu : float

this.IsValidNu

Full Usage: this.IsValidNu

Parameters:
    value : float - The value to check.

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

Determines whether the specified value is valid for parameter StudentsTDistribution.Nu.

value : float

The value to check.

Returns: bool

if value is greater than 0; otherwise, .

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Gets the maximum possible value of t-distributed random numbers.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Gets the mean value of t-distributed random numbers.

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Gets the median of t-distributed random numbers.

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Gets the minimum possible value of t-distributed random numbers.

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Gets the mode of t-distributed random numbers.

Returns: float[]

this.NextDouble

Full Usage: this.NextDouble

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

Returns a t-distributed floating point random number.

Returns: float

A t-distributed double-precision floating point number.

this.Nu

Full Usage: this.Nu

Gets or sets the parameter nu which is used for generation of t-distributed random numbers.

Call StudentsTDistribution.IsValidNu to determine whether a value is valid and therefor assignable.

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 t-distributed random numbers.

Returns: float

Static members

Static member Description

StudentsTDistribution.CDF(x, n)

Full Usage: StudentsTDistribution.CDF(x, n)

Parameters:
    x : float
    n : float

Returns: float

x : float
n : float
Returns: float

StudentsTDistribution.PDF(x, n)

Full Usage: StudentsTDistribution.PDF(x, n)

Parameters:
    x : float
    n : float

Returns: float

x : float
n : float
Returns: float

StudentsTDistribution.Quantile(alpha, n)

Full Usage: StudentsTDistribution.Quantile(alpha, n)

Parameters:
    alpha : float
    n : float

Returns: float

alpha : float
n : float
Returns: float