Definition
contingency table
| Total | |||||
|---|---|---|---|---|---|
| Total |
Contingency table is a table displays the multivariate frequency distribution of the variables.
Examples
Poisson and Multinomial Distribution Cases
2-Dimensional Case
Consider a contingency table.
No Margin Fixed
If ‘s are independent and , then the joint PDF becomes
Fixed Total
Given the total , the conditional distribution is Multinomial Distribution. where and
One Margin Fixed
Given one fixed margin (in this case, row) , the conditional distribution of frequency of -th row is Multinomial Distribution. And if each row is independent, the conditional distribution is product-Multinomial Distribution (joint multinomial distribution).
3-Dimensional Case
Consider a contingency table.
No Margin Fixed
If ‘s are independent and , then the joint PDF becomes
Fixed Total
Given the total , the conditional distribution is Multinomial Distribution. where and
One Margin Fixed
Given one fixed margin (in this case, ) , and each -th rows are independent, the conditional distribution is product-Multinomial Distribution (joint multinomial distribution).
Two Margin Fixed
If two margins are fixed (in this case, and ) , and each -th and -th rows are independent, the conditional distribution is product-Multinomial Distribution (joint multinomial distribution).