perm.bartlett.test {RVAideMemoire} | R Documentation |
Permutation Bartlett's test of homogeneity of variances
Description
Performs a permutation Bartlett's test of homogeneity of k variances.
Usage
perm.bartlett.test(formula, data, nperm = 999, progress = TRUE)
Arguments
formula |
a formula of the form |
data |
an optional data frame containing the variables in the formula |
nperm |
number of permutations. |
progress |
logical indicating if the progress bar should be displayed. |
Details
The function deals with the limitted floating point precision, which can bias calculation of p-values based on a discrete test statistic distribution.
Value
method |
name of the test. |
data.name |
a character string giving the name(s) of the data. |
statistic |
test statistics of the parametric test. |
permutations |
number of permutations. |
p.value |
p-value of the permutation test. |
Author(s)
Maxime HERVE <maxime.herve@univ-rennes1.fr>
See Also
Examples
response <- c(rnorm(12),rpois(12,1),rnorm(12,2,1))
fact <- gl(3,12,labels=LETTERS[1:3])
perm.bartlett.test(response~fact)
[Package RVAideMemoire version 0.9-83-7 Index]