maars: Tidy Inference under the 'Models as Approximations' Framework in R
Open accessAbstract
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.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Under standard assumptions, as N approaches infinity, Var(γj)^-1/2 (γj - γj) converges in distribution to N(0,1), where Var(γj)^1/2 is a consistent estimator of the White standard error.
“Under standard assumptions [Wooldridge, 2010], as N → ∞ we have Var(γ j ) -1/2 γj -γ j d → N (0, 1), where Var(γ j ) 1/2 is a consistent estimator of the White standard error of γe [Kuchibhotla et al., 2018, Fogliato et al., 2021].”
From Play Favorites: A Statistical Method to Measure Self-Bias in LLM-as-a-Judge (2025) · cites this paper as Fogliato et al., 2021
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Wickham, H., Averick, M., Bryan, J., Chang, W., McGowan, L., François, R., Grolemund, G., Hayes, A., Henry, L., Hester, J., et al. (2019) · Journal of Open Source Software · doi:10.21105/joss.01686 · Cited by 22,138 · see citing works
Fast and wild: Bootstrap inference in Stata using boottest
Roodman, D., Nielsen, M. Ø., MacKinnon, J. G., & Webb, M. D. (2019) · The Stata Journal: Promoting communications on statistics and Stata · doi:10.1177/1536867x19830877 · Cited by 1,007 · see citing works
Various Versatile Variances: An Object-Oriented Implementation of Clustered Covariances in R
Zeileis, A., Köll, S., & Graham, N. (2020) · Journal of Statistical Software · doi:10.18637/jss.v095.i01 · Cited by 703 · see citing works
Models as Approximations I: Consequences Illustrated with Linear Regression
Buja, A., Brown, L., Berk, R. A., George, E. I., Pitkin, E., Traskin, M., Zhang, K., & Zhao, L. H. (2019) · Statistical Science · doi:10.1214/18-sts693 · Cited by 103 · see citing works
Models as Approximations II: A Model-Free Theory of Parametric Regression
Buja, A., Brown, L., Kuchibhotla, A. K., Berk, R. A., George, E. I., & Zhao, L. H. (2019) · Statistical Science · doi:10.1214/18-sts694 · Cited by 48 · see citing works
Self-citationValid post-selection inference in model-free linear regression
Kuchibhotla, A. K., Brown, L. D., Buja, A., Cai, J., George, E. I., & Zhao, L. H. (2020) · The Annals of Statistics · doi:10.1214/19-aos1917 · Cited by 30 · see citing works
Self-citationModel-free Study of Ordinary Least Squares Linear Regression
Kuchibhotla, A. K., Brown, L. D., & Buja, A. (2018) · arXiv · doi:10.48550/arxiv.1809.10538 · Cited by 8 · see citing works
Self-citation
Flagged first, then by citations
Research works printed but not linked: 9
- John Fox and Sanford Weisberg. An R Companion to Applied Regression . Sage, Thousand Oaks CA, third edition, 2019.
- Peter J Huber. The behavior of maximum likelihood estimates under nonstandard conditions. In Proceedings of the fifth Berkeley symposium on mathematical statistics and probability , volume 1, pages 221-233. University of California Press, 1967.
- Dimitris N Politis and Joseph P Romano. Large sample confidence regions based on subsamples under minimal assumptions. The Annals of Statistics , pages 2031-2050, 1994.
- Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic learning in a random world . Springer, New York, 2005. ISBN 978-0387-00152-4; 0-387-00152-2.
- Halbert White. Maximum likelihood estimation of misspecified models. Econometrica: Journal of the econometric society , pages 1-25, 1982.
- Hadley Wickham. testthat: Get started with testing. The R Journal , 3:5-10, 2011.
- Hadley Wickham. Tidy data. The Journal of Statistical Software , 59, 2014. URL http://www. jstatsoft.org/v59/i10/ .
- Achim Zeileis. Econometric computing with HC and HAC covariance matrix estimators. Journal of Statistical Software , 11(10):1-17, 2004.
- Achim Zeileis and Torsten Hothorn. Diagnostic checking in regression relationships. R News , 2(3): 7-10, 2002. URL https://CRAN.R-project.org/doc/Rnews/ .
Cited by
Sorted by citations
Play Favorites: A Statistical Method to Measure Self-Bias in LLM-as-a-Judge
Spiliopoulou, E., Fogliato, R., Burnsky, H., Soliman, T., Ma, J., Horwood, G., & Ballesteros, M. (2025) · arXiv · doi:10.48550/arxiv.2508.06709
“Under standard assumptions [Wooldridge, 2010], as N → ∞ we have (cid:100) Var(ˆ γ j ) − 1 / 2 ˆ γ j − γ j d → N (0 , 1) , where (cid:100) Var(ˆ γ j ) 1 / 2 is a consistent estimator of the White standard error of ˆ γ e [Kuchibhotla et al., 2018, Fogliato et al., 2021].”
Self-citation
- Authors
- Fogliato, R., Shrotriya, S., & Kuchibhotla, A. K.
- Affiliations
- Carnegie Mellon University (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2021
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2106.11188
- OpenAlex
- W3173759275
- Cited by
- 0
- References
- 7
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Data Analysis with R
- Physical Sciences › Mathematics › Statistics and Probability › Advanced Statistical Methods and Models
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Inference
- Keywords
- model-free inference, ordinary least squares, model misspecification, robust variance estimation, sandwich estimator, multiplier bootstrap, residual bootstrap, subsampling, R package
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review