# Statistical test to compare TGMs of two groups

**URL:** <https://mne.discourse.group/t/statistical-test-to-compare-tgms-of-two-groups/2374>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [November 12, 2020, 8:25am UTC](https://mne.discourse.group/t/statistical-test-to-compare-tgms-of-two-groups/2374 "2020-11-12T08:25:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 12, 2020, 8:25am UTC](https://mne.discourse.group/t/statistical-test-to-compare-tgms-of-two-groups/2374/1 "2020-11-12T08:25:43Z")

</div>

External Email - Use Caution

Dear MNE users,

I would like to ask for your help regarding the following:

I have two groups of participants (e.g. males/females) for which I have produced separate temporal generalisation matrices classifying different stimulus properties (e.g. perception of happy vs neutral faces). I would like to use a test to find out whether there are significant differences on the TGMs of the two groups, but I wasn?t able to find an example on that. Any suggestions?

Many thanks 🙂

Ioanna Taouki

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 24, 2020, 8:31am UTC](https://mne.discourse.group/t/statistical-test-to-compare-tgms-of-two-groups/2374/2 "2020-11-24T08:31:27Z")

</div>

External Email - Use Caution

hi Ioanna,

I would use permutations testing.

if your chance level is 0.5 for all subjects (balanced classes or using ROC  
AUC) you can  
do a test rejecting H0 that is that the values have a mean of 0.5.

HTH  
Alex
