Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCRITICAL issue: p values depend on the order of factor levels: Games-Howell test #37
Comments
|
Negative t-statistic value was not correctly handled when computing p-value using the function |
|
Hi, i find it odd too. I think the function games_howell_test is not working properly on my data. My data violates all classic ANOVA assumptions, so welch_anova_test is done. p is significant
A tibble: 1 x 7.y. n statistic DFn DFd p method
So move on to games_howell_test >> all p report ns.
A tibble: 3 x 14.y. group1 group2 n1 n2 estimate conf.low conf.high se statistic df p.adj p.adj.signif method
Then i decide to test again with other package = userfriendlyscience package >> now p all significant
F62B-F62A -8522 -10939 -6105 8.3 202 <.01
F62B-F62A -8522 -10604 -6440 9.6 426 <.01 |
|
This issue is fixed. Please install the latest dev version and try. devtools::install_github("kassambara/rstatix") |
|
Excellent. Downloaded from CRAN version 0.5.0 just now.
A tibble: 3 x 14.y. group1 group2 n1 n2 estimate conf.low conf.high se statistic df p.adj p.adj.signif method
|
The p values of the Games-Howell test depend on the order of factor levels (find the
p.adjandp.adj.signifcolumns in the examples below). I find this as a critical issue, which must be solved as soon as possible.Created on 2020-04-27 by the reprex package (v0.3.0)
You may compare the results with
PMCMRplus::gamesHowellTest()anduserfriendlyscience::posthocTGH()