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

[FEAT] Adds hierarch.stats.hierarchical_randomization, a generator that yields resampled datasets #164

Merged
merged 4 commits into from
Aug 23, 2023

Conversation

rishi-kulkarni
Copy link
Owner

Closes #127

…pecific statistical tests).

Fixes #127

Rather than returning indexes, we have to return resampled datasets as the relationship between the treatment column and the value is broken by a permutation.
@rishi-kulkarni rishi-kulkarni merged commit 53daede into main Aug 23, 2023
1 check passed
@JohannesWiesner
Copy link

Just a quick question here: This would also work if don't have treatment groups in the first place? In this case treatment_col is just set to 1 for the whole dataset? The Human Connectome Project for example does not have a control and treatment group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to only receive resampling indices (make hierarch agnostic to specific statistical tests).
2 participants