How can I perform a 2-way repeated measures anova using statsmodels?
Asked Answered
B

2

7

I found this example, which explains how to perform a 2-way ANOVA. I was wondering how to do the same for a repeated-measures design.

I did see this question, but I cannot assume independence of my repeated measurements.

I'm using statsmodels version 0.5.0.dev-Unknown.

Ideally, I'd like to use statsmodels, but if there's a viable solution using another library, I'd be interested in hearing about it as well.

Thanks in advance!

Bounder answered 3/4, 2013 at 14:51 Comment(0)
B
3

There is nothing built-in yet for repeated measures designs ANOVA, though I suspect it wouldn't be difficult to support. If you could provide or point me to an example and file an enhancement request we will look to support it.

Bellyache answered 3/4, 2013 at 16:50 Comment(1)
I saw that you opened an issue on the github tracker. I'm afraid I can't release any of the data I'm working with (human subject data has pretty strict privacy rules), but here is the Matlab function I've been using thus far in case it helps demonstrate my intent. Essentially, I have two factors (both have three levels) and one measure.Bounder
S
1

There is nothing built-in yet for repeated measures designs ANOVA, though I suspect it wouldn't be difficult to support. If you could provide or point me to an example and file an enhancement request we will look to support it.

Here ya go...

https://github.com/statsmodels/statsmodels/issues/1863

Sansculotte answered 1/8, 2014 at 14:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.