Description Usage Arguments Details Author(s) References Examples

Provides the average marginal effects of a GLM model with
bootstrapped confidence intervals. Similar results would be obtained from using
`margins::margins()`

.

1 | ```
frames(model, ci_type = "perc", boot = 100, ci = 0.95)
``` |

`model` |
the model object |

`ci_type` |
the type of boostrapped confidence interval; options are "perc", "basic", "bca" |

`boot` |
the number of bootstrapped samples; default is 100 |

`ci` |
the confidence interval; the default is .975 which is the 95% confidence interval. |

Using the average marginal effects as discussed by Tamas Bartus (2005), the coefficients are transformed into probabilities (for binary outcomes) or remain in their original units (continuous outcomes).

Tyson S. Barrett

Bartus, T. (2005). Estimation of marginal effects using margeff. The Stata Journal, 5(3), 309–329. <https://EconPapers.repec.org/RePEc:tsj:stataj:v:5:y:2005:i:3:p:309-329>

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.