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.22.0
Depends: R (≥ 3.6.0)
Imports: checkmate, data.table, generics, insight (≥ 0.20.3), 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, clarify, cjoint, cobalt, collapse, conflicted, countrycode, covr, crch, DALEXtra, DCchoice, dbarts, distributional, dfidx, dplyr, emmeans, equivalence, estimatr, fixest, flexsurv, fmeffects, fontquiver, Formula, future, future.apply, fwb, gam, gamlss, gamlss.dist, geepack, ggdist, ggokabeito, ggplot2, ggrepel, glmmTMB, glmtoolbox, glmx, haven, here, itsadug, ivreg, kableExtra, lme4, lmerTest, logistf, magrittr, MatchIt, MASS, mclogit, MCMCglmm, missRanger, mgcv, mice, miceadds, mlogit, mlr3verse, modelbased, modelsummary, nlme, nnet, numDeriv, nycflights13, optmatch, ordinal, parameters, parsnip, partykit, patchwork, pkgdown, phylolm, plm, polspline, poorman, posterior, pscl, purrr, quantreg, Rchoice, REndo, rcmdcheck, remotes, reticulate, rmarkdown, rms, robust, robustbase, robustlmm, rsample, rstanarm, rstantools, rstpm2, rsvg, sampleSelection, sandwich, scam, spelling, speedglm, survey, survival, svglite, systemfonts, tibble, tictoc, tidymodels, tidyr, tidyverse, tinysnapshot, tinytable (≥ 0.4.0), tinytest, titanic, truncreg, tsModel, withr, workflows, yaml, xgboost, testthat (≥ 3.0.0), altdoc
Enhances: knitr
Published: 2024-08-31
DOI: 10.32614/CRAN.package.marginaleffects
Author: Vincent Arel-Bundock ORCID iD [aut, cre, cph], 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
Citation: marginaleffects citation info
Materials: README NEWS
In views: CausalInference, Econometrics, MixedModels
CRAN checks: marginaleffects results

Documentation:

Reference manual: marginaleffects.pdf

Downloads:

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

Reverse dependencies:

Reverse imports: bsitar, clarify, etwfe, ggfixest, healthequal, mvgam
Reverse suggests: beeca, broom.helpers, catregs, DeclareDesign, 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.