跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 计算

arXiv:2601.07065 (stat)
[提交于 2026年1月11日]

标题:FormulaCompiler.jl and Margins.jl: Efficient Marginal Effects in Julia

作者:Eric Feltham
查看论文《FormulaCompiler.jl and Margins.jl: Efficient Marginal Effects in Julia》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Marginal effects analysis is fundamental to interpreting statistical models, yet existing implementations face computational constraints that limit analysis at scale. We introduce two Julia packages that address this gap. Margins.jl provides a clean two-function API organizing analysis around a 2-by-2 framework: evaluation context (population vs profile) by analytical target (effects vs predictions). The package supports interaction analysis through second differences, elasticity measures, categorical mixtures for representative profiles, and robust standard errors. FormulaCompiler.jl provides the computational foundation, transforming statistical formulas into zero-allocation, type-specialized evaluators that enable O(p) per-row computation independent of dataset size. Together, these packages achieve 622x average speedup and 460x memory reduction compared to R's marginaleffects package, with successful computation of average marginal effects and delta-method standard errors on 500,000 observations where R fails due to memory exhaustion, providing the first comprehensive and efficient marginal effects implementation for Julia's statistical ecosystem.
评论: 25 pages, 4 figures, 8 tables
主题: 计算 (stat.CO)
引用方式: arXiv:2601.07065 [stat.CO]
  (或者 arXiv:2601.07065v1 [stat.CO] 对于此版本)
  https://doi.org/10.48550/arXiv.2601.07065

提交历史

来自:Eric Feltham
[v1] 2026年1月11日 星期日 21:16:16 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.CO
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-01
切换浏览方式为:
stat

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站