powered by
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)
The function returns the critical value of the modular test.
a number of rows
a number of columns
a sample size
a significance level
an integer specifying the number of replicates used in the Monte Carlo test (optional)
Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.
The Critical value of the modular test for independence in r x c contingency table, see formula (2) in the article.
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)
Run the code above in your browser using DataLab