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

Class KolmogorovTwoSampleDistribution



  • public class KolmogorovTwoSampleDistribution
    extends java.lang.Object
    An implementation of the Kolmogorov distribution for two samples. Uses a Singleton pattern to ensure only an instance of the class is allowed.
    • Method Detail

      • getInstance

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

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

        public static Incomplete3KeyTable getExactTable()
        Gets the table of the distribution
        Returns:
        Reference to the table
      • computeExactProbability

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

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.