If i want to calculate the amount of k-dimensional contingency tables which formula should I use?
For example, if i have 16 categorical variables in my dataset and want to calculate the amount of 1-dimensional contingency tables, then it's clear, there is only 1 table. If I want to calculate the amount of 2-dimensional contingency tables then I assume there are 120. But how do I calculate it? And what if i have much more variables and k-dimensional tables?
Im searching for one equations with gives me the number of available contingency tables, given the dimension (k) and the number of variables (n). Thanks