The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

varGuid: Variance-Guided Regression Improving Upon OLS and ANOVA

Fits variance-guided linear regression models that provide an alternative to ordinary least squares (OLS) for general linear-model design matrices, including ANOVA-style encodings. The methods use an iteratively reweighted least squares estimator or an iteratively reweighted lasso estimator and implement the global linear mean-variance model from the associated 2026 Statistics in Medicine article <doi:10.1002/sim.70632>. Under the assumptions in that paper, the estimator matches the homoscedastic baseline in population predictive quasi-risk when variance is constant and improves on it when the variance depends on covariates. The grouping-based nonlinear prediction extension from Section 3 is available in the development version on GitHub.

Version: 0.1.5
Depends: R (≥ 3.5.0)
Imports: glmnet, lmtest, sandwich
Published: 2026-06-18
DOI: 10.32614/CRAN.package.varGuid
Author: Sibei Liu [aut], Min Lu [aut, cre]
Maintainer: Min Lu <luminwin at gmail.com>
BugReports: https://github.com/luminwin/varGuid/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/luminwin/varGuid
NeedsCompilation: no
Citation: varGuid citation info
Materials: README
CRAN checks: varGuid results

Documentation:

Reference manual: varGuid.html , varGuid.pdf

Downloads:

Package source: varGuid_0.1.5.tar.gz
Windows binaries: r-devel: varGuid_0.1.5.zip, r-release: varGuid_0.1.5.zip, r-oldrel: varGuid_0.1.5.zip
macOS binaries: r-release (arm64): varGuid_0.1.5.tgz, r-oldrel (arm64): varGuid_0.1.5.tgz, r-release (x86_64): varGuid_0.1.5.tgz, r-oldrel (x86_64): varGuid_0.1.5.tgz
Old sources: varGuid archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=varGuid to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.