13  Help

13.1 Giving help

The marginaleffects package and the Marginal Effects Zoo online book will always be free. If you like this project, you can contribute in four ways:

  1. Make a donation to the Native Women’s Shelter of Montreal or to Give Directly, and send me (Vincent) a quick note. You’ll make my day.
  2. Submit bug reports, documentation improvements, or code contributions to the Github repositories of the R version or the Python version of the package.
  3. Create a new entry for the Meme Gallery!
  4. Cite the marginaleffects package in your work and tell your friends about it.

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},
}

13.2 Getting help

If you need help with marginaleffects, there are several possible venues:

It is considered polite to avoid posting on multiple sites at once.

When you ask for help, you will have a much better chance of obtaining useful answers if you provide an example with these characteristics:

  • Public data:
  • Minimal:
    • Avoid loading irrelevant libraries and extra code. Only show the relevant bits.
  • Errors & warnings:
    • Show the complete errors and warnings. They are usually informative.
  • Cut & paste:
    • Make sure we can just copy your entire code and paste it directly into an R console to reproduce your problem. People are much less likely to take the time to investigate if they have to clean up your code before they can use it. For example, do not supply the console output with + at the start of each line. This output is not executable.
  • sessionInfo()
    • Paste the output of this command at the bottom of your question so we know in what environment the code is run and what package versions are used.

For more information about asking good questions about software, see this classic post on Stack Overflow: https://stackoverflow.com/a/5963610/342331

Finally, remember that the people who maintain, contribute, and answer questions about marginaleffects do it for free, on nights and weekends. Please be patient. And please be forgiving if we do not find the time to answer your question at all.

13.3 Bugs and feature requests

To report bugs or feature requests, please visit the Github issue tracker here: