statannotations icon indicating copy to clipboard operation
statannotations copied to clipboard

Add paired t-test greater and less than comparisons

Open Magnushhoie opened this issue 1 year ago • 2 comments

Add t-test_paired-gt and t-test_paired-ls to StatTest. Currently only the two-sided alternative of paired t-test is available, while e.g. Mann-Whitney provides all three.

Follows the same naming scheme and passes automated tests and manual testing.

Magnushhoie avatar Oct 18 '22 00:10 Magnushhoie

Oh, and perhaps it's worth doing that for independent samples as well, then?

trevismd avatar Oct 19 '22 06:10 trevismd

Hi Trevis,

Sure, tried to add some basic tests for matching p-values. I am struggling to figure out how the TestStatTest tests in tests/test_annotation.py are actually run. I hope the logic will work like it does when I coded it manually.

Magnushhoie avatar Nov 12 '22 18:11 Magnushhoie