GabrielTest {Analitica} | R Documentation |
Gabriel’s Post Hoc Test for Multiple Comparisons
Description
A modification of Tukey's test for use with moderately unequal sample sizes.
Usage
GabrielTest(modelo, alpha = 0.05)
Arguments
modelo |
An object of class |
alpha |
Significance level (default is 0.05). |
Details
Advantages: - More powerful than Tukey for unequal group sizes. - Controls error rates effectively with moderate imbalance.
Disadvantages: - Can be anti-conservative with large differences in group sizes. - Less common in standard statistical software.
Value
An object of class "gabriel"
and "comparaciones"
, containing:
-
Resultados
: Data frame with comparisons, mean differences, adjusted critical value, p-value, and significance level. -
Promedios
: Named numeric vector of group means. -
Orden_Medias
: Vector of group names ordered from highest to lowest mean. -
Metodo
: Name of the method used ("Gabriel").
References
Hochberg, Y., & Tamhane, A. C. (1987). Multiple Comparison Procedures.
Examples
data(d_e, package = "Analitica")
mod <- aov(Sueldo_actual ~ as.factor(labor), data = d_e)
resultado <- GabrielTest(mod)
summary(resultado)
plot(resultado)