hovBF: Homogeneity of Variance: Brown-Forsyth method

View source: R/hovBF.R

hovBFR Documentation

Homogeneity of Variance: Brown–Forsyth method

Description

Homogeneity of Variance: Brown–Forsyth method

Usage

hovBF(x, data=NULL, ..., na.rm = TRUE)
hovplotBF(x, data, ..., na.rm = TRUE,
          main = "Brown-Forsyth Homogeneity of Variance", plotmath = TRUE)

Arguments

x

Model formula with one response variable and one factor.

data

data.frame

...

Other arguments. hovplotBF sends them on to the panel function. hovBF ignores them.

na.rm

A logical value indicating whether 'NA' values should be stripped before the computation proceeds. See median.

main

main title for the plot.

plotmath

Logical. When TRUE (the default) the strip labels use plotmath. When FALSE the strip labels use ASCII.

Value

hovplotBF returns a three-panel trellis object. hovBF returns an htest object.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

References

Brown, M.~B. and Forsyth, A.~B. (1974). “Robust tests for equality of variances.” Journal of the American Statistical Association, 69:364–367.

Examples

data(batch)
batch1.aov <- aov(Calcium ~ Batch, data=batch)
anova(batch1.aov)
hovBF(Calcium ~ Batch, data=batch)
hovplotBF(Calcium ~ Batch, data=batch)

HH documentation built on May 29, 2024, 6:24 a.m.

Related to hovBF in HH...