StudentTDistribution.MomentFunction Method

Returns the value of the moment function of the specified order.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public override double MomentFunction(
	int order,
	double x
)

Parameters

order  Int32
The order of the moment function.
x  Double
The point at which to evaluate the moment function.

Return Value

Double
The value of the moment function of order order at x.

Remarks

Order zero returns CDF(x)-1/2. Positive orders integrate t^order*f(t) over the negative-infinite lower interval. A divergent lower odd integral returns negative infinity; its full-line moment is undefined. Divergent even integrals return positive infinity.

Exceptions

ArgumentOutOfRangeException

order is less than zero.

See Also