Skip to content

Conversation

@pollaro
Copy link
Collaborator

@pollaro pollaro commented Dec 3, 2025

Permutation within groups has been a desired feature. This allows testing groups vs each other, or isolating groups of subjects.

PALM already does this. This is a first draft of integrating that method in. This only allows currently for two groups being permuted within each other. If we have groups A and B, all subjects in A will be permuted with other subjects in A. All subjects in B will be permuted with subjects in B.

There are other methods PALM allows that we can discuss adding in. That will take more work and probably some gui changes.

All the PALM functions are in one very large file. While this file is huge, it shouldn't need any updating or editing at the moment.
The permutation is done in a new permutation object - QuickPerm. To lessen confusion, it's implemented here by grouping subjects with positive integers.
To integrate PALM and the within group permutations two things need to be added to this. A vector of all 1's (this is to enable permuting off all values) and then a vector of integers from 1 -> number of subjects of each group. This is to allow permutation in the groups. More info can be found here

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.

3 participants