Skip to content
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

Raise warning if coordinates dataset contains both positive and negative z_stats #465

Closed
jdkent opened this issue Mar 15, 2021 · 5 comments · Fixed by #699
Closed

Raise warning if coordinates dataset contains both positive and negative z_stats #465

jdkent opened this issue Mar 15, 2021 · 5 comments · Fixed by #699
Assignees
Labels
bug Issues noting problems and PRs fixing those problems. effort: low Estimated low effort task impact: low Estimated low impact task priority: low Not urgent

Comments

@jdkent
Copy link
Member

jdkent commented Mar 15, 2021

Summary

Seems weird to perform a meta-analysis with peaks being reported at both the positive and negative thresholds

Additional details

  • NiMARE version: 0.0.7 dev

What were you trying to do?

Thinking about how users may use the output of #446

What did you expect to happen?

Raise warning/error when both positive/negative values are detected in z_stat column?

What actually happened?

The dataset will run on any estimator

Reproducing the bug

@jdkent jdkent added the bug Issues noting problems and PRs fixing those problems. label Mar 15, 2021
@tyarkoni
Copy link
Contributor

It's definitely less common than using unidirectional coordinations, but there is a use case for it—e.g., if you have a bunch of contrasts where there's no clear directional hypothesis, but you think a consistent set of regions should be implicated in some way. Since density-based analyses don't care about sign, you will still get sane results, provided you adjust your interpretation appropriately. Neurosynth, for instance, works exclusively like this (though that's more by necessity than design).

So, with that in mind, I don't think we want to raise an error. But a warning does seem appropriate.

@jdkent
Copy link
Member Author

jdkent commented Mar 15, 2021

Thanks, great point, the interpretation is the crucial step here, not the analysis itself.

@tsalo
Copy link
Member

tsalo commented Mar 15, 2021

I would default to splitting the contrasts within the Dataset during the img-to-coordinate conversion, with a warning. If you wanted to be really fancy, you could also invert the images and save them out as well. So study X's contrast of "A>B" would have positive z-statistic coordinates, and then the conversion would create a new contrast, "B>A" with negative z-statistic coordinates and possibly the inverted images.

EDIT: Of course, things might change if we ever get an algorithm that works with effect sizes and bidirectional hypotheses, like SDM, working!

Ultimately, though, it seems like a NIMADS/Dataset-searching problem to me. We don't really take into account sign/contrast definition, even with images, in our current approach...

@tsalo tsalo added effort: low Estimated low effort task impact: low Estimated low impact task priority: low Not urgent labels Oct 5, 2021
@tsalo
Copy link
Member

tsalo commented Oct 20, 2021

Just to make sure I understand the current state of this- we do want to raise a warning, right?

@jdkent
Copy link
Member Author

jdkent commented Oct 20, 2021

I think a warning is appropriate.

@tsalo tsalo changed the title Raise warning if coordinates dataset contains both positive and negative z_stats? Raise warning if coordinates dataset contains both positive and negative z_stats Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues noting problems and PRs fixing those problems. effort: low Estimated low effort task impact: low Estimated low impact task priority: low Not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants