Skip to content

stats.multitest.multipletests needs expanded docs #357

Open

Description

@jseabold

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.

Activity

  1. josef-pkt commented on Jul 3, 2012

    @josef-pkt
    Member

    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)

  2. jseabold commented on Jul 13, 2012

    @jseabold
    MemberAuthor

    It looks like most / a lot of the comments about testing are out of date as well?

  3. jseabold commented on Jul 13, 2012

    @jseabold
    MemberAuthor

    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.

  4. josef-pkt commented on Jul 13, 2012

    @josef-pkt
    Member

    I put it on my todo list, but I don't know yet if I have the relevant papers with me on vacation.

  5. jseabold commented on Jul 13, 2012

    @jseabold
    MemberAuthor

    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.

  6. jseabold commented on Sep 21, 2014

    @jseabold
    MemberAuthor

    Not a blocker but would still be nice to get this cleaned up.

  7. modified the milestones: 0.7, 0.6 on Sep 21, 2014
  8. modified the milestones: 0.7, Someday on Mar 14, 2021
  9. steppi commented on Jan 30, 2023

    @steppi

    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

    1. Parameter alpha is incorrectly documented. This should say something like
      "Control FWER (or FDR) at level alpha, e.g. 0.1."
      alpha : float
      FWER, family-wise error rate, e.g. 0.1
    2. Introduce and define FWER and FDR in the preamble.
    3. Give a brief description and add a citation for each method. Clearly state the assumptions for each method.
    4. 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.
    5. Motivate why one would seek to control FDR instead of FWER.
    6. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions