HolmTest | R Documentation |
Performs pairwise t-tests with p-values adjusted using Holm’s sequential method.
HolmTest(modelo, alpha = 0.05)
modelo |
An object of class |
alpha |
Significance level (default is 0.05). |
Advantages: - Controls family-wise error rate more efficiently than Bonferroni. - Easy to apply over any set of p-values.
Disadvantages: - Does not adjust test statistics, only p-values. - Slightly more conservative than false discovery rate (FDR) methods.
An object of class "holm"
and "comparaciones"
, containing:
Resultados
: Data frame of comparisons, mean differences, t-values, unadjusted and adjusted p-values, and significance codes.
Promedios
: Named numeric vector of group means.
Orden_Medias
: Character vector with group names ordered from highest to lowest mean.
Metodo
: Name of the method used ("Holm-adjusted t-test").
Holm, S. (1979). A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2), 65–70.
data(d_e, package = "Analitica")
mod <- aov(Sueldo_actual ~ as.factor(labor), data = d_e)
resultado <- HolmTest(mod)
summary(resultado)
plot(resultado)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.