Interpreting Interaction Effects in Generalized Linear Models of Nonlinear Probabilities and Counts
- PMID: 33523708
- PMCID: PMC8325704
- DOI: 10.1080/00273171.2020.1868966
Interpreting Interaction Effects in Generalized Linear Models of Nonlinear Probabilities and Counts
Abstract
Psychology research frequently involves the study of probabilities and counts. These are typically analyzed using generalized linear models (GLMs), which can produce these quantities via nonlinear transformation of model parameters. Interactions are central within many research applications of these models. To date, typical practice in evaluating interactions for probabilities or counts extends directly from linear approaches, in which evidence of an interaction effect is supported by using the product term coefficient between variables of interest. However, unlike linear models, interaction effects in GLMs describing probabilities and counts are not equal to product terms between predictor variables. Instead, interactions may be functions of the predictors of a model, requiring nontraditional approaches for interpreting these effects accurately. Here, we define interactions as change in a marginal effect of one variable as a function of change in another variable, and describe the use of partial derivatives and discrete differences for quantifying these effects. Using guidelines and simulated examples, we then use these approaches to describe how interaction effects should be estimated and interpreted for GLMs on probability and count scales. We conclude with an example using the Adolescent Brain Cognitive Development Study demonstrating how to correctly evaluate interaction effects in a logistic model.
Keywords: Generalized linear modeling; Poisson; interaction; logistic regression; moderation.
Conflict of interest statement
Figures









Similar articles
-
Making sense of some odd ratios: A tutorial and improvements to present practices in reporting and visualizing quantities of interest for binary and count outcome models.Psychol Addict Behav. 2022 May;36(3):284-295. doi: 10.1037/adb0000669. Epub 2021 Apr 29. Psychol Addict Behav. 2022. PMID: 33914563 Free PMC article.
-
Generalized nonlinear models for rear-end crash risk analysis.Accid Anal Prev. 2014 Jan;62:9-16. doi: 10.1016/j.aap.2013.09.004. Epub 2013 Sep 26. Accid Anal Prev. 2014. PMID: 24125803
-
Bivariate categorical data analysis using normal linear conditional multinomial probability model.Stat Med. 2015 Feb 10;34(3):469-86. doi: 10.1002/sim.6333. Epub 2014 Oct 16. Stat Med. 2015. PMID: 25320019
-
Generalized nonlinearity in animal ecology: Research, review, and recommendations.Ecol Evol. 2024 Jul 11;14(7):e11387. doi: 10.1002/ece3.11387. eCollection 2024 Jul. Ecol Evol. 2024. PMID: 38994210 Free PMC article. Review.
-
Subgroup analyses in randomised controlled trials: quantifying the risks of false-positives and false-negatives.Health Technol Assess. 2001;5(33):1-56. doi: 10.3310/hta5330. Health Technol Assess. 2001. PMID: 11701102 Review.
Cited by
-
Are online norms-based alcohol interventions efficacious for college students with higher social anxiety?Alcohol Clin Exp Res (Hoboken). 2025 Jul;49(7):1564-1575. doi: 10.1111/acer.70077. Epub 2025 Jun 2. Alcohol Clin Exp Res (Hoboken). 2025. PMID: 40457580 Clinical Trial.
-
Association of healthy lifestyle score with control of hypertension among treated and untreated hypertensive patients: a large cross-sectional study.PeerJ. 2024 Apr 10;12:e17203. doi: 10.7717/peerj.17203. eCollection 2024. PeerJ. 2024. PMID: 38618570 Free PMC article.
-
Longitudinal examination of alcohol use motives, item-level protective behavioral strategies, and alcohol-related consequences.Alcohol Clin Exp Res (Hoboken). 2024 Apr;48(4):715-728. doi: 10.1111/acer.15282. Epub 2024 Feb 28. Alcohol Clin Exp Res (Hoboken). 2024. PMID: 38419206 Free PMC article.
-
A Tutorial on Analyzing Ecological Momentary Assessment Data in Psychological Research With Bayesian (Generalized) Mixed-Effects Models.Adv Methods Pract Psychol Sci. 2024 Jan-Mar;7(1):10.1177/25152459241235875. doi: 10.1177/25152459241235875. Epub 2024 Mar 28. Adv Methods Pract Psychol Sci. 2024. PMID: 39850466 Free PMC article.
-
Evaluating distress as a moderator of the relationship between drinking identity and hazardous drinking during the post-college transition.Addict Behav. 2024 May;152:107955. doi: 10.1016/j.addbeh.2024.107955. Epub 2024 Jan 11. Addict Behav. 2024. PMID: 38290321 Free PMC article.
References
-
- Agresti A (2002). Categorical data analysis. Wiley. 10.1002/0471249688 - DOI
-
- Ai C, & Norton EC (2003). Interaction terms in logit and probit models. Economics Letters, 80(1), 123–129. 10.1016/S0165-1765(03)00032-6 - DOI
-
- Aiken LS, & West SG (1991). Multiple regression: Testing and interpreting interactions. Sage.
-
- Armstrong D (2020). DAMisc: Dave Armstrong’s miscellaneous functions. R package version 1.5.4. https://CRAN.R-project.org/package=DAMisc
MeSH terms
Grants and funding
- U24 DA041147/DA/NIDA NIH HHS/United States
- U01 DA041120/DA/NIDA NIH HHS/United States
- U01 DA041093/DA/NIDA NIH HHS/United States
- R01 DA047247/DA/NIDA NIH HHS/United States
- U24 DA041123/DA/NIDA NIH HHS/United States
- U01 DA041025/DA/NIDA NIH HHS/United States
- U01 DA041117/DA/NIDA NIH HHS/United States
- U01 DA041148/DA/NIDA NIH HHS/United States
- U01 DA041174/DA/NIDA NIH HHS/United States
- U01 DA041134/DA/NIDA NIH HHS/United States
- U01 DA041022/DA/NIDA NIH HHS/United States
- U01 DA041156/DA/NIDA NIH HHS/United States
- T32 AA013525/AA/NIAAA NIH HHS/United States
- U01 DA041089/DA/NIDA NIH HHS/United States
- F31 AA027118/AA/NIAAA NIH HHS/United States
- F31 DA040376/DA/NIDA NIH HHS/United States
- U01 DA041106/DA/NIDA NIH HHS/United States
- U01 DA041028/DA/NIDA NIH HHS/United States
- U01 DA041048/DA/NIDA NIH HHS/United States
LinkOut - more resources
Full Text Sources
Other Literature Sources