Interface GoodnessOfFitTest

  • All Known Implementing Classes:
    KolmogorovSmirnovTest, StandardizedTwoSampleAndersonDarlingTest, WelchTTest

    public interface GoodnessOfFitTest
    Interface for the statistical test used by HiCS.

    Consists of a single method that calculates the deviation between two data samples, given as arrays of double values.

    Note that different measures may have very different scale!

    Since:
    0.5.0
    Author:
    Jan Brusis, Erich Schubert
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double deviation​(double[] full, double[] conditional)
      Measure the deviation of a full sample from a conditional sample.
    • Method Detail

      • deviation

        double deviation​(double[] full,
                         double[] conditional)
        Measure the deviation of a full sample from a conditional sample.

        Sample arrays may be modified, e.g., sorted, by the test.

        Parameters:
        full - Full sample
        conditional - Conditional sample
        Returns:
        Deviation