pingouin icon indicating copy to clipboard operation
pingouin copied to clipboard

Tukey HSD posthoc test for group interactions in two-way ANOVA

Open reneshbedre opened this issue 3 years ago • 5 comments

Hi,

Thank you for excellent stat package. I would like to know how to perform a pairwise comparison for group interactions using Tukey HSD. I tried to use pairwise_tukey from pingouin, but it does not support pairwise comparison for group interactions.

In R it can be done like this (see https://rpubs.com/tmcurley/twowayanova)

TukeyHSD(len.aov, which = "supp:dose")

Let me know if there is a solution to achieve this. If not, it will be a good addition to the pingouin package.

reneshbedre avatar Jul 08 '20 18:07 reneshbedre

Hi @reneshbedre ! Thanks for the feedback. This feature is not implemented yet, but I agree this would be a useful addition. I'll work on that in the upcoming weeks.

Thanks Raphael

raphaelvallat avatar Jul 08 '20 19:07 raphaelvallat

Hi Raphael,

Thank you very much for your quick response.

reneshbedre avatar Jul 09 '20 04:07 reneshbedre

Hi all, I wanted to follow up on/second this feature request. Is it still true that the current pairwise comparison functions don't support group interactions?

cogerk avatar Sep 21 '22 21:09 cogerk

Hi @cogerk,

The pingouin.pairwise_tests function does support interaction. However this issue was referring to the pingouin.pairwise_tukey function, which does not.

raphaelvallat avatar Sep 22 '22 01:09 raphaelvallat

Thanks very much for your response and clarification!

cogerk avatar Sep 26 '22 22:09 cogerk