In this unit we consider simple loglinear models for two-way tables, and how to choose between models on the basis of goodness of fit.