T3Test | R Documentation |
Performs Dunnett's T3 test for pairwise comparisons after an ANOVA model. This test is recommended when group variances are unequal and sample sizes differ. It is based on the studentized range distribution and provides conservative control over Type I error without assuming homoscedasticity.
T3Test(modelo, alpha = 0.05)
modelo |
An object of class |
alpha |
Significance level (default is 0.05). |
Advantages: - More powerful than T2 when group sizes are small. - Adjusted for unequal variances.
Disadvantages: - Complex critical value estimation. - Less frequently used and harder to find in software.
An object of class "dunnettt3"
and "comparaciones"
, containing:
Resultados
: A data frame with pairwise comparisons, mean differences,
q-values, degrees of freedom, p-values, and significance indicators.
Promedios
: A named numeric vector of group means.
Orden_Medias
: A character vector of group names ordered from highest to lowest mean.
Metodo
: A character string with the test name ("Dunnett T3").
Dunnett, C. W. (1980). "Pairwise multiple comparisons in the unequal variance case." Journal of the American Statistical Association, 75(372), 796–800. <https://doi.org/10.1080/01621459.1980.10477558>
data(d_e, package = "Analitica")
mod <- aov(Sueldo_actual ~ as.factor(labor), data = d_e)
resultado <- T3Test(mod)
summary(resultado)
plot(resultado)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.