tra_analysis.CorrelationTest

CorrelationTest is a class that holds 7 submodules. The submodules are various types of tests that can be performed on samples of collected data to determine correlation between samples. Usage of each test is identical to the associated scipy source and returns a dictionary of test results.

Note: After update 3.x, the classness of this module has been removed.

  • anova_oneway f value, p value
  • pearson r value, p value
  • spearman r value, p value
  • point_biserial r value, p value
  • kendall tau, p value
  • kendall_weighted tau (weighted), p value
  • mgc (Multiscale Graph Correlation) k value, p value, addition results including:
    • 2D representation of the latent geometry of the relationship of results
    • estimated optimal scale as a (x, y) pair
    • null distribution derived from the permuted matrices