Two-way contingency tables

In this section we re-examine the two-way contingency tables studied in Independence Testing using the following log-linear regression model:

Two-way log-linear

where all the xij are dummy variables coded to represent categorical variables. In addition, we also consider more complicated models which contain factors consisting of interactions between the same variables, as described in the sections listed below, and the yi are used to express the frequency of outcomes.

In particular we will address the following example:

Example 1: Determine which of the log-linear models is the best fit for the data in Example 2 of Independence Testing.

As we will see there are the following types of log-linear models for two-way contingency tables:

Leave a Reply

Your email address will not be published. Required fields are marked *