Learn R Programming

Analitica (version 1.8.5)

GabrielTest: 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)

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").

Arguments

modelo

An object of class aov or lm.

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.

References

Hochberg, Y., & Tamhane, A. C. (1987). Multiple Comparison Procedures.

Examples

Run this code
data(d_e, package = "Analitica")
mod <- aov(Sueldo_actual ~ as.factor(labor), data = d_e)
resultado <- GabrielTest(mod)
summary(resultado)
plot(resultado)


Run the code above in your browser using DataLab