levene.test

0th

Percentile

Levene's Test

Computes Levene's test for homeogeneity of variance across groups.

Keywords
htest
Usage
levene.test(y, group)
Arguments
y
response variable.
group
factor defining groups.
Value

  • returns an object meant to be printed showing the results of the test.

Note

adapted from a response posted by Brian Ripley to the R-help email list.

References

Fox, J. (1997) Applied Regression, Linear Models, and Related Methods. Sage.

Aliases
  • levene.test
Examples
attach(Moore)
levene.test(conformity, fcategory)
## Levene's Test for Homogeneity of Variance
##       Df F value Pr(>F)
## group  2   0.046 0.9551
##       42  

levene.test(conformity, interaction(fcategory, partner.status))
## Levene's Test for Homogeneity of Variance
##       Df F value Pr(>F)
## group  5  1.4694 0.2219
##       39
Documentation reproduced from package car, version 1.2-2, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.