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

Class PageDistribution



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

      • getInstance

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

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

        public double computeExactProbability(int n,
                                              int k,
                                              double L)
        Computes Exact p-value of the Page distribution.
        Parameters:
        n - number of columns
        k - number of rows
        L - Page statistic
        Returns:
        p-value computed
      • computeAsymptoticProbability

        public double computeAsymptoticProbability(int n,
                                                   int k,
                                                   double L)
        Computes asymptotic p-value of the Page distribution.
        Parameters:
        n - number of columns
        k - number of rows
        L - Page statistic
        Returns:
        p-value computed

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.