-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added kwarg passing to pairwise_tests #352
base: main
Are you sure you want to change the base?
added kwarg passing to pairwise_tests #352
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #352 +/- ##
=======================================
Coverage 98.55% 98.55%
=======================================
Files 19 19
Lines 3390 3390
Branches 559 559
=======================================
Hits 3341 3341
Misses 26 26
Partials 23 23
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Thanks @DavidALloyd, great suggestion. I apologize about the delayed response. Two things:
Line 481 in 5c5f61a
and when calculating the interaction: Line 540 in 5c5f61a
|
No worries @raphaelvallat, thanks for getting back! I can definitely add
and there's a test for 'ttest' in
Was there something specific you wanted me to implement in the testing of |
Hi @DavidALloyd! My message was confusing, sorry about that. We want to add unit tests to test_pairwise_tests to ensure that the Does that make more sense? Thanks! |
Added ability to pass kwargs to downstream scipy functions using pairwise_tests. Previously did not have that ability, so changing things like the zero method or confidence weren't possible through pairwise_tests. pg.wilcoxon and pg.mwu already pass **kwargs downstream, so I simply modified pairwise_tests to accept **kwargs as a parameter and pass it as an argument when Wilcoxon, MWU, or ttest are called. Tested on example data and works without issue.