FisherTest
javanpst.tests.countData.fisherTest

Class FisherTest



  • public class FisherTestextends StatisticalTest
    The Fisher test. Fisher's exact test can be used to test the significance of the association (contingency) between two kinds of classifications (in 2 x 2 contingency matrixes). A chi-square based approximation is also provided.
    • Constructor Detail

      • FisherTest

        public FisherTest()
        Default builder
      • FisherTest

        public FisherTest(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
      • getExactLeftPValue

        public double getExactLeftPValue()
        Get exact left tail p-value
        Returns:
        exact p-value
      • getExactRightPValue

        public double getExactRightPValue()
        Get exact right tail p-value
        Returns:
        exact p-value
      • getAsymptoticPValue

        public double getAsymptoticPValue()
        Get asymptotic p-value
        Returns:
        asymptotic p-value

SCaVis 1.7 © jWork.org