Permutation test to see if the population mean is the same for two or more
populations. For instance, test \(latex\) where
\(latex\) denotes the population mean. The values of the numeric
variable are randomly assigned to the groups and the ANOVA F statistic is
calculated. The command will print the mean and
standard error of the distribution of the test statistic as well as a
P-value.
permTestAnova(states03$ViolentCrime, states03$Region, B = 499)
#using formula syntaxif (FALSE) {
permTestAnova(ViolentCrime ~ Region, data = states03, B = 9999)
}