-
Notifications
You must be signed in to change notification settings - Fork 88
Better docstring for VarianceTests #254
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
base: master
Are you sure you want to change the base?
Better docstring for VarianceTests #254
Conversation
|
Thanks, but the meaning of the argument should be mentioned too, otherwise it's impossible to use. |
Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
Good point. I have now changed all 4 docstrings to mention μ0, in a uniform and clear manner. Satisfied with my suggestion? |
|
I would separate model assumptions, e.g. equal variance from hypotheses (eq. equal mean.) Something like:
Can we also rename |
I think that both you suggestions are great. Do you agree that On the matter of Does |
|
Yes the E[X] notation may be more appropriate.
|
Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
|
So mu0 should become Deltamu (on phone, no unicode). If you see this comment, please vote yes or no by comment and reason, so that the potential rename is a real concensus. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #254 +/- ##
==========================================
+ Coverage 92.93% 93.67% +0.74%
==========================================
Files 28 28
Lines 1641 1723 +82
==========================================
+ Hits 1525 1614 +89
+ Misses 116 109 -7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Maybe call the argument |
|
Sounds good by me. Are you okay with making the change? |
This applies to both Equal and Unequal, T and Z tests. E.g. EqualVarianceTTest.
I have added the third positional argument mu0, as well as it default value, in the docstring.
I have also added a reference to VarianceTTest, because I does not hurt, and that was what I was looking for, so it would have been very helpful to me.