VonNeumannTest
javanpst.tests.randomness.vonNeumannTest

Class VonNeumannTest



  • public class VonNeumannTestextends StatisticalTest
    The Von Neumann test This tests check randomness of a numeric sequence by assigning ranks to each value. A normal approximation is also provided.
    • Constructor Detail

      • VonNeumannTest

        public VonNeumannTest()
        Default builder
      • VonNeumannTest

        public VonNeumannTest(NumericSequence newSequence)
        Builder. Load data to test.
        Parameters:
        newSequence - data to test.
    • Method Detail

      • setData

        public void setData(NumericSequence newSequence)
        Load data to test.
        Parameters:
        newSequence - data to test.
      • getNM

        public double getNM()
        Get the NM statistic
        Returns:
        NM statistic
      • getRVN

        public double getRVN()
        Get the RVN statistic
        Returns:
        RVN 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 1.7 © jWork.org