Reply To: Syntax

#530
fabian
Keymaster

A simple solution is to read in (readMEA) two versions of your raw data:
One with ROI X (in Subj 1 and 2) and one with ROI Y (in Subj 1 and 2). Then you append the two datasets and assign them to two different groups.

From then on, you can run the analysis in the same “large” MEA-List.

For the bootstrap-data, I suggest to base the shuffled data on only one set of data (e.g. ROI X, or the combination of X and Y). Otherwise, you could end up with permutations of one subject’s ROI X with the same subject’s ROI Y. (This would most probably lead to a peak at lag-zero).

Best, Fabian