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.

Version: 0.18.0
Depends: R (≥ 3.6.0)
Imports: checkmate, data.table, generics, insight (≥ 0.19.7), methods, rlang, Rcpp (≥ 1.0.0)
LinkingTo: Rcpp, RcppEigen
Suggests: AER, Amelia, afex, aod, bench, betareg, BH, bife, biglm, blme, boot, brglm2, brms, brmsmargins, broom, car, carData, causaldata, collapse, conflicted, countrycode, covr, crch, DALEXtra, DCchoice, dbarts, distributional, dplyr, emmeans, equivalence, estimatr, fixest, fmeffects, fontquiver, future, fwb, gam, gamlss, gamlss.dist, geepack, ggdag, ggdist, ggokabeito, ggplot2, ggrepel, glmmTMB, glmx, haven, here, itsadug, ivreg, kableExtra, knitr, lme4, lmerTest, logistf, magrittr, margins, MatchIt, MASS, mclogit, MCMCglmm, missRanger, mgcv, mhurdle, mice, miceadds, mlogit, mlr3verse, modelbased, modelsummary, nlme, nnet, numDeriv, optmatch, ordinal, parameters, parsnip, partykit, patchwork, pkgdown, phylolm, plm, polspline, poorman, posterior, prediction, pscl, purrr, quantreg, Rchoice, rcmdcheck, remotes, rmarkdown, rms, robust, robustbase, robustlmm, rsample, rstanarm, rstantools, rsvg, sampleSelection, sandwich, scam, spelling, speedglm, survey, survival, svglite, systemfonts, tibble, tidymodels, tidyr, tidyverse, tinysnapshot, tinytest, titanic, truncreg, tsModel, withr, workflows, yaml, xgboost, testthat (≥ 3.0.0), altdoc
Published: 2024-02-05
Author: Vincent Arel-Bundock ORCID iD [aut, cre, cph], Marcio Augusto Diniz ORCID iD [ctb], Noah Greifer ORCID iD [ctb], Etienne Bacher ORCID iD [ctb]
Maintainer: Vincent Arel-Bundock <vincent.arel-bundock at umontreal.ca>
BugReports: https://github.com/vincentarelbundock/marginaleffects/issues
License: GPL (≥ 3)
Copyright: inst/COPYRIGHTS
marginaleffects copyright details
URL: https://marginaleffects.com/
NeedsCompilation: yes
Language: en-US
Materials: README NEWS
In views: CausalInference, Econometrics, MixedModels
CRAN checks: marginaleffects results

Documentation:

Reference manual: marginaleffects.pdf

Downloads:

Package source: marginaleffects_0.18.0.tar.gz
Windows binaries: r-devel: marginaleffects_0.18.0.zip, r-release: marginaleffects_0.18.0.zip, r-oldrel: marginaleffects_0.18.0.zip
macOS binaries: r-release (arm64): marginaleffects_0.18.0.tgz, r-oldrel (arm64): marginaleffects_0.18.0.tgz, r-release (x86_64): marginaleffects_0.18.0.tgz
Old sources: marginaleffects archive

Reverse dependencies:

Reverse imports: bsitar, clarify, etwfe, ggfixest
Reverse suggests: broom.helpers, ggeffects, insight, lmw, MatchIt, modelbased, modelsummary, ordbetareg, parameters, tinytable, WeightIt

Linking:

Please use the canonical form https://CRAN.R-project.org/package=marginaleffects to link to this page.