Documentation of 'javanpst.tests.randomness.runsUpDownMedianTest.RunsUpDownMedianTest' Java class
RunsUpDownMedianTest
javanpst.tests.randomness.runsUpDownMedianTest

Class RunsUpDownMedianTest



  • public class RunsUpDownMedianTest
    extends StatisticalTest
    A test based on runs up and down This tests check randomness of a numeric sequence by analyzing the changes in direction of its runs (below or under the median). A normal approximation is also provided.
    • Constructor Detail

      • RunsUpDownMedianTest

        public RunsUpDownMedianTest()
        Default builder
      • RunsUpDownMedianTest

        public RunsUpDownMedianTest(NumericSequence newSequence)
        Builder. Load data to test.
        Parameters:
        newSequence - 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)
        Builder. Load data to test.
        Parameters:
        newSequence - data to test.
      • getMedian

        public double getMedian()
        Get the median of the sequence
        Returns:
        number of runs
      • getRuns

        public double getRuns()
        Get the number of runs
        Returns:
        number of runs
      • 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.