EconPapers    
Economics at your fingertips  
 

ginteff: A generalized command for computing interaction effects

Marius Radean ()
Additional contact information
Marius Radean: University of Essex

Stata Journal, 2023, vol. 23, issue 2, 301-335

Abstract: Interaction analyses are useful tools to examine complex socioeconomic outcomes in which the effect of one variable depends on the presence or values of another variable. Interaction effects capture simultaneous changes in two (or more) covariates, and their computation is especially challenging in nonlinear models. For such models, a statistically significant interaction-term coefficient does not necessarily indicate significant interactive effects. For analyses in which the interaction effect cannot be inferred from the model estimates, I introduce ginteff, a new command that automatically computes two- and three-way interaction effects. The command accommodates a large suite of estimation models and allows researchers to use either the partial derivative or the first difference to model the effect of the interacted variables.

Keywords: ginteff; ginteffplot; average interaction effect; individual-level interaction effects; two-way interactions; three-way interactions (search for similar items in EconPapers)
Date: 2023
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj23-2/st0711/
References: Add references at CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0711 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:23:y:2023:i:2:p:301-335

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X231175253

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:23:y:2023:i:2:p:301-335