The statistic of the modular test for independence in r x c x t contingency table,
see formula (6) in the article.
References
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