bartlett Performs the test for homogeneity of variances of Bartlett (1937).
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.
Returns
Returns the p-value of Bartlett's test of homogeneity of variances and its practical interpretation for 5% of significance.
Examples
data(ex1)attach(ex1)crd(trat, ig, quali =FALSE, hvar='bartlett', sigF =0.05)
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.