Lms2.cv {PSIndependenceTest} | R Documentation |
Logarithmic Minimum Test for Independence in Two-Way Contingency Table
Description
Calculates the critical values of the logarithmic minimum test.
Usage
Lms2.cv(nr, nc, n, alfa, B = 10000)
Arguments
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) |
Details
The Critical value of the logarithmic minimum test for independence in r x c contingency table,
Value
The function returns the critical value of the logarithmic minimum test.
Author(s)
Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.
References
Sulewski, P. (2019). The LMS for Testing Independence in Two-way Contingency Tables. Biometrical Letters 56(1), 17-43 #'
Examples
Lms2.cv(2, 2, 40, 0.05, B = 1e3)
Lms2.cv(2, 3, 60, 0.1, B = 1e2)
[Package PSIndependenceTest version 0.0.1 Index]