Documentation of 'javanpst.tests.oneSample.signTest.SignTest' Java class
SignTest
javanpst.tests.oneSample.signTest

Class SignTest



  • public class SignTest
    extends StatisticalTest
    The sign test This is a special case of the Population Quantile test where the quantile is 0.5 (the median) and the hypothesis value is 0. If a sequence is tested, the null hypothesis will be median=0 If a two-column table is analyzed, then the population of differences will be tested, thus testing which population is greater
    • Constructor Detail

      • SignTest

        public SignTest()
        Default builder
      • SignTest

        public SignTest(NumericSequence newSequence)
        Builder. Load data to test.
        Parameters:
        newSequence - data to test.
      • SignTest

        public SignTest(DataTable newData)
        Builder. Load data from two populations 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(NumericSequence newSequence)
        Sets data to test
        Parameters:
        newSequence - data to test.
      • setData

        public void setData(DataTable newData)
        Sets data from two populations to test
        Parameters:
        newData - data to test.
      • getK

        public double getK()
        Get K statistic of the first sample
        Returns:
        K statistic
      • getK2

        public double getK2()
        Get K statistic of the second sample
        Returns:
        K 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
      • 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.