Class LogCategoricalTest
- java.lang.Object
-
- org.processmining.statisticaltests.logcategoricaltest.LogCategoricalTest
-
- All Implemented Interfaces:
StatisticalTest<org.deckfour.xes.model.XLog,LogCategoricalTestParameters>
public class LogCategoricalTest extends java.lang.Object implements StatisticalTest<org.deckfour.xes.model.XLog,LogCategoricalTestParameters>
-
-
Constructor Summary
Constructors Constructor Description LogCategoricalTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrejectHypothesisForSingleTest(LogCategoricalTestParameters parameters, double p)No side effects allowed.doubletest(org.deckfour.xes.model.XLog log, LogCategoricalTestParameters parameters, org.processmining.framework.plugin.ProMCanceller canceller, org.processmining.framework.plugin.Progress progress)Perform the test.
-
-
-
Method Detail
-
rejectHypothesisForSingleTest
public boolean rejectHypothesisForSingleTest(LogCategoricalTestParameters parameters, double p)
Description copied from interface:StatisticalTestNo side effects allowed.- Specified by:
rejectHypothesisForSingleTestin interfaceStatisticalTest<org.deckfour.xes.model.XLog,LogCategoricalTestParameters>- Parameters:
p-alpha-- Returns:
- true: reject null-hypothesis that at least one categorical value associates with a different process
-
test
public double test(org.deckfour.xes.model.XLog log, LogCategoricalTestParameters parameters, org.processmining.framework.plugin.ProMCanceller canceller, org.processmining.framework.plugin.Progress progress) throws java.lang.InterruptedExceptionDescription copied from interface:StatisticalTestPerform the test. No side effects allowed.- Specified by:
testin interfaceStatisticalTest<org.deckfour.xes.model.XLog,LogCategoricalTestParameters>canceller- may not be nullprogress- 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
-
-