test.var.het | R Documentation |
Test for heterogeneity of variances among samples in a time-series
test.var.het(y, method = "Bartlett")
y |
a |
method |
test to use; currently only |
a list with the test statistic, degrees of freedom, and p-value
Most often, this function will be used to assess if it is reasonable to
pool variances across samples using pool.var
. A significant result means
that the null hypothesis of equal variances across samples is rejected. Even in
this case, however, it may still be preferable to pool variances, at least for
some populations, if sample sizes are quite low.
Sokal, R. R and F. J. Rohlf. 1995. Biometry 3rd Ed.
pool.var
data(cantius_L)
test.var.het(cantius_L) # significant, but still may want to pool variances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.