Description Usage Arguments Value Author(s) References See Also Examples

Oneway analysis of variance makes the assumption that the variances of
the groups are equal.
Brown and Forsyth, 1974 present the recommended test of this assumption.
The Brown and Forsyth test statistic is the *F* statistic resulting
from an ordinary one-way analysis of variance on the
absolute deviations from the median.

1 2 3 4 5 6 7 | ```
hov(x, data=NULL, method = "bf") ## x is a formula
## users will normally use the formula above and will not call the
## method directly.
hov.bf(x, group, ## x is the response variable
y.name = deparse(substitute(x)),
group.name = deparse(substitute(group)))
``` |

`x` |
Formula appropriate for oneway anova in |

`data` |
data.frame |

`method` |
Character string defining method. At this time the only
recognized method is |

`group` |
factor. |

`y.name` |
name of response variable, defaults to variable name in formula. |

`group.name` |
name of factor, defaults to variable name in formula. |

`"htest"`

object for the hov test.

Richard M. Heiberger <rmh@temple.edu>

Heiberger, Richard M. and Holland, Burt (2015).
*Statistical Analysis and Data Display: An Intermediate Course with Examples in R*.
Second Edition.
Springer-Verlag, New York.
https://www.springer.com/us/book/9781493921218

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

1 2 3 4 |

```
Loading required package: lattice
Loading required package: grid
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS
Attaching package: 'TH.data'
The following object is masked from 'package:MASS':
geyser
Loading required package: gridExtra
hov: Brown-Forsyth
data: wt.gain
F = 2.2257, df:diet = 4, df:Residuals = 25, p-value = 0.09506
alternative hypothesis: variances are not identical
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.