permChacko {permChacko} | R Documentation |
The Chacko test for order-restriction with permutation test
Description
The Chacko test for order-restriction with permutation test
Usage
permChacko(x, n_perm = 1000L, verbosity = 0)
Arguments
x |
vector of numeric values |
n_perm |
number of permutations to calculate the p-value numerically |
verbosity |
if |
Value
A list containing the test statistic, p-values (analytic, numeric and
tabular, when available), the number of permutations performed, the original
data and the reduced data. Use names()
and str()
on the output for more
details.
References
Chacko, V. J. (1963). Testing homogeneity against ordered alternatives. The Annals of Mathematical Statistics, 945-956.
Chacko, V. J. (1966). Modified chi-square test for ordered alternatives. Sankhyā: The Indian Journal of Statistics, Series B, 185-190.
Examples
ruxton221207 <- c(6, 8, 4, 7, 3)
chacko66_sec3 <- c(10L, 16L, 14L, 12L, 18L)
chacko66_sec5 <- c(12L, 14L, 18L, 16L, 22L, 20L, 18L, 24L, 26L, 30L)
permChacko(ruxton221207)
permChacko(chacko66_sec3)
permChacko(chacko66_sec5)
[Package permChacko version 1.0.0 Index]