public static double sampleSkew(int size,double moment3,double sampleVariance){
  int n=size;
  double s=Math.sqrt(sampleVariance);
  double m3=moment3 * n;
  return n * m3 / ((n - 1) * (n - 2) * s* s* s);
}

public static double sampleSkew ( int size , double moment3 , double sampleVariance ) { int n = size ; double s = Math . sqrt ( sampleVariance ) ; double m3 = moment3 * n ; return n * m3 / ( ( n - 1 ) * ( n - 2 ) * s * s * s ) ; }
returns the sample skew of a data sequence . ref : r . r . sokal , f . j . rohlf , biometry : the principles and practice of statistics in biological research ( w . h . freeman and company , new york , 1998 , 3rd edition ) p . 114 - 115 .
