arXiv Science⌕ Search

arXiv · 2611.14830

A Geometric Perspective for Marginal R2: Estimation and Inference in Generalized Linear Mixed Models

Abstract

Generalized linear mixed models (GLMMs) are widely used across scientific disciplines, yet quantifying response variation explained by auxiliary information remains challenging for non-Gaussian outcomes and hierarchical dependence. Existing $R^2$ measures provide useful summaries, but their variance-based constructions are not generally linked to a common geometric interpretation, a fixed-design marginal estimand, and corresponding statistical inference. We propose marginal quasi-$R^2$ through two distinct operations. First, marginalization integrates over latent random effects, retaining their uncertainty in the marginal response moments and specifying the model for explanatory assessment. Second, a Quasi-GLM formulation supplies a local working information metric under which orthogonal projection yields an Pythagorean decomposition of explained and unexplained variation. We define a fixed-design population estimand, establish consistency and asymptotic normality of its estimator, and derive cluster-robust sandwich standard errors and confidence intervals under stated regularity conditions. Simulations assess estimation accuracy and interval coverage across response families and random-effects structures. Two ecological applications illustrate the importance of reporting estimation uncertainty alongside marginal quasi-$R^2$. The method is implemented in the R package quasiR2.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hao Qin, Ayumi Mizuno, Kyle Morrison, Allison K. White, Shinichi Nakagawa. 2026-11-10. A Geometric Perspective for Marginal R2: Estimation and Inference in Generalized Linear Mixed Models. https://arxiv.science/abs/2611.14830

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Statistical Performance Guarantee for Subgroup Identification with Generic Machine Learning

Across a wide array of disciplines, many researchers use machine learning (ML) algorithms to identify a subgroup of individuals who are likely to benefit from a treatment the most (``exceptional responders'') or those who are harmed by it. A common approach to this subgroup identification problem consists of two steps. First, researchers estimate the conditional average treatment effect (CATE) using an ML algorithm. Next, they use the estimated CATE to select those individuals who are predicted to be most affected by the treatment, either positively or negatively. Unfortunately, CATE estimates are often biased and noisy. In addition, utilizing the same data to both identify a subgroup and estimate its group average treatment effect results in a multiple testing problem. To address these challenges, we develop uniform confidence bands for estimation of the group average treatment effect sorted by generic ML algorithm (GATES). Using these uniform confidence bands, researchers can identify, with a statistical guarantee, a subgroup whose GATES exceeds a certain effect size, regardless of how this effect size is chosen. The proposed methodology uses random treatment assignment, random sampling of units, and continuity and moment conditions, without requiring consistency or monotonicity of the ML score. We derive a Wiener representation of the estimation error, with corrections for the empirical subgroup threshold and the fixed treatment sample size. Estimating this representation gives asymptotically exact uniform coverage using Gaussian draws, without refitting the ML model. We also develop uniform bands for mean-adjusted treatment effects and other evaluation metrics. A simulation design and an application to a clinical trial of late-stage prostate cancer illustrate the subgroup identification problem.

stat.ME↗

Collaborative Optimal Design of Controlled Experiments with Subject Covariates

Modern experimental design problems often encounter multiple controlled experiments with subjects participating in more than one experiment. It is of interest to consider the optimal design of allocating subjects to treatment or control for these experiments especially when subject covariate information is available. In this work, we propose an optimal allocation method to enable accurate estimates of treatment effects for all experiments. Deriving the precision matrix of the treatment effects and using D-optimality as our allocation criterion, we demonstrate the advantage of collaboratively designing and analyzing multiple experiments over traditional independent design and analysis, and propose efficient algorithms to design construction of the D-optimality problem for collaborative experiments. The performance of the proposed methods is examined by simulation studies and a case study involving online education experimentation.

stat.ME↗

Parameter-Specific Bias Diagnostics in Random-Effects Panel Data Models

The Hausman specification test assesses the random-effects specification by comparing random-effects and fixed-effects estimators. This note uses the diagnostic of Karl and Zimmerman (2021) to give a coefficient-specific sensitivity summary from one fitted mixed model. The diagnostic measures alignment between fitted random effects and the weights used to estimate a coefficient or contrast. Its value need not equal finite-sample bias: fitted effects are shrunken, and response-dependent covariance estimates introduce an additional weighted-error term. We explain this distinction, describe simulations that refit the covariance parameters and retain the latent-effect and weighted-error contributions, and illustrate the calculations with gasoline-demand data and a multiple-membership value-added model. Connecting the diagnostic to established generalized least squares sensitivity analysis, including Vasnev's (2010) balanced-panel results, we identify it as the negative derivative of a coefficient or contrast with respect to the log scale of the random-effects covariance. With fitted covariance shapes held fixed, integrating the diagnostic over this log scale, upward from the fitted model, gives the random-effects estimate minus the fixed-effects estimate for a contrast estimable under both models. We also discuss conditioning on stochastic regressors and the additional assumptions needed for calibrated inference.

stat.ME↗