Package: marginaleffects 0.24.0
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>.
Authors:
marginaleffects_0.24.0.tar.gz
marginaleffects_0.24.0.tar.gz(r-4.5-noble)marginaleffects_0.24.0.tar.gz(r-4.4-noble)
marginaleffects_0.24.0.tgz(r-4.4-emscripten)marginaleffects_0.24.0.tgz(r-4.3-emscripten)
marginaleffects.pdf |marginaleffects.html✨
marginaleffects/json (API)
NEWS
# Install 'marginaleffects' in R: |
install.packages('marginaleffects', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vincentarelbundock/marginaleffects/issues
Last updated 1 days agofrom:d20c6c54ce. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 25 2024 |
R-4.5-linux-x86_64 | OK | Nov 25 2024 |
Exports:avg_comparisonsavg_predictionsavg_slopescomparisonsdatagriddatagridcfdeltamethodexpect_marginsexpect_predictionsexpect_slopesget_coefget_drawsget_group_namesget_model_matrixget_predictget_vcovglancehypothesesinferencesmarginal_meansmarginaleffectsmarginalmeansmeffectsplot_comparisonsplot_predictionsplot_slopesposterior_drawspredictionsset_coefslopestidy
Dependencies:backportscheckmatedata.tablegenericsinsightRcppRcppEigenrlang
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Comparisons Between Predictions Made With Different Regressor Values | avg_comparisons comparisons |
Data grids | datagrid |
Extract Posterior Draws or Bootstrap Resamples from 'marginaleffects' Objects | get_draws |
(Non-)Linear Tests for Null Hypotheses, Joint Hypotheses, Equivalence, Non Superiority, and Non Inferiority | hypotheses |
(EXPERIMENTAL) Bootstrap, Conformal, and Simulation-Based Inference | inferences |
Plot Conditional or Marginal Comparisons | plot_comparisons |
Plot Conditional or Marginal Predictions | plot_predictions |
Plot Conditional or Marginal Slopes | plot_slopes |
Predictions | avg_predictions predictions |
Print 'marginaleffects' objects | print.marginaleffects |
Slopes (aka Partial derivatives, Marginal Effects, or Trends) | avg_slopes slopes |