levene function

Test for homogeneity of variances of Levene

Test for homogeneity of variances of Levene

levene Performs the test for homogeneity of variances of Levene (1960).

levene(trat, resp, t, r)

Arguments

  • trat: Numeric or complex vector containing treatments.
  • resp: Numeric or complex vector containing the response variable.
  • t: Number of treatments.
  • r: Numeric or complex vector containing the number of replications of each treatment.

Returns

Returns the p-value of Levene's test of homogeneity of variances and its practical interpretation for significance level of 5%.

Examples

data(ex1) attach(ex1) crd(trat, ig, quali = FALSE, hvar = "levene")

References

LEVENE, H. Robust tests for equality of variances. In: Olkin, I.; Ghurye, S.G.; Hoeffding, W.; Madow, W.G.; Mann, H.B. (eds.). Contribution to Probability and Statistics. Stanford, CA: Stanford University Press, pages 278-292, 1960.

NOGUEIRA, D, P.; PEREIRA, G, M. Desempenho de testes para homogeneidade de variancias em delineamentos inteiramente casualizados. Sigmae, Alfenas, v.2, n.1, p. 7-22. 2013.

See Also

bartlett, samiuddin, layard, oneillmathews.

Author(s)

Eric B Ferreira, eric.ferreira@unifal-mg.edu.br

@author Denismar Alves Nogueira @author Marcos Costa de Paula @author Mateus Pimenta Siqueira Lima

  • Maintainer: Eric Batista Ferreira
  • License: GPL (>= 2)
  • Last published: 2021-10-05

Useful links