marginaleffects

Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests

CRAN Package

Compute and plot predictions, slopes, marginal means, and comparisons (contrasts, risk ratios, odds, etc.) for over 100 classes of statistical and machine learning models in R. Conduct linear and non-linear hypothesis tests, or equivalence tests. Calculate uncertainty estimates using the delta method, bootstrapping, or simulation-based inference. Details can be found in Arel-Bundock, Greifer, and Heiss (2024) doi:10.18637/jss.v111.i09.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 21,951 times in the last 30 days. The academic equivalent of having a dedicated subreddit. There are fans, and maybe even a few trolls! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 1,195 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
789 downloadsMar 3, 2025
990 downloadsMar 4, 2025
973 downloadsMar 5, 2025
939 downloadsMar 6, 2025
558 downloadsMar 7, 2025
320 downloadsMar 8, 2025
334 downloadsMar 9, 2025
754 downloadsMar 10, 2025
922 downloadsMar 11, 2025
872 downloadsMar 12, 2025
722 downloadsMar 13, 2025
661 downloadsMar 14, 2025
371 downloadsMar 15, 2025
344 downloadsMar 16, 2025
641 downloadsMar 17, 2025
1,013 downloadsMar 18, 2025
1,026 downloadsMar 19, 2025
768 downloadsMar 20, 2025
743 downloadsMar 21, 2025
329 downloadsMar 22, 2025
384 downloadsMar 23, 2025
869 downloadsMar 24, 2025
792 downloadsMar 25, 2025
792 downloadsMar 26, 2025
833 downloadsMar 27, 2025
723 downloadsMar 28, 2025
384 downloadsMar 29, 2025
590 downloadsMar 30, 2025
1,320 downloadsMar 31, 2025
1,195 downloadsApr 1, 2025
0 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
320
1,320

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 179,358 times in the last 365 days. This is the kind of download count that makes grant committees nod approvingly. A job well done, even the stoic reviewers might be impressed! The day with the most downloads was Sep 10, 2024 with 1,533 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports6 packages
  • Suggests141 packages
  • Linking To2 packages
  • Reverse Imports7 packages
  • Reverse Suggests19 packages