To cite marginaleffects in publications use:

Arel-Bundock V, Greifer N, Heiss A (2024). “How to Interpret Statistical Models Using marginaleffects for R and Python.” Journal of Statistical Software, 111(9), 1–32. doi:10.18637/jss.v111.i09.

Corresponding BibTeX entry:

  @Article{,
    title = {How to Interpret Statistical Models Using
      {marginaleffects} for {R} and {Python}},
    author = {Vincent Arel-Bundock and Noah Greifer and Andrew Heiss},
    journal = {Journal of Statistical Software},
    year = {2024},
    volume = {111},
    number = {9},
    pages = {1--32},
    doi = {10.18637/jss.v111.i09},
  }