LSDTest: Least Significant Difference (LSD) Test

View source: R/LSDTest.R

LSDTestR Documentation

Least Significant Difference (LSD) Test

Description

Performs unadjusted pairwise t-tests following a significant ANOVA.

Usage

LSDTest(modelo, alpha = 0.05)

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.

Value

An object of class "comparaciones" with LSD results.

References

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

Examples

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


Analitica documentation built on June 14, 2025, 9:07 a.m.