Marginal Effects, Marginal Means, Predictions, and Contrasts


[Up] [Top]

Documentation for package ‘marginaleffects’ version 0.6.0

Help Pages

comparisons Contrasts Between Adjusted Predictions
datagrid Generate a data grid of "typical," "counterfactual," or user-specified values for use in the 'newdata' argument of the 'marginaleffects' or 'predictions' functions.
deltamethod Estimate and Standard Error of a Non-Linear Function of Estimated Model Parameters
glance.marginaleffects Glance at key characteristics of an object
marginaleffects Marginal Effects (Slopes)
marginalmeans Marginal Means
plot.marginaleffects Point-range plot of average marginal effects
plot_cap Plot Conditional Adjusted Predictions
plot_cco Plot Conditional Contrasts
plot_cme Plot Conditional Marginal Effects
posteriordraws Extract posterior draws from a 'predictions', 'comparisons', or 'marginaleffects' object derived from Bayesian models.
predictions Adjusted Predictions Outcome predicted by a fitted model on a specified scale for a given combination of values of the predictor variables, such as their observed values, their means, or factor levels (a.k.a. "reference grid"). The 'tidy()' and 'summary()' functions can be used to aggregate the output of 'predictions()'. To learn more, read the predictions vignette, visit the package website, or scroll down this page for a full list of vignettes: • <URL: https://vincentarelbundock.github.io/marginaleffects/articles/predictions.html> • <URL: https://vincentarelbundock.github.io/marginaleffects/>
summary.comparisons Summarize a 'comparisons' object
summary.marginaleffects Summarize a 'marginaleffects' object
summary.marginalmeans Summarize a 'marginalmeans' object
summary.predictions Summarize a 'predictions' object
tidy.comparisons Tidy a 'comparisons' object
tidy.deltamethod Tidy a 'deltamethod' object
tidy.marginaleffects Tidy a 'marginaleffects' object
tidy.marginalmeans Tidy a 'marginalmeans' object
tidy.predictions Tidy a 'predictions' object