0todd0000 / spm1d

One-Dimensional Statistical Parametric Mapping in Python
GNU General Public License v3.0
61 stars 21 forks source link

Unbalanced number of repeats across individuals #229

Closed MinaKhajooei closed 1 year ago

MinaKhajooei commented 2 years ago

Hi,

I have a question regarding performing test for individuals with unequal number of repeats. As I understood I need to perform random effects analysis for this kind of data but the question is that does SPM support this kind of analysis?

Thanks in advance Mina

0todd0000 commented 1 year ago

Sorry for the delay!

It depends what you mean by "repeats". If you mean "repeated across multiple conditions" then this may be a repeated-measures design in which case spm1d may indeed support it. If you mean "repeated within a single condition" then it is usually sufficient to simply calculate within-condition means for each subject.