Documentation of 'javanpst.tests.scale.sukhatmeTest.SukhatmeTest' Java class
SukhatmeTest
javanpst.tests.scale.sukhatmeTest

Class SukhatmeTest



  • public class SukhatmeTest
    extends StatisticalTest
    The Sukhatme test. Assuming the scale model (equal medians), this test can be employed to test whether the two distributions selected have equal scale parameter (with the null hypothesis of equality). This test assumes that the median of both populations is 0. Hence, samples' values can be arranged into negative and positive ones, to obtain a Mann-Whitney based statistic to test hypothesis of equal scale. An approximation to the Normal distribution is employed to compute asymptotic p-values.
    • Constructor Detail

      • SukhatmeTest

        public SukhatmeTest()
        Default builder
      • SukhatmeTest

        public SukhatmeTest(DataTable newData)
        Builder. Load data to test.
        Parameters:
        newData - data to test.
    • Method Detail

      • clearData

        public void clearData()
        Clears the data stored in the test
        Specified by:
        clearData in class StatisticalTest
      • setData

        public void setData(DataTable newData)
        Sets data to test
        Parameters:
        newData - data to test.
      • getTestStatistic

        public double getTestStatistic()
        Get the test statistic
        Returns:
        Sukhatme statistic
      • getLeftPValue

        public double getLeftPValue()
        Get left tail p-value
        Returns:
        left tail p-value computed
      • getRightPValue

        public double getRightPValue()
        Get right tail p-value
        Returns:
        right tail p-value computed
      • getDoublePValue

        public double getDoublePValue()
        Get double tail p-value
        Returns:
        double tail p-value computed
      • printData

        public java.lang.String printData()
        Prints the data stored in the test
        Specified by:
        printData in class StatisticalTest
        Returns:
        Data stored
      • printReport

        public java.lang.String printReport()
        Prints a report with the results of the test
        Specified by:
        printReport in class StatisticalTest
        Returns:
        Output report

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.