ExtendedMedianTest
javanpst.tests.equality.extendedMedianTest

Class ExtendedMedianTest



  • public class ExtendedMedianTestextends 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

      • 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

SCaVis 1.7 © jWork.org