-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
ENH: stats: rewrite ttest_rel
in terms of ttest_1samp
#20883
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
Conversation
Co-authored-by: Matt Haberland <mhaberla@calpoly.edu>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go for it 👍
(Seems like we could deprecate it too no? But a follow up if we do I guess.)
ttest_rel
in terms of ttest_ind
Haha yeah but I'll let you handle that one : ) (I assume that all the t-test functions are heavily used.) |
[skip ci] Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
sanity check - why is this |
Just a typo. Original comment (#20762 (comment)) was to implement |
ttest_rel
in terms of ttest_ind
ttest_rel
in terms of ttest_1samp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks all!
This seems to cause failures when
Could you perhaps address that in a follow-up PR @j-bowhay? |
should we just test |
That seems reasonable to me. |
towards #20544
ttest_rel
can be rewritten by callingttest_1samp
. In doing so we get array API support for free.