Skip to content
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

Change of API of UnequalVarianceTTest #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pevnak
Copy link

@pevnak pevnak commented Oct 1, 2018

Hi,

I have extended API of UnequalVarianceTTest, such that user can either use the old one providing lists of values of individual measurements or their mean and variance. I needed this extension, because I am calculating statistics online. This extension simplifies my code and make it more readable.
Thanks for considering this.

…mean and variance. It simplifies the use with statistics calculated from mean and standard deviation
@wildart
Copy link
Contributor

wildart commented Mar 18, 2020

LGTM

@nalimilan
Copy link
Member

Why not, but the docstring should give the meaning of the arguments in the second signature, and we should apply this to EqualVarianceTTest too. Also there's no need to force mean and var to be of the same type. Finally, adding a test would be good to ensure we don't treat this as a purely internal function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants