KolmogorovDistribution
javanpst.distributions.tests

Class KolmogorovDistribution



  • public class KolmogorovDistributionextends Object
    An implementation of the Kolmogorov distribution. Uses a Singleton pattern to ensure only an instance of the class is allowed.
    • Method Detail

      • getInstance

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

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

        public double computeProbability(int n,                        double Dn)
        Computes p-value of the Kolmogorov distribution.
        Parameters:
        n - size of the population
        Dn - Kolmogorov statistic
        Returns:
        p-value computed

SCaVis 2.0 © jWork.ORG