Interface StatisticalTest<I,​P extends StatisticalTestParameters>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean rejectHypothesisForSingleTest​(P parameters, double p)
      No side effects allowed.
      double test​(I input, P parameters, org.processmining.framework.plugin.ProMCanceller canceller, org.processmining.framework.plugin.Progress progress)
      Perform the test.
    • Method Detail

      • rejectHypothesisForSingleTest

        boolean rejectHypothesisForSingleTest​(P parameters,
                                              double p)
        No side effects allowed.
        Parameters:
        parameters -
        p -
        Returns:
        true: reject null-hypothesis; false: do not reject null-hypothesis
      • test

        double test​(I input,
                    P parameters,
                    org.processmining.framework.plugin.ProMCanceller canceller,
                    org.processmining.framework.plugin.Progress progress)
             throws java.lang.InterruptedException
        Perform the test. No side effects allowed.
        Parameters:
        input -
        parameters -
        canceller - may not be null
        progress - may be null
        Returns:
        the p-value of the test (confirm with rejectHypothesisForSingleTest whether hypothesis is rejected), Double.NaN if the test failed.
        Throws:
        java.lang.InterruptedException