vincentarelbundock / marginaleffects

R package to compute and plot predictions, slopes, marginal means, and comparisons (contrasts, risk ratios, odds, etc.) for over 100 classes of statistical and ML models. Conduct linear and non-linear hypothesis tests, or equivalence tests. Calculate uncertainty estimates using the delta method, bootstrapping, or simulation-based inference
https://marginaleffects.com
Other
435 stars 45 forks source link

Simulating marginal treatment effects or estimands #1217

Open abduazizR opened 4 hours ago

abduazizR commented 4 hours ago

Hi

Thank you so much for the awesome package. I am wondering if it's possible to utilize marginaleffects either directly or indirectly to simulate a "true" marginal treatment effect or estimand that you can benchmark your estimators against. For conditional effects, it's relatively easier to simulate the true coefficients, but I think it's not the same for marginal effects, and Monte Carlo integration might be essential.

Any suggestions would be really helpful.

Thanks

vincentarelbundock commented 4 hours ago

No, I don't think so, unfortunately.