Learn R Programming

ExpDes (version 1.2.2)

oneillmathews: Test for homogeneity of variances of ONeill and Mathews (CRD)

Description

oneillmathews Performs the test for homogeneity of variances of ONeill and Mathews (2000).

Usage

oneillmathews(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 ONeill and Mathews' test of homogeneity of variances and its practical interpretation for significance level of 5%.

References

O'NEILL, M. E.; MATHEWS, K. L. A weighted least squares approach to levene test of homogeneity of variance. Australian e New Zealand Journal Statistical, 42(1):81-100, 2000.

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, layard, levene, samiuddin.

Examples

Run this code
# NOT RUN {
data(ex1)
attach(ex1)
crd(trat, ig, quali = FALSE, hvar = "oneillmathews",
sigF = 0.05)
# }

Run the code above in your browser using DataLab