mecompare: Stata package for comparing marginal effects across models
mecompare (Marginal Effects Compar(e)ison) is a companion package to Mize, Doan, and Long's 2019 Sociological Methodology article "A General Framework for Comparing Predictions and Marginal Effects Across Models."
mecompare downloads the example datasets and Stata do-files needed to recreate all of the examples in the article. The Stata do-files are intended as templates for the applied analyst who wishes to use the methods in their own work.
A Stata command to automate these comparisons is in the works and will be posted on this webpage when available.
To download the mecompare example do-files and datasets, execute both of the following commands in Stata*:
net install mecompare, from("https://tdmize.github.io/data/mecompare")
net get mecompare, from("https://tdmize.github.io/data/mecompare")
To read the help file, which lists all of the files that are downloaded:
*NOTE: The example datasets and do-files are downloaded into your working directory. To see where this is, type
pwd in Stata.