com.spss.psapi.content

Enum StatisticType

  • java.lang.Object
    • java.lang.Enum<StatisticType>
      • com.spss.psapi.content.StatisticType
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StatisticType>


    public enum StatisticType
    extends java.lang.Enum<StatisticType>
    Defines the statistics that can be computed either for a single column or for combinations of columns/column values.
    Since:
    PSAPI 17.0
    See Also:
    ContentModel, ColumnStatsContentModel
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      Count
      Represents the number of non-null values.
      Covriance
      Represents the covariance between 2 columns.
      FTest
      Represents the F-test.
      Kurtosis
      Represents the kurtosis.
      KurtosisStandardError
      Represents the standard error of the kurtosis.
      Max
      Represents the maximum value.
      Mean
      Represents the mean value.
      MeanStandardError
      Represents the standard error of the mean value.
      Median
      Represents the median (middle) value.
      Min
      Represents the minimum value.
      Mode
      Represents the modal (most common) value.
      Pearson
      Represents the Pearson correlation between 2 columns.
      Range
      Represents the range value.
      Skewness
      Represents the skewness.
      SkewnessStandardError
      Represents the standard error of the skewness.
      StandardDeviation
      Represents the standard deviation.
      StandardErrorOfMean
      Represents the standard error of the mean.
      Sum
      Represents the sum of values.
      TTest
      Represents the t-test.
      UniqueCount
      Represents the number of distinct values.
      ValidCount
      Represents the number of valid values.
      Variance
      Represents the variance.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean isPairwise()
      Returns whether the statistic is only appropriate when comparing more than one value.
      static StatisticType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static StatisticType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Count

        public static final StatisticType Count
        Represents the number of non-null values.
      • UniqueCount

        public static final StatisticType UniqueCount
        Represents the number of distinct values.
      • ValidCount

        public static final StatisticType ValidCount
        Represents the number of valid values.
      • Mean

        public static final StatisticType Mean
        Represents the mean value.
      • MeanStandardError

        public static final StatisticType MeanStandardError
        Represents the standard error of the mean value.
      • Sum

        public static final StatisticType Sum
        Represents the sum of values.
      • Min

        public static final StatisticType Min
        Represents the minimum value.
      • Max

        public static final StatisticType Max
        Represents the maximum value.
      • Range

        public static final StatisticType Range
        Represents the range value.
      • Variance

        public static final StatisticType Variance
        Represents the variance.
      • StandardDeviation

        public static final StatisticType StandardDeviation
        Represents the standard deviation.
      • StandardErrorOfMean

        public static final StatisticType StandardErrorOfMean
        Represents the standard error of the mean.
      • Skewness

        public static final StatisticType Skewness
        Represents the skewness.
      • SkewnessStandardError

        public static final StatisticType SkewnessStandardError
        Represents the standard error of the skewness.
      • Kurtosis

        public static final StatisticType Kurtosis
        Represents the kurtosis.
      • KurtosisStandardError

        public static final StatisticType KurtosisStandardError
        Represents the standard error of the kurtosis.
      • Median

        public static final StatisticType Median
        Represents the median (middle) value.
      • Mode

        public static final StatisticType Mode
        Represents the modal (most common) value.
      • Pearson

        public static final StatisticType Pearson
        Represents the Pearson correlation between 2 columns.
      • Covriance

        public static final StatisticType Covriance
        Represents the covariance between 2 columns.
      • TTest

        public static final StatisticType TTest
        Represents the t-test.
      • FTest

        public static final StatisticType FTest
        Represents the F-test.
    • Method Detail

      • values

        public static StatisticType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StatisticType c : StatisticType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StatisticType valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isPairwise

        public boolean isPairwise()
        Returns whether the statistic is only appropriate when comparing more than one value.
        Returns:
        true if the statistic is only appropriate across multiple columns or values

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.