MultivariateSampleRawMoment(IReadOnlyListInt32) Method

Computes the given sample raw moment.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public double RawMoment(
	IReadOnlyList<int> powers
)

Parameters

powers  IReadOnlyListInt32
The power to which each component should be raised.

Return Value

Double
The specified moment.

Exceptions

ArgumentNullExceptionpowers is null.
DimensionMismatchExceptionThe length of powers is not equal to the Dimension of the multivariate sample.

See Also