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.