CDTest
javanpst.tests.equality.CDTest

Class CDTest



  • public class CDTestextends StatisticalTest
    The Charkraborti and Desu test (CD test) This test can be applied to test whether the median of several populations are equal or greater than the median of a control. The null hypotheses states equal medians, whereas alternative means that at least one median is greater than the control one. P-values are computed through the exact distribution of the test. A normal distribution approximation, with continuity correction, is also provided. All samples must have the same number of elements.
    • Constructor Detail

      • CDTest

        public CDTest()
        Default builder
      • CDTest

        public CDTest(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.
      • getW

        public double getW()
        Get W statistic
        Returns:
        W statistic
      • getZ

        public double getZ()
        Get control median value
        Returns:
        median value
      • getExactPValue

        public double getExactPValue()
        Get exact p-value
        Returns:
        exact p-value
      • getAsymptoticPValue

        public double getAsymptoticPValue()
        Get asymptotic p-value
        Returns:
        asymptotic p-value

SCaVis 2.2 © jWork.ORG

Warning: The reason why you see this message is because an access to the API documentation of third-party Java classes is denied for non-members. Guests can only view jhplot API. To enable links to the description of all Java classes, please request the full SCaVis membership.