compute_marginalAPCeffects {APCtools} | R Documentation |
Internal helper to compute marginal APC effects and their confidence intervals
Description
Internal helper function to add lower and upper confidence boundaries pointwise
Usage
compute_marginalAPCeffects(dat, model, variable, plot_CI = FALSE)
Arguments
dat |
Dataset containing predicted effects for a grid of all APC dimensions and covariates used in the model. |
model |
|
variable |
One of |
plot_CI |
Indicator if 95% confidence intervals for marginal APC effects should be computed. Defaults to FALSE. |
Details
If the model was estimated with a log or logit link, the function automatically performs an exponential transformation of the effect.
[Package APCtools version 1.0.8 Index]