Package: marginaleffects 0.23.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.
Authors:
marginaleffects_0.23.0.tar.gz
marginaleffects_0.23.0.zip(r-4.5)marginaleffects_0.23.0.zip(r-4.4)marginaleffects_0.23.0.zip(r-4.3)
marginaleffects_0.23.0.tgz(r-4.4-x86_64)marginaleffects_0.23.0.tgz(r-4.4-arm64)marginaleffects_0.23.0.tgz(r-4.3-x86_64)marginaleffects_0.23.0.tgz(r-4.3-arm64)
marginaleffects_0.23.0.tar.gz(r-4.5-noble)marginaleffects_0.23.0.tar.gz(r-4.4-noble)
marginaleffects_0.23.0.tgz(r-4.4-emscripten)marginaleffects_0.23.0.tgz(r-4.3-emscripten)
marginaleffects.pdf |marginaleffects.html✨
marginaleffects/json (API)
NEWS
# Install 'marginaleffects' in R: |
install.packages('marginaleffects', repos = c('https://vincentarelbundock.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vincentarelbundock/marginaleffects/issues
Last updated 8 days agofrom:3136c42793. Checks:OK: 6 NOTE: 3. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 05 2024 |
R-4.5-win-x86_64 | OK | Oct 05 2024 |
R-4.5-linux-x86_64 | OK | Oct 05 2024 |
R-4.4-win-x86_64 | OK | Oct 05 2024 |
R-4.4-mac-x86_64 | OK | Oct 05 2024 |
R-4.4-mac-aarch64 | OK | Oct 05 2024 |
R-4.3-win-x86_64 | NOTE | Oct 05 2024 |
R-4.3-mac-x86_64 | NOTE | Oct 05 2024 |
R-4.3-mac-aarch64 | NOTE | Oct 05 2024 |
Exports:avg_comparisonsavg_predictionsavg_slopescomparisonsdatagriddatagridcfdeltamethodexpect_marginsexpect_predictionsexpect_slopesget_coefget_group_namesget_model_matrixget_predictget_vcovglancehypothesesinferencesmarginal_meansmarginaleffectsmarginalmeansmeffectsplot_comparisonsplot_predictionsplot_slopesposterior_drawsposteriordrawspredictionsset_coefslopesspecify_hypothesistidy
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 |
(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 |
Extract Posterior Draws or Bootstrap Resamples from 'marginaleffects' Objects | posterior_draws |
Predictions | avg_predictions predictions |
Print 'marginaleffects' objects | print.marginaleffects |
Slopes (aka Partial derivatives, Marginal Effects, or Trends) | avg_slopes slopes |
(EXPERIMENTAL) This experimental function will soon be deprecated. Please supply a formula or function to the 'hypothesis' argument to conduct (group-wise) hypothesis tests. | specify_hypothesis |