arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.11188stat.MEstat.CO
收藏

maars:在R中的“模型作为近似”框架下的整洁推理

maars: Tidy Inference under the 'Models as Approximations' Framework in R

Riccardo Fogliato, Shamindra Shrotriya, Arun Kumar Kuchibhotla

摘要:

使用普通最小二乘(OLS)的线性回归是每个统计学家工具包的关键部分。在R中,这是通过lm()及其相关函数实现的。然而,这套函数的统计推断输出是基于模型被很好地指定的假设。这种假设往往是不切实际的,最多只能大致满足。在统计学和计量经济学文献中,这一点早已被认识到,大量的工作在更实际的假设下为OLS提供了推论。这可以被看作是无模型推理。在本文中,我们介绍了我们的包maars(“模型近似”),旨在通过全面的工作流程将无模型推理的研究引入R。maars包与其他也实现方差估计的包(如sandwich)有三个关键区别。首先,maars中的所有函数都遵循一致的语法,并以整洁的格式返回输出,与典型的lm()工作流的偏差最小。第二,maars包含了几种推理工具,包括经验、乘数、残差自举和子采样,以便于比较。第三,maars的发展考虑到了教育学。为此,它的大多数函数显式地返回输出有效的假设。这一关键创新使得maars在错误指定下的推理教学中非常有用,也是应用研究人员的有力工具。我们希望我们明确提出假设的默认特性将成为R中大多数统计建模的事实标准。

英文摘要:

Linear regression using ordinary least squares (OLS) is a critical part of every statistician's toolkit. In R, this is elegantly implemented via lm() and its related functions. However, the statistical inference output from this suite of functions is based on the assumption that the model is well specified. This assumption is often unrealistic and at best satisfied approximately. In the statistics and econometrics literature, this has long been recognized and a large body of work provides inference for OLS under more practical assumptions. This can be seen as model-free inference. In this paper, we introduce our package maars ("models as approximations") that aims at bringing research on model-free inference to R via a comprehensive workflow. The maars package differs from other packages that also implement variance estimation, such as sandwich, in three key ways. First, all functions in maars follow a consistent grammar and return output in tidy format, with minimal deviation from the typical lm() workflow. Second, maars contains several tools for inference including empirical, multiplier, residual bootstrap, and subsampling, for easy comparison. Third, maars is developed with pedagogy in mind. For this, most of its functions explicitly return the assumptions under which the output is valid. This key innovation makes maars useful in teaching inference under misspecification and also a powerful tool for applied researchers. We hope our default feature of explicitly presenting assumptions will become a de facto standard for most statistical modeling in R.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑