System.Math.MomentSkewKurtosis

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MomentSkewKurtosis(const Data: array of Double; var M1, M2, M3, M4, Skew, Kurtosis: Extended);

C++

extern DELPHI_PACKAGE void __fastcall MomentSkewKurtosis(const double *Data, const int Data_High, System::Extended &M1, System::Extended &M2, System::Extended &M3, System::Extended &M4, System::Extended &Skew, System::Extended &Kurtosis);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Calculates the mean, variance, skew, and kurtosis.

MomentSkewKurtosis calculates the core factors of statistical analysis: the first four moments plus the coefficients of skew and kurtosis.

Data specifies the data to be analyzed. In C++, Data_Size is the index of the last element in the Data array (one less than the number of elements). M1, M2, M3 and M4 return the first four moments (M1 is the mean, M2 is the variance, and so on). Skew reflects symmetry of distribution. Kurtosis reflects flatness of distribution.

See Also