PreprintCited by 1Data Analysis with RAdvanced Statistical Methods and ModelsStatistical Methods and Inference

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

Open access
Fogliato, Riccardo, Shrotriya, Shamindra, Kuchibhotla, Arun Kumar·2021·arXiv

Abstract

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2106.11188

Cites

7 of 7 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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

Flagged first, then by citations

Research works printed but not linked: 9

  1. John Fox and Sanford Weisberg. An R Companion to Applied Regression . Sage, Thousand Oaks CA, third edition, 2019.
  2. 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.
  3. 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.
  4. 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.
  5. Halbert White. Maximum likelihood estimation of misspecified models. Econometrica: Journal of the econometric society , pages 1-25, 1982.
  6. Hadley Wickham. testthat: Get started with testing. The R Journal , 3:5-10, 2011.
  7. Hadley Wickham. Tidy data. The Journal of Statistical Software , 59, 2014. URL http://www. jstatsoft.org/v59/i10/ .
  8. Achim Zeileis. Econometric computing with HC and HAC covariance matrix estimators. Journal of Statistical Software , 11(10):1-17, 2004.
  9. 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)
OpenAlex
W3173759275
Cited by
0
References
7
Type
posted content
Language
en
Open access
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