Exact conditional test for many-to-one comparisons of proportions
This function calculates the exact distribution of the maximum of test statistics with unpooled variance estimators for the difference of many-to-one comparisons of proportion. Using this, p-values for the max-test are computed.
ec.mto(n, x, alternative = "less")
vector of integers specifying the number of trials in each group, where the first value is taken as control
vector of integers specifying the number of successes in each group, where the first value is taken as control
a character string, one of "two.sided", "greater", "less"
a single numeric value, the p.value of the maximum test
Koch, H.F. and Hothorn, L.A. (1999): Exact unconditional distributions for dichotomous data in many-to-one comparisons. Journal of Statistical Planning and Inference 82, 83-99 (section 2.1)
1 2 3 4 5 6 7 8 9 10 11 12
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.