# [FieldTrip] 3 General Questions on Design Matrices

Mark Haney mhaney377 at gmail.com
Mon Jun 1 05:37:02 CEST 2020

```Greetings Fieldtrip members and the Worldwide EEG Community!

*Background:* 4 subjects, 30 conditions, 10 trials per condition. A 31st
condition with 7 trials is included.

*Questions: *

1. *Could one compare all 30 conditions compared to the 31st and rank each
condition's p-value for later analysis within a single subject? *

cfg.design = [ones(1,10)      ...     30*ones(1,10)    31*ones(1,7)]

2. *If I wanted to take things even further, could I compare the 30
conditions across all subjects compared to all of the subjects' 31st
condition:*

*First Row: *[ 1 2 3 4          1 2 3 4           1 2 3 4            ...
1 2 3 4]
*Second Row: *[ ones(1,4)    2*ones(1,4)  ... 31*ones(1,4) ]

3. *Would it make more sense to compare one of the 30 conditions at a time
to the 31st condition using a for-loop in options 1 and 2?*

Regards,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200531/9b149534/attachment.htm>
```