anscombetukey {ExpDes}R Documentation

Test for homogeneity of variances of Anscombe and Tukey

Description

anscombetukey Performs the test for homogeneity of variances of Anscombe and Tukey (1963).

Usage

anscombetukey(
  resp,
  Trat,
  Bloco,
  glres,
  msres,
  sstrat,
  ssbloco,
  residuals,
  fitted.values
)

Arguments

resp

Numeric or complex vector containing the response variable.

Trat

Numeric or complex vector containing the treatments.

Bloco

Numeric or complex vector containing the blocks.

glres

Residual degrees of freedom.

msres

Residual Mean Square.

sstrat

Residual Sum of Squares.

ssbloco

Sum of Squares for blocks.

residuals

Numeric or complex vector containing the residuals.

fitted.values

Numeric or complex vector containing the fitted values.

Value

Returns the p-value of Anscombe and Tukey'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

ANSCOMBE, F. J.; TUKEY, J. W. The examination and analysis of residuals. Technometrics, 5:141-160, 1963.

RIBEIRO, R. Proposta e comparacao do desempenho de testes para homogeneidade de variancia de modelos de classificacao one-way e two-way. Iniciacao Cientifica. (Iniciacao Cientifica) - Universidade Federal de Alfenas. 2012.

See Also

han, oneillmathews.

Examples

data(ex2)
attach(ex2)
rbd(trat, provador, aparencia, quali = TRUE, mcomp = "tukey",
hvar='anscombetukey', sigT = 0.05, sigF = 0.05)

[Package ExpDes version 1.2.2 Index]