You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The methods are unfinished and it might be nice to have some formulas to look at. I don't know that we need to talk about the test coverage in the notes section either.
formulas are only simple for bonferroni and sidak, all the others are step-up or step-down algorithm without nice formulas.
I started to add comments about comparison to other packages in many of the statistical tests, as a reminder to what's tested and sometimes to note which function in another package it corresponds to (or why it differs or that there is no corresponding function)
It would still be nice to have these simple formulas for the Bonferonni approximation and for Sidak. The others could use at least a sentence or two of description.
Ok. I'm showing it some in the tutorial, so I was hoping to be able to show some docs. I'll just show Bonferonni or Sidak and put the formulas in the notebooks.
I was planning to submit a new issue, but it looks like it would overlap with this one. I would be happy to help expand the documentation for stats.multitest.multipletests. I have a PhD in Statistics where I was a TA for an upper division class which covered multiple-comparison methods in depth, and I have research experience working with high dimensional Genomics and Proteomics data where FDR control is essential.
I've assembled a list of things to address
Parameter alpha is incorrectly documented. This should say something like
"Control FWER (or FDR) at level alpha, e.g. 0.1."
All procedures that are included, control FWER or FDR in the independent
case, and most are robust in the positively correlated case.
is misleading. Bonferonni controls the FWER and Benjamini-Yekutieli controls the FDR under arbitrary dependence assumptions, but this is not clearly stated anywhere in the Docstring.
Motivate why one would seek to control FDR instead of FWER.
Clearly state the benefits of two-stage FDR correction methods.
I likely have enough free time to complete this within a month or so. I would also be happy to help review a PR if someone else wants to take this on.
Activity
josef-pkt commentedon Jul 3, 2012
formulas are only simple for bonferroni and sidak, all the others are step-up or step-down algorithm without nice formulas.
I started to add comments about comparison to other packages in many of the statistical tests, as a reminder to what's tested and sometimes to note which function in another package it corresponds to (or why it differs or that there is no corresponding function)
jseabold commentedon Jul 13, 2012
It looks like most / a lot of the comments about testing are out of date as well?
jseabold commentedon Jul 13, 2012
It would still be nice to have these simple formulas for the Bonferonni approximation and for Sidak. The others could use at least a sentence or two of description.
josef-pkt commentedon Jul 13, 2012
I put it on my todo list, but I don't know yet if I have the relevant papers with me on vacation.
jseabold commentedon Jul 13, 2012
Ok. I'm showing it some in the tutorial, so I was hoping to be able to show some docs. I'll just show Bonferonni or Sidak and put the formulas in the notebooks.
josef-pkt commentedon Jul 13, 2012
some google search results (until I find what I used)
http://stats.stackexchange.com/questions/20825/sidak-or-bonferroni
http://www.uky.edu/ComputingCenter/SSTARS/www/documentation/MultipleComparisons_3.htm
http://www.technion.ac.il/docs/sas/stat/chap43/sect14.htm
josef-pkt commentedon Aug 15, 2013
see http://jpktd.blogspot.ca/2013/04/multiple-testing-p-value-corrections-in.html
move to 0.6 docs still need review and consistency checks in where it's used
jseabold commentedon Sep 21, 2014
Not a blocker but would still be nice to get this cleaned up.
steppi commentedon Jan 30, 2023
Hi,
I was planning to submit a new issue, but it looks like it would overlap with this one. I would be happy to help expand the documentation for
stats.multitest.multipletests. I have a PhD in Statistics where I was a TA for an upper division class which covered multiple-comparison methods in depth, and I have research experience working with high dimensional Genomics and Proteomics data where FDR control is essential.I've assembled a list of things to address
alphais incorrectly documented. This should say something like"Control FWER (or FDR) at level alpha, e.g. 0.1."
statsmodels/statsmodels/stats/multitest.py
Lines 74 to 75 in bc32b6f
statsmodels/statsmodels/stats/multitest.py
Lines 131 to 132 in bc32b6f
I likely have enough free time to complete this within a month or so. I would also be happy to help review a PR if someone else wants to take this on.