Skip to content

Get rid of one_minus_pvalues #537

@bthirion

Description

@bthirion

One_minus_pvalue is used in DL, CluDL and EnCluDL to denote strong effects with negative sign. I think that this is not rigorous.
What we are actually doing in that case is an unsigned test, that gets a p-values, which needs to be kept, and that's all.
Concretely, one need to

  • add a two_tailed_test=True keyword to make it explicit if we want only positive effects or not
  • when displaying the significance map in the two-sided test, recover the sign information (which is nothing but the size of the average coefficient at the position) for plotting differently positive and negative significant regions.
    That would be more standard hence cleaner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions