Declaration: TVector.SkewKurt (LowElem, HighElem: integer; var Skewness, Kurtosis: double);
The method SkewKurt calculates the skewness and the kurtosis of the distribution of the specified vector elements, assuming the data being a population. The range of the vector elements which are used for the calculation is determined by the parameters LowElem, and HighElem. If any of these parameters receives an invalid value, this value is automatically adjusted to the most appropriate boundary value (either 1 or NrOfElems ). The variable parameters Skewness and Kurtosis contain the skewness and the kurtosis of the selected data. Note, that in the case of the method SkewKurt the vector is not considered as a vector in its usual sense but merely as a collection of numbers.

Hint: The method SkewKurt requires at least two vector elements, otherwise zero values are returned in the parameters Skewness and Kurtosis.

Example: The statement Vec.SkewKurt (3,20,Sk,Ku); calculates the skewness and the kurtosis for the vector elements [3..20] and returns them in the variables Sk and Ku.