EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

varGuid: R and Python Implementations of Variance-Guided Regression for Robust Effect-Size Estimation in Linear Models

Sibei Liu iD, Zihao Wang iD, Min Lu iD

Applied Psychological Measurement · 15.07.2026

DOI: 10.1177/01466216261470433 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Applied Psychological Measurement, online erschienen am 15.07.2026. Verfasst von Sibei Liu und 2 weiteren Autor:innen. Beteiligte Einrichtung: Division of Biostatistics, Department of Public Health Sciences, University of Miami Miller School of Medicine, Miami, FL, USA. Die Arbeit nennt 5 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: 2023 Relief Funding Award from the Office of the Vice Provost for Research and Scholarship and the Office of Faculty Affairs, University of Miami, National Institute of General Medical Sciences of the National Institutes of Health, National Heart, Lung, and Blood Institute of the National Institutes of Health.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Linear regression and analysis of variance are widely used in applied psychological measurement to estimate group, condition, and covariate effects, yet statistical efficiency and conventional inference can be compromised when outcome variance changes across groups or covariate levels. This article introduces varGuid for R and varguid for Python, open-source implementations of variance-guided regression for linear models. The method estimates a covariate-dependent mean-variance relationship and uses it to iteratively reweight the original mean model. Ordinary analyses use iteratively reweighted least squares, whereas sparse analyses use an iteratively reweighted lasso. Because the original design matrix and outcome scale are retained, regression coefficients and ANOVA contrasts remain directly comparable with conventional effect estimates. Robustness here refers to relaxation of the homoscedasticity assumption rather than resistance to outliers. Under the conditions established for variance-guided regression, the estimator matches the homoscedastic baseline in population predictive quasi-risk when variance is constant and improves on that baseline when variance depends on covariates. The packages accept general linear-model design matrices, including ANOVA-style encodings, and provide baseline and variance-guided predictions, example data, and heteroscedasticity-consistent summaries for non-lasso fits. The Python implementation also supports NumPy and pandas inputs, Patsy formulas, model summaries, and a scikit-learn-compatible estimator. Both implementations are operating-system independent and require no unusual hardware. Source code, documentation, examples, and installable files are available through CRAN, PyPI, GitHub, and Zenodo. The packages provide accessible tools for applying variance-guided regression as a primary or companion analysis when homogeneity of variance is uncertain in routine measurement research and related quantitative applications.

Schlagwörter

Stichwörter der Autor:innen

analysis of varianceeffect-size estimationheteroscedasticitylinear regressionopen-source softwareweighted least squares

Autor:innen und Institutionen

  • Division of Biostatistics, Department of Public Health Sciences, University of Miami Miller School of Medicine, Miami, FL, USA.

ORCID-Profile: Sibei Liu, Zihao Wang, Min Lu

Förderung

  • 2023 Relief Funding Award from the Office of the Vice Provost for Research and Scholarship and the Office of Faculty Affairs, University of Miami
  • National Institute of General Medical Sciences of the National Institutes of Health
  • National Heart, Lung, and Blood Institute of the National Institutes of Health

Zitieren

APA

Liu, S., Wang, Z., & Lu, M. (2026). varGuid: R and Python Implementations of Variance-Guided Regression for Robust Effect-Size Estimation in Linear Models. Applied Psychological Measurement. https://doi.org/10.1177/01466216261470433

Vancouver

Liu S, Wang Z, Lu M. varGuid: R and Python Implementations of Variance-Guided Regression for Robust Effect-Size Estimation in Linear Models. Applied Psychological Measurement. 2026. doi:10.1177/01466216261470433

BibTeX
@article{Liu2026,
  author = {Liu, Sibei and Wang, Zihao and Lu, Min},
  title = {varGuid: R and Python Implementations of Variance-Guided Regression for Robust Effect-Size Estimation in Linear Models},
  journal = {Applied Psychological Measurement},
  year = {2026},
  doi = {10.1177/01466216261470433}
}
Kostenlos starten →