Class UnconditionedExactTest.Result

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double pi
      Nuisance parameter.
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(double statistic)
      Create an instance where all tables are more extreme, i.e.
      Result​(double statistic, double pi, double p)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getNuisanceParameter()
      Gets the nuisance parameter that maximised the probability sum of the as or more extreme tables.
      double getStatistic()
      Returns the test statistic.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pi

        private final double pi
        Nuisance parameter.
    • Constructor Detail

      • Result

        Result​(double statistic)
        Create an instance where all tables are more extreme, i.e. the p-value is 1.0.
        Parameters:
        statistic - Test statistic.
      • Result

        Result​(double statistic,
               double pi,
               double p)
        Parameters:
        statistic - Test statistic.
        pi - Nuisance parameter.
        p - Result p-value.
    • Method Detail

      • getNuisanceParameter

        public double getNuisanceParameter()
        Gets the nuisance parameter that maximised the probability sum of the as or more extreme tables.
        Returns:
        the nuisance parameter.