Weighted-Average Least Squares Model Averaging
Overview
Implements Weighted-Average Least Squares model averaging for negative binomial regression models of Huynh (2024) doi:10.48550/arXiv.2404.11324, generalized linear models of De Luca, Magnus, Peracchi (2018) doi:10.1016/j.jeconom.2017.12.007 and linear regression models of Magnus, Powell, Pruefer (2010) doi:10.1016/j.jeconom.2009.07.004, see also Magnus, De Luca (2016) doi:10.1111/joes.12094. Weighted-Average Least Squares for the linear regression model is based on the original 'MATLAB' code by Magnus and De Luca https://www.janmagnus.nl/items/WALS.pdf, see also Kumar, Magnus (2013) doi:10.1007/s13571-013-0060-9 and De Luca, Magnus (2011) doi:10.1177/1536867X1201100402.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 33
- Examples that run
- 100%16 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 94%
- Return-value docs
- 100%
- Help pages citing references
- 79% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Issues over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/kevhuy/wals on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing WALS adds 3 packages (1 with compiled code, 1.5 MB of source tarballs). Heaviest: rbibutils 1.1 MB, Rdpack 370 KB, Formula 46 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.6Latest
- RR 4.5.0 released · 2025-04-11
- 0.2.52024-06-21 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.4
- 0.2.32023-09-22
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-09-22
- Total releases
- 4 / 3 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 6.6 KB / 2 files
- Download size
- 232 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("WALS")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.48550/arxiv.2404.11324.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.