I try to use linear mixed effect model in Python statsmodels package. However, I have no idea how to conduct and interpret the result.
Group 1 (20 people) : base line & follow up
Group 2 (20 people) : base line & follow up
Two groups went through an experiment and neuroimaging was done before(baseline) & after(follow up) the experiment. Each group consists of about 20 people.
- If I want to regress out the effects of covariates (3 distinct covariates are expected to be used as fixed factors) from the neuroimaging data, then linear mixed effects model is appropriate approach? If it is not, then how can I use linear mixed effects model in my dataset? (I am confused with the purpose of it)
- Then, what would be the example code?
- And how should I interpret the result to get values that I want?