Interface IIndependenceTest
-
- All Known Implementing Classes:
RunUpTest
public interface IIndependenceTest
Interface for classes implementing a test for statistical independence.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLowerSampleLimit()
Returns the minimal number of samples necessary for a proper test result.boolean
testIndependence(Collection<Double> samples)
Tests, whether the sequence of samples appears to be independent.
-
-
-
Method Detail
-
testIndependence
boolean testIndependence(Collection<Double> samples)
Tests, whether the sequence of samples appears to be independent.- Parameters:
samples
- the sequence of samples.- Returns:
- true, if the samples appears to be independent; false else.
-
getLowerSampleLimit
int getLowerSampleLimit()
Returns the minimal number of samples necessary for a proper test result. Avoid testing sequences smaller than the lower limit.- Returns:
- the minimal number of samples necessary for a proper test result.
-
-