Package smile.stat
Interface Hypothesis.cor
- Enclosing interface:
Hypothesis
public static interface Hypothesis.cor
Correlation test.
-
Method Summary
-
Method Details
-
test
Pearson correlation test.- Parameters:
x
- the sample values.y
- the sample values.- Returns:
- the test results.
-
test
Correlation test. Supported methods include "pearson", "kendall", and "spearman".- Parameters:
x
- the sample values.y
- the sample values.method
- supported methods include "pearson", "kendall", and "spearman".- Returns:
- the test results.
-