Documentation of 'javanpst.tests.equality.extendedMedianTest.ExtendedMedianTest' Java class
ExtendedMedianTest
javanpst.tests.equality.extendedMedianTest

Class ExtendedMedianTest



  • public class ExtendedMedianTest
    extends StatisticalTest
    A extension of the median test for k independent samples This test can be applied to test the null hypotheses of equal medians between populations. P-values are computed through a chi-square distribution approximation. All samples must have the same number of elements.
    • Constructor Detail

      • ExtendedMedianTest

        public ExtendedMedianTest()
        Default builder
      • ExtendedMedianTest

        public ExtendedMedianTest(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.
      • getQ

        public double getQ()
        Get Q statistic
        Returns:
        Q statistic
      • getImprovedQ

        public double getImprovedQ()
        Get improved Q statistic
        Returns:
        improved Q statistic
      • getMedian

        public double getMedian()
        Get median value
        Returns:
        median value
      • getPValue

        public double getPValue()
        Get p-value
        Returns:
        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.