K_STest
javanpst.tests.twoSample.K_STest

Class K_STest



  • public class K_STestextends StatisticalTest
    The Kolmogorov-Smirnov test for two samples This test can be applied to test the null hypothesis of equal distributions against the one side and two-side alternatives. The exact p-value is computed is the number of values per sample is equal or less than 40. In addition, an approximation to the normal distribution is computed.
    • Constructor Detail

      • K_STest

        public K_STest()
        Default builder
      • K_STest

        public K_STest(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.
      • getDn

        public double getDn()
        Get Kolmogorov double tailed statistic
        Returns:
        Kolmogorov statistic
      • getDnNeg

        public double getDnNeg()
        Get Kolmogorov left tail (Y > X) statistic
        Returns:
        Kolmogorov statistic
      • getDnPos

        public double getDnPos()
        Get Kolmogorov righ tail statistic
        Returns:
        Kolmogorov statistic
      • getExactLeftPValue

        public double getExactLeftPValue()
        Get left tail exact p-value
        Returns:
        left tail p-value computed
      • getExactRightPValue

        public double getExactRightPValue()
        Get right tail exact p-value
        Returns:
        right tail p-value computed
      • getExactDoublePValue

        public double getExactDoublePValue()
        Get double tail exact p-value
        Returns:
        double tail p-value computed
      • 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

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.