levene {ExpDes} | R Documentation |
Test for homogeneity of variances of Levene
Description
levene
Performs the test for homogeneity of variances
of Levene (1960).
Usage
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. |
Value
Returns the p-value of Levene's test of homogeneity of variances and its practical interpretation for significance level of 5%.
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
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
.
Examples
data(ex1)
attach(ex1)
crd(trat, ig, quali = FALSE, hvar = "levene")