Mod3.cv | R Documentation |
Calculates the critical value of the modular test for independence in three-way contingency table (see Sulewski P. (2018)).
Mod3.cv(nr, nc, nt, n, alfa, B = 10000)
nr |
a number of rows |
nc |
a number of columns |
nt |
a number of tubes |
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 x t contingency table,
The function returns the critical value of the modular test.
Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.
Sulewski, P. (2018). Power Analysis Of Independence Testing for the Three-Way Con-tingency Tables of Small Sizes. Journal of Applied Statistics 45(13), 2481-2498
Mod3.cv(2, 2, 2, 80, 0.05, B = 1e2)
Mod3.cv(2, 2, 2, 80, 0.1, B = 1e3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.