# How to implement the ANOVA post-hoc test in Julia?

**URL:** <https://discourse.julialang.org/t/how-to-implement-the-anova-post-hoc-test-in-julia/83310>\
**Category:** Statistics\
**Tags:** question\
**Created:** [June 24, 2022, 12:39pm UTC](https://discourse.julialang.org/t/how-to-implement-the-anova-post-hoc-test-in-julia/83310 "2022-06-24T12:39:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aesth\_Estheticism](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aesth_estheticism/32/36584_2.png) [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)\
**Post date:** [June 24, 2022, 12:39pm UTC](https://discourse.julialang.org/t/how-to-implement-the-anova-post-hoc-test-in-julia/83310/1 "2022-06-24T12:39:12Z")

</div>

I conducted hypothesis test using HypohesisTest package, however, it seems that can’t do post-hoc test. Is there a package could do it?

---

<div class="post-metadata">

**Author:** ![palday](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palday/32/12640_2.png) [@palday](https://discourse.julialang.org/u/palday)\
**Post date:** [June 24, 2022, 3:14pm UTC](https://discourse.julialang.org/t/how-to-implement-the-anova-post-hoc-test-in-julia/83310/2 "2022-06-24T15:14:36Z")

</div>

What post-hoc tests are you talking about? Do you mean “resolving interactions in ANOVA?” Maybe “pairwise t-tests following omnibus ANOVA”?

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [June 26, 2022, 3:53pm UTC](https://discourse.julialang.org/t/how-to-implement-the-anova-post-hoc-test-in-julia/83310/3 "2022-06-26T15:53:33Z")

</div>

I guess the OP would like to perform tests such as Tukey-Kramer, which are better than doing lots of t-tests are they take into account the increased risk of false positives due to doing many comparisons between all pairs of groups. I don’t know whether a package supports it currently in Julia.
