Documentation of 'javanpst.distributions.tests.RVNDistribution' Java class
RVNDistribution
javanpst.distributions.tests

Class RVNDistribution



  • public class RVNDistribution
    extends java.lang.Object
    An implementation of the Ranks Von Newmann distribution. Uses a Singleton pattern to ensure only an instance of the class is allowed.
    • Method Detail

      • getInstance

        public static RVNDistribution getInstance()
        Singleton pattern access to the distribution
        Returns:
        the instance of the distribution
      • getTable

        public static Critical1KeyTable getTable()
        Gets the table of critical values of the distribution
        Returns:
        Reference to the table
      • computeLeftProbability

        public double computeLeftProbability(int n,
                                             double RVN)
        Computes left tail p-value of the Ranks Von Newmann distribution.
        Parameters:
        n - size of the sequence
        RVN - Ranks Von Newmann statistic
        Returns:
        p-value computed
      • computeRightProbability

        public double computeRightProbability(int n,
                                              double RVN)
        Computes right tail p-value of the Ranks Von Newmann distribution.
        Parameters:
        n - size of the sequence
        RVN - Ranks Von Newmann statistic
        Returns:
        p-value computed

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.