rasbt / mlxtend

A library of extension and helper modules for Python's data analysis and machine learning libraries.
https://rasbt.github.io/mlxtend/
Other
4.86k stars 857 forks source link

Paired Permutation Test #767

Closed fjhheras closed 3 years ago

fjhheras commented 3 years ago

Describe the workflow you want to enable

I would like to add the option to perform permutation tests when the two populations are paired.

In this case, during the test the only possible permutations leave each data point in the same place or exchange it with the corresponding point in the other population. http://axon.cs.byu.edu/Dan/478/assignments/permutation_test.php

Describe your proposed solution

See related PR #768 for a first iteration of a possible implementation.

Describe alternatives you've considered, if relevant

Additional context