mmti | R Documentation |
Intermdiate function for calculating Mood median test. Odd case is calculated recursively. The even-sample size question is reduced either to Fisher's exact test, or to the Gaussian approximation.
mmti(u, rt, ct, exact = FALSE, alternative = "two.sided")
u |
One corner of 2x2 contingency table |
rt |
Row totals |
ct |
Column totals |
exact |
Logical determining whether Fisher's test or the approximate counterpart is used. |
alternative |
alternative, defaults to "two.sided". |
A list with one component, the p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.