Lms2.stat | R Documentation |
Calculates the logarithmic minimum statistics (see Sulewski P. (2019)).
Lms2.stat(nij)
nij |
a numeric matrix with non-negative values of the two-way contingency table cells |
The statistic of the logarithmic minimum test for independence in r x c contingency table, see formula (4) and example 3 in the article.
The function returns the value of the logarithmic minimum test statistic
Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.
Sulewski, P. (2019). The LMS for Testing Independence in Two-way Contingency Tables. Biometrical Letters 56(1), 17-43
Lms2.stat(table1)
Lms2.stat(table2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.