Second level ANOVA within subject design

Hi all,

I have a very basic question. I have a within-subject experiment with three conditions. I want to calculate a second-level ANOVA comparing the three conditions using nilearn. I have contrast maps for all conditions > baseline. I want to use these in order to calculate the ANOVA.

How do I go about this in nilearn? I found examples and tutorials for paired t-tests (i.e. two conditions) but never for scenarios with more than 2 conditions.

Would be happy about tips and resources.

Thanks a lot :slight_smile: