Testing for Interaction and Main Effects in Statistical Analysis
Main effects tell you what each variable does in isolation. Interaction effects tell you whether the combination matters. Here's how to test for both using Python's statsmodels.
Christopher A. Rotunno 2 min read
