Description Usage Arguments Details Value Examples
View source: R/SphereKaji20140527.R
Estimate p-values/cumulative probability of maximum statistics on multi-way table under unll or alternative hypothesis
1 | pmway.table(x, A, tests, lower.tail, nc, one.side, n)
|
x |
A vector of K^2 quantiles |
A |
An array or matrix of table that specifies marginal counts |
tests |
A list of tables |
lower.tail |
logical; if TRUE (default), probabilities are P[X ?????? x], otherwise, P[X > x]. |
nc |
Optional. if FALSE (default), random tables are in null hypothesis and otherwise in alternative hypothesis with its ccenter being table A |
one.side |
Optional. When TRUE, tests are one-sided, otherwise two-sided |
n |
number of random unit vectors used for estimation |
This function is one of three major functions in this package. Functions for a distribution are rxxxx,dxxxx, pxxxx and qxxxx in general and this package provides three of them, rmway.table, pmway.table and qmway.table functions.
"p.null"cumulative probability under null hypothesis
"p.alt"cumulative probability under alternative hypothesis
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.