Discriminability Testing

If you have repeated measures from the same subject, and want to see if these are different than those from other subjects. Let's look at the mathematical formulations:

With Dx as the sample discriminability of x, one sample test performs the following test:

H0:Dx=D0HA:Dx>D0

where D0 is the discriminability that would be observed by random chance.

This can also be formulated as a two-sample test. Let ˆDx denote the sample discriminability of one approach, and ˆDy denote the sample discriminability of another approach. Then,

H0:Dx=DyHA:Dx>Dy

Alternative tests can be done for Dx<Dy and DxDy.

Like all the other tests within hyppo, each method has a statistic and test method. The test method is the one that returns the test statistic and p-values, among other outputs, and is the one that is used most often in the examples, tutorials, etc. The p-value returned is calculated using a permutation test.

Discrimnability one-sample and Discrimnability two-sample are time series tests of independence. More details can be found in hyppo.discrim.DiscrimOneSample and hyppo.discrim.DiscrimTwoSample.

Each class has a is_dist parameter that indicates whether or not inputs are distance matrices. These distances must be Euclidean distance. Also, remove_isolates indicates whether or not to remove measurements with a single instance. Otherwise, these tests runs like any other test.

Total running time of the script: ( 0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery