Skip to content

allow hat correction for f-tests #11385

Closed

Description

@drammock

Describe the new feature or enhancement

It would be nice to allow low-variance correction for F-tests (not just t-tests) in our cluster permutation code.

Describe your proposed implementation

add a sigma (and method='relative'|'absolute') to mne.stats.f_oneway. May require changing how we compute F, as it wasn't obvious to me on a quick glance where I would insert sigma into the current implementation.

Describe possible alternatives

currently, users must write their own stat_func to do this. I guess that's an option to leave it that way.

Additional context

See equation 8 of the "hat" paper, in the section "implications for F-contrasts" https://doi.org/10.1016/j.neuroimage.2011.10.027

Activity

  1. larsoner commented on Dec 22, 2022

    @larsoner
    Member

    Seems straightforward in principle, it should be a regularization term for whatever is in the denominator of the F stat, but we should check the math to be sure. Agreed this would be useful

  2. added
    sprint-2023
    on Jul 25, 2023
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

    ENHsprint-2023

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions