Confirming my understanding of pingouin's ANOVAs for toolbox development #452
-
Hey Pingouin community (thanks for your amazing work!)I am developing an open source toolbox that uses pingouin for its ANOVAs and I would like to make sure that I am doing so correctly. In users' data there is always a repeated measurements factor, let's call it rm_fac. I want to support 1-way as well as 2-way ANOVAs, that is I want to support the following five cases. Can you please confirm that my understanding of things is correct. Implementation & UnderstandingI am denoting within- and between-subjects factors as w_fac and b_fac (_1 and _2 if needed) Case 1
Case 2
Case 3
Case 4
Case 5
Summary
Thanks a lot for taking the time to help me with this, I really do appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @mahan-hosseini, The list of cases is kind of a lot to take in, and the pressure of confirming how things work for your package is also making me hesitatant to say much. If you are only looking for confirmation that your package is giving expected results, I would suggest simply comparing with the output of some other software you are more confident in. Of course validating the output with other software should be done regardless of the feedback in this thread, so maybe just jump ahead to that step to address this concern of yours?
I'm confused about the difference between your If you want to follow up with some feedback in this thread, could you pick just one Case example to focus on and provide a little more detail, maybe with some code? That would be more digestible and easier to provide feedback for. And again keep in mind that you should validate the Pingouin output against some other software before publishing your package. |
Beta Was this translation helpful? Give feedback.
Okay, thanks @mahan-hosseini!
In this example I only see 2 factors. From the text and the plot I think your dataframe has 4 columns:
height
[I think this isy
on the graph andvar
in your code example]timepoint
(0, 20, 40, 60, 80, 100) is your within-subjects factorgroup
(5mm, 20mm) is your between-subjects factor …