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

Class McNemarDistribution



  • public class McNemarDistribution
    extends java.lang.Object
    An implementation of the McNemar's test distribution. Uses a Singleton pattern to ensure only an instance of the class is allowed.
    • Method Detail

      • getInstance

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

        public double computeBinomialAdjustment(double S,
                                                double x)
        Compute adjustment to binomial distribution
        Parameters:
        S - test statistic
        Returns:
        p-value computed
      • computeNormalAdjustment

        public double computeNormalAdjustment(double Z)
        Compute adjustment to normal distribution
        Parameters:
        Z - test statistic
        Returns:
        p-value computed
      • computeChiAdjustment

        public double computeChiAdjustment(double T)
        Compute adjustment to chi-square distribution
        Parameters:
        T - test statistic
        Returns:
        p-value computed

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.