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

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>.

Package details

AuthorVincent Arel-Bundock [aut, cre, cph] (<https://orcid.org/0000-0003-2042-7063>), Noah Greifer [ctb] (<https://orcid.org/0000-0003-3067-7154>), Etienne Bacher [ctb] (<https://orcid.org/0000-0002-9271-5075>), Grant McDermott [ctb] (<https://orcid.org/0000-0001-7883-8573>), Andrew Heiss [ctb] (<https://orcid.org/0000-0002-3948-3914>)
MaintainerVincent Arel-Bundock <vincent.arel-bundock@umontreal.ca>
LicenseGPL (>= 3)
Version0.25.1
URL https://marginaleffects.com/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("marginaleffects")

Try the marginaleffects package in your browser

Any scripts or data that you put into this service are public.

marginaleffects documentation built on April 4, 2025, 4:36 a.m.