com.spss.psapi.content

Interface PairwiseStatsContentModel

  • All Superinterfaces:
    ContentModel


    public interface PairwiseStatsContentModel
    extends ContentModel
    An interface that provides a mechanism for accessing correlations between columns.
    Since:
    PSAPI 17.0
    See Also:
    ContentContainer
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.String> getAvailablePrimaryColumns()
      Returns the names of the primary columns that can be queried.
      java.util.List<java.lang.Object> getAvailablePrimaryValues()
      Returns the values of the primary column that can be queried.
      java.util.List<java.lang.String> getAvailableSecondaryColumns()
      Returns the names of the secondary columns that can be queried.
      java.util.List<StatisticType> getAvailableStatistics()
      Returns the statistics which have been computed.
      java.lang.Number getStatistic(java.lang.String primaryColumn, java.lang.Object primaryValue, java.lang.String secondaryColumn, StatisticType statistic)
      Returns the value of the statistic for the specified value in the primary column associated with the secondary column.
      java.lang.Number getStatistic(java.lang.String primaryColumn, java.lang.String secondaryColumn, StatisticType statistic)
      Returns the value of the statistic for the specified pair of columns.
    • Method Detail

      • getStatistic

        java.lang.Number getStatistic(java.lang.String primaryColumn,
                                    java.lang.String secondaryColumn,
                                    StatisticType statistic)
        Returns the value of the statistic for the specified pair of columns. Note that the method always returns null if the primary and secondary columns are the same.
        Parameters:
        primaryColumn - the primary column
        secondaryColumn - the secondary column
        statistic - the statistic
        Returns:
        the statistic value for that column pair or null if the statistic for the field was not computed.
        See Also:
        getStatistic(String, Object, String, StatisticType)
      • getStatistic

        java.lang.Number getStatistic(java.lang.String primaryColumn,
                                    java.lang.Object primaryValue,
                                    java.lang.String secondaryColumn,
                                    StatisticType statistic)
        Returns the value of the statistic for the specified value in the primary column associated with the secondary column. Note that the method always returns null if the primary and secondary columns are the same.
        Parameters:
        primaryColumn - the primary column
        primaryValue - the primary column value
        secondaryColumn - the secondary column
        statistic - the statistic
        Returns:
        the statistic value for that column pair or null if the statistic for the field was not computed.
        See Also:
        getStatistic(String, String, StatisticType)

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.