Welch Test for Equal Means in a One-Way Layout

Description: Test whether two or more samples from normal distributions have the same means. The variances are not necessarily assumed to be equal.

#| label = "GetRStatixPkg"
library(rstatix)
#| label = "{{DataName}}.wt"
{{DataName}}.wt = {{DataName}} |> welch_anova_test({{ResponseName}} ~ {{FactorName}})
{{DataName}}.wt |> kable(caption="Welch's one-way hypothesis test for {{ResponseName}} grouped by {{FactorName}}.")

Games Howell Post-hoc Tests

Description: Performs Games-Howell test, which is used to compare all possible combinations of group differences when the assumption of homogeneity of variances is violated. This post hoc test provides confidence intervals for the differences between group means and shows whether the differences are statistically significant.

#| label = "{{DataName}}.ght"
{{DataName}}.ght = {{DataName}} |> games_howell_test({{ResponseName}} ~ {{FactorName}})
{{DataName}}.ght |> kable((caption="Games-Howell multiple comparison test for {{ResponseName}} disaggregated by {{FactorName}}.")


Try the BrailleR package in your browser

Any scripts or data that you put into this service are public.

BrailleR documentation built on July 26, 2023, 5:46 p.m.