Interface IIndependenceTest
- All Known Implementing Classes:
RunUpTest
public interface IIndependenceTest
Interface for classes implementing a test for statistical independence.
-
Method Summary
Modifier and TypeMethodDescriptionint
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 Details
-
testIndependence
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.
-