bartlett {ExpDes} | R Documentation |
Test for Homogeneity of Variances: Bartlett
Description
bartlett
Performs the test for homogeneity of
variances of Bartlett (1937).
Usage
bartlett(trat, resp, t, r)
Arguments
trat |
Numeric or complex vector containing the 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 Bartlett's test of homogeneity of variances and its practical interpretation for 5% of significance.
Author(s)
Eric B Ferreira, eric.ferreira@unifal-mg.edu.br
Denismar Alves Nogueira
Marcos Costa de Paula
Mateus Pimenta Siqueira Lima
References
BARTLETT, M. S. Properties of sufficiency and statistical tests. Proceedings of the Royal Statistical Society - Serie A, 60:268-282, 1937.
NOGUEIRA, D, P.; PEREIRA, G, M. Desempenho de testes para homogeneidade de vari?ncias em delineamentos inteiramente casualizados. Sigmae, Alfenas, v.2, n.1, p. 7-22. 2013.
See Also
levene
,
oneillmathews
, samiuddin
Examples
data(ex1)
attach(ex1)
crd(trat, ig, quali = FALSE, hvar='bartlett', sigF = 0.05)