powered by
Calculates the critical values of the logarithmic minimum test.
Lms2.cv(nr, nc, n, alfa, B = 10000)
The function returns the critical value of the logarithmic minimum 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 logarithmic minimum test for independence in r x c contingency table,
Sulewski, P. (2019). The LMS for Testing Independence in Two-way Contingency Tables. Biometrical Letters 56(1), 17-43 #'
Lms2.cv(2, 2, 40, 0.05, B = 1e3) Lms2.cv(2, 3, 60, 0.1, B = 1e2)
Run the code above in your browser using DataLab