Two categorical variables
In this section, we explain how to model data sets that consist of pairs of categorical values — bivariate categorical data.
Gambling simulation
Interest in the model
We are usually interested in the probabilities in the underlying model, rather than the corresponding proportions from the sample data (the contingency table). The joint probabilities must be estimated from the sample data.
Patients taking prescribed medicine