Mixed factorial design (Nilearn)

Dear NeuroStars community,

I’m using Nilearn to compare brain activation in responders vs non-responders patients across two sessions (T1, before treatment vs T2, after treatment). My design is a 2×2 mixed factorial design:

  • Between-subject factor: Group (responders vs non-responders)
  • Within-subject factor: Session (T1 vs T2)

What is the best way to implement this design using Nilearn?

Thank you!

Best,

Chlöé