Index: trunk/psLib/src/math/psStats.h
===================================================================
--- trunk/psLib/src/math/psStats.h	(revision 13494)
+++ trunk/psLib/src/math/psStats.h	(revision 14429)
@@ -8,6 +8,6 @@
  * @author GLG, MHPCC
  *
- * @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-05-24 02:06:51 $
+ * @version $Revision: 1.61 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-08-08 19:38:17 $
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  */
@@ -29,23 +29,28 @@
 typedef enum {
     PS_STAT_NONE            = 0x000000, ///< Empty set
-    PS_STAT_SAMPLE_MEAN     = 0x000001, ///< Sample Mean
-    PS_STAT_SAMPLE_MEDIAN   = 0x000002, ///< Sample Median
-    PS_STAT_SAMPLE_STDEV    = 0x000004, ///< Sample Standard Deviation
-    PS_STAT_SAMPLE_QUARTILE = 0x000008, ///< Sample Quartile
-    PS_STAT_ROBUST_MEDIAN   = 0x000010, ///< Robust Median
-    PS_STAT_ROBUST_STDEV    = 0x000020, ///< Robust Standarad Deviation
-    PS_STAT_ROBUST_QUARTILE = 0x000040, ///< Robust Quartile
-    PS_STAT_FITTED_MEAN     = 0x000080, ///< Fitted Mean
-    PS_STAT_FITTED_STDEV    = 0x000100, ///< Fitted Standard Deviation
-    PS_STAT_CLIPPED_MEAN    = 0x000200, ///< Clipped Mean
-    PS_STAT_CLIPPED_STDEV   = 0x000400, ///< Clipped Standard Deviation
-    PS_STAT_MAX             = 0x000800, ///< Maximum
-    PS_STAT_MIN             = 0x001000, ///< Minumum
-    PS_STAT_USE_RANGE       = 0x002000, ///< Range
-    PS_STAT_USE_BINSIZE     = 0x004000, ///< Binsize
-    PS_STAT_FITTED_MEAN_V2  = 0x008000, ///< Fitted Mean
-    PS_STAT_FITTED_STDEV_V2 = 0x010000, ///< Fitted Standard Deviation
-    PS_STAT_FITTED_MEAN_V3  = 0x020000, ///< Fitted Mean
-    PS_STAT_FITTED_STDEV_V3 = 0x040000, ///< Fitted Standard Deviation
+    PS_STAT_MIN             = 0x000001, ///< Maximum
+    PS_STAT_MAX             = 0x000002, ///< Minumum
+    PS_STAT_SAMPLE_MEAN     = 0x000004, ///< Sample Mean
+    PS_STAT_SAMPLE_MEDIAN   = 0x000008, ///< Sample Median
+    PS_STAT_SAMPLE_STDEV    = 0x000010, ///< Sample Standard Deviation
+    PS_STAT_SAMPLE_QUARTILE = 0x000020, ///< Sample Quartile
+    PS_STAT_SAMPLE_SKEWNESS = 0x000040, ///< Sample Skewness (third moment)
+    PS_STAT_SAMPLE_KURTOSIS = 0x000080, ///< Sample Kurtosis (fourth moment)
+    PS_STAT_ROBUST_MEDIAN   = 0x000100, ///< Robust Median
+    PS_STAT_ROBUST_STDEV    = 0x000200, ///< Robust Standarad Deviation
+    PS_STAT_ROBUST_QUARTILE = 0x000400, ///< Robust Quartile
+    PS_STAT_ROBUST_SPARE1   = 0x000800, ///< Spare 1
+    PS_STAT_FITTED_MEAN     = 0x001000, ///< Fitted Mean
+    PS_STAT_FITTED_STDEV    = 0x002000, ///< Fitted Standard Deviation
+    PS_STAT_FITTED_MEAN_V2  = 0x004000, ///< Fitted Mean
+    PS_STAT_FITTED_STDEV_V2 = 0x008000, ///< Fitted Standard Deviation
+    PS_STAT_FITTED_MEAN_V3  = 0x010000, ///< Fitted Mean
+    PS_STAT_FITTED_STDEV_V3 = 0x020000, ///< Fitted Standard Deviation
+    PS_STAT_CLIPPED_MEAN    = 0x040000, ///< Clipped Mean
+    PS_STAT_CLIPPED_STDEV   = 0x080000, ///< Clipped Standard Deviation
+    PS_STAT_USE_RANGE       = 0x100000, ///< Range
+    PS_STAT_USE_BINSIZE     = 0x200000, ///< Binsize
+    PS_STAT_SPARE2          = 0x400000, ///< Spare 2
+    PS_STAT_SPARE3          = 0x800000, ///< Spare 3
 } psStatsOptions;
 
@@ -60,4 +65,6 @@
     double sampleUQ;                   ///< upper quartile of sample
     double sampleLQ;                   ///< lower quartile of sample
+    double sampleSkewness;             ///< skewness (third moment) of sample
+    double sampleKurtosis;             ///< kurtosis (fourth moment) of sample
     double robustMedian;               ///< robust median of array
     double robustStdev;                ///< robust standard deviation of array
