The marginaleffects
package for R
and Python
offers a single point
of entry to easily interpret the results of over 100 classes of
models,
using a simple and consistent user interface. Its benefits include:
R
.margins
package. Stata
or other R
packages.R
package requires relatively few dependencies.marginaleffects
follows “tidy” principles
and returns simple data frames that work with all standard R
functions. The outputs are easy to program with and feed to other
packages like
ggplot2
or
modelsummary
.To cite marginaleffects
in publications please use:
Arel-Bundock V, Greifer N, Heiss A (Forthcoming). “How to Interpret Statistical Models Using marginaleffects in R and Python.” Journal of Statistical Software.
A BibTeX entry for LaTeX users is:
@Article{,
title = {How to Interpret Statistical Models Using {marginaleffects} in {R} and {Python}},
author = {Vincent Arel-Bundock and Noah Greifer and Andrew Heiss},
year = {Forthcoming},
journal = {Journal of Statistical Software},
}