permutationTest(data, statistic, B = 999, ...,
resampleColumns, ...
alternative = "two.sided",
combine = F,
combinationFunction = combinePValues.Fisher)
args.stat.
mean(x,trim=.2).
If
data is given by name (e.g.
data=x) then use that name
in the expression,
otherwise (e.g.
data=air[,4]) use the name
data in the expression.
If
data is a data frame, the expression may involve variables
in the data frame.
For examples see
.
B=999, p-values are multiples of 1/1000.
statistic.
combinePValues.Fisher for specifications
This is implemented as a front end to , using as the sampler.
Pesarin, F. (2001),
Multivariate Permutation Tests with Applications to Biostatistics,
Wiley, Chichester, UK.
(Describes nonparametric combination methodology.)
We wish to thank Dr. Luigi Salmaso for help designing and testing
this function.
More details on arguments, see . Note that calls , so many of the arguments are common.
Combination of p-values for multivariate statistics: , , , .
Print, summarize, plot: , , , ,
Description of a "permutationTest" object, extract parts: , , , .
Modify a "permutationTest" object: .
For an annotated list of functions in the package, including other high-level resampling functions, see: .
# Test significance of a correlation y <- rnorm(30); x <- 1:30 plot(x,y); abline(lm(y ~ x)) obj <- permutationTest(y, cor(y, x)) obj print(obj, digits=2) plot(obj)