MultinomialEqualityTest
javanpst.tests.countData.multinomialEqualityTest

Class MultinomialEqualityTest



  • public class MultinomialEqualityTestextends StatisticalTest
    A mutinomial equality test This test can be applied in 2 x K tables with the aim of testing if column probabilities are the same, that is, if p11=p12, p21 = p22, .. , p1k = p2k. Alternative is that probabilities are not the same (non-directional). A chi-square approximation of the Q statistic is provided
    • Constructor Detail

      • MultinomialEqualityTest

        public MultinomialEqualityTest()
        Default builder
      • MultinomialEqualityTest

        public MultinomialEqualityTest(DataTable newData)
        Builder. Load data to test.
        Parameters:
        newData - data to test.
    • Method Detail

      • setData

        public void setData(DataTable newData)
        Sets data to test
        Parameters:
        newData - data to test.
      • getQ

        public double getQ()
        Get Q statistic
        Returns:
        Q statistic
      • getPValue

        public double getPValue()
        Get p-value
        Returns:
        p-value computed

SCaVis 1.7 © jWork.org