Lms3.stat | R Documentation |
Calculates the statistic of the Logarithmic minimum test for independence in three-way contingency table (see Sulewski P. (2018)).
Lms3.stat(nijt)
nijt |
a numeric matrix with non-negative values of the three-way contingency table cells |
The statistic of Logarithmic minimum test for independence in r x c x t contingency table, see formula (6) 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. (2021). Logarithmic Minimum Test for Independence in Three Way Con-tingency Table of Small Sizes, Journal of Statistical Computation and Simulation 91(13), 2780-2799
Lms3.stat(table3)
Lms3.stat(GenTab3(array(1/12, dim=c(2,2,3)), 120))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.