Documentation of 'javanpst.tests.scale.klotzTest.KlotzTest' Java class
KlotzTest
javanpst.tests.scale.klotzTest

Class KlotzTest



  • public class KlotzTest
    extends StatisticalTest
    The Klotz 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). The Klotz test uses the squares of the weights of the inverse-normal scores of van der Warden Normal Scores test for location. An approximation to the Normal distribution is employed to compute asymptotic p-values.
    • Constructor Detail

      • KlotzTest

        public KlotzTest()
        Default builder
      • KlotzTest

        public KlotzTest(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.
      • getTestStatistic1

        public double getTestStatistic1()
        Get test statistic associated to the first sample
        Returns:
        normal Statistic of the first sample
      • getTestStatistic2

        public double getTestStatistic2()
        Get test statistic associated to the second sample
        Returns:
        normal Statistic of the second sample
      • getPValue1

        public double getPValue1()
        Get first sample p-value
        Returns:
        first sample p-value
      • getPValue2

        public double getPValue2()
        Get second sample p-value
        Returns:
        second sample p-value
      • printWeights

        public java.lang.String printWeights()
        Prints the array of weights
        Returns:
        string with the contents of the array
      • 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.