Learn R Programming

Analitica (version 1.8.5)

LSDTest: Least Significant Difference (LSD) Test

Description

Performs unadjusted pairwise t-tests following a significant ANOVA.

Usage

LSDTest(modelo, alpha = 0.05)

Value

An object of class "comparaciones" with LSD results.

Arguments

modelo

An object of class aov or lm.

alpha

Significance level (default is 0.05).

Details

Advantages: - Very powerful when assumptions are met. - Simple and easy to interpret.

Disadvantages: - High risk of Type I error without correction. - Not recommended if many comparisons are made.

References

Fisher, R. A. (1935). The Design of Experiments. Oliver & Boyd.

Examples

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

Run the code above in your browser using DataLab