Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-08T05:27:09.615Z Has data issue: false hasContentIssue false

Compression and Conditional Effects: A Product Term Is Essential When Using Logistic Regression to Test for Interaction*

Published online by Cambridge University Press:  26 November 2015

Rights & Permissions [Opens in a new window]

Abstract

Previous research in political methodology argues that researchers do not need to include a product term in a logistic regression model to test for interaction if they suspect interaction due to compression alone. I disagree with this claim and offer analytical arguments and simulation evidence that when researchers incorrectly theorize interaction due to compression, models without a product term bias the researcher, sometimes heavily, toward finding interaction. However, simulation studies also show that models with a product term fit a broad range of non-interactive relationships surprisingly well, enabling analysts to remove most of the bias toward finding interaction by simply including a product term.

Information

Type
Original Articles
Copyright
© The European Political Science Association 2015 
Figure 0

Table 1 Current Advice for Testing Interactive Theories Using Logistic Regression

Figure 1

Fig. 1 Logistic regression fits to a non-interactive relationship Note: this figure shows the true relationship in the first simulation study (dotted lines) as well as how logistic regression models with and without a product term fit the process (solid, bold lines). Notice that X and Z have large effects on Pr(Y) and Pr(Y) is always <0.5. In this case, excluding a product term forces the model to point toward interaction, despite the fact that the relationship is non-interactive. Including a product term allows the model to fit this non-interactive process surprisingly well.

Figure 2

Fig. 2 Fifty estimated second differences and confidence intervals Note: this figure shows 50 simulations of estimated second-differences and confidence intervals using models with and without a product term. Although second-difference is actually 0 (a non-interactive relationship), the model with no product term consistently finds interaction. Including a product term removes almost all of this bias.

Figure 3

Fig. 3 The size of tests for interaction Note: this figure shows the probability of concluding interaction when the true relationship is given by Pr(Y)=0.3+0.2X−0.3Z (i.e., there is no interaction) using logistic regression models with and without a product term as the sample size, the distribution of X, and the change in X considered in computing the second-difference varies. Notice that the model including a product term performs remarkably well, although the improvement diminishes as the simple size gets large, especially when the distribution of X is skewed and the researcher considers the effect of changing X nears its extremes.

Figure 4

Fig. 4 The distribution of the size of tests for interaction across a diverse set of analyses Note: the histogram on the left shows that logistic regression models without a product term tend to find interaction when none exists. The histogram on the right shows researchers can eliminate most of this bias by simply including a product term.

Figure 5

Fig. 5 The relationship between the size of the test for interaction with and without a product term across a diverse set of analyses Note: this figure shows the probability of concluding interaction when none exists from logistic regression models with and without a product term for many different analyses. Points that fall in the vertical band indicate an analysis in which the model without a product term performs well. Points that fall in the horizontal band indicate an analysis in which the model with an product term performs well. For many analyses, the model without the product term performs quite poorly, whereas the model with a product term performs well. Finally, notice that almost all points fall below the diagonal line indicating that models without a product term are more likely to mislead researchers in almost every simulated analysis.

Figure 6

Fig. 6 The estimated probability of conflict as distance varies in democracies and non-democracies using a model with and without a product term Note: this figure compares the estimated probability of conflict in democracies (Polity IV score of 10) and non-democracies (Polity IV score of −10) from models with and without a product term. Notice that, as expected, there is a much smaller change in the probability of conflict in democracies. However, the model with no product term forces this pattern of compression into the estimates. The model including a product term allows the model to represent non-interactive relationships as well. Because of this, the estimates from the model with a product term are more compelling.

Figure 7

Fig. 7 The effect of democracy on the probability of conflict as distance varies Note: this figure shows how the negative effect of democracy on the probability of conflict shrinks toward zero as dyads become more distant. This expected pattern is consistent with compression, but the model without a product term forces this pattern into the results while the model with a product term allows other types of relationships to emerge.

Figure 8

Fig. 8 The effect of distance on the probability of conflict as democracy varies Note: this figure shows how the negative effect of distance on the probability of conflict shrinks toward 0 as dyads become more democratic. This expected pattern is consistent with compression, but the model without a product term forces this pattern into the results, whereas the model with a product term allows other types of relationships to emerge.

Figure 9

Fig. 9 The change in the estimated effect of distance from democratic to non-democratic dyads Note: this figure shows the estimated second-differences from both the models with and without a product term. Although the estimates are similar, the results from the model with a product term are more compelling, because excluding a product term strongly biases the second-differences away from 0 (see the left panel of Figure 2), whereas including removes most of this bias (see the right panel of Figure 2).

Supplementary material: Link
Link
Supplementary material: PDF

Rainey supplementary material

Appendix

Download Rainey supplementary material(PDF)
PDF 270.2 KB
Supplementary material: File

Rainey supplementary material

Rainey supplementary material

Download Rainey supplementary material(File)
File 21 KB