kstatistic(a,k)

Returns the k-statistic of the data stored in array a. The function is implemented for k=1,2,3 and 4 only.

kstatistic(A,k)

Returns an array with the k-statistic of each column of matrix a. The function is implemented for k=1,2,3 and 4 only.


See also moment mean variance 


Example


x = ( 3, 4, 2, -2, 1, 2, 1 );

kstatistic( x, 3 )

-6.6571