Skip to content

Repeated measures data #81

@araikes

Description

@araikes

Hi @zhao-cy,

How feasible is it to analyze repeated measures data with GAMs in ModelArray. Specifically, I have a dataset with 2 groups x 2 time point MRIs and I'm doing deformation-based voxel-wise analyses.

I was thinking of a formula that is specified as:
~ group*time + s(subject, bs = 're')

where group, time, and subject are all factors ala https://fromthebottomoftheheap.net/2021/02/02/random-effects-in-gams/

Given how you've formulated ModelArray, would this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions