Computes the given sample central moment.

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public double MomentAboutMean(
	IList<int> powers
)
Public Function MomentAboutMean ( _
	powers As IList(Of Integer) _
) As Double
public:
double MomentAboutMean(
	IList<int>^ powers
)
member MomentAboutMean : 
        powers : IList<int> -> float 

Parameters

powers
IList<(Of <(<'Int32>)>)>
The power to which each component should be raised.

Return Value

The specified moment.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionpowers is null.
Meta.Numerics..::..DimensionMismatchExceptionThe length of powers is not equal to the Dimension of the multivariate sample.

See Also