Mod2.cv | R Documentation |
Calculates the critical value of the modular test for independence in two-way contingency table see formula (9) in the article.
Mod2.cv(nr, nc, n, alfa, B = 10000)
nr |
a number of rows |
nc |
a number of columns |
n |
a sample size |
alfa |
a significance level |
B |
an integer specifying the number of replicates used in the Monte Carlo test (optional) |
The Critical value of the modular test for independence in r x c contingency table, see formula (2) in the article.
The function returns the critical value of the modular test.
Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.
Sulewski, P. (2016). Moc testów niezależności w tablicy dwudzielczej większej niż 2×2, Przegląd statystyczny 63(2), 190-210
Mod2.cv(2, 2, 40, 0.05, B = 1e2)
Mod2.cv(2, 3, 60, 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.