Skip to content

WALS

0.2.6

Weighted-Average Least Squares Model Averaging

0packages depend
2Kdownloads / year
75.2%test coverage
13/13checks pass

Overview

About
Maintained by Kevin HuynhFirst published 2023-09-224 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 1.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.15
75.2%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
94%
Return-value docs
100%
References docs
79%

Downloads

2K
CRAN downloads in the past year
Rank #20,877 · ~5/day · ~167/mo
Daily download trend is not available in this view yet.
14130 days
52790 days
2K1 year
Compare downloads with other packages →
Also on100 r2u20 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
260Commits
1Contributors
260 commits · Last activity 2025-07-11

Stars over time

2024-02-17 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/kevhuy/wals on 2026-08-16.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (5)
FormulaMASSmethodsRdpack(>= 2.1.3)stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.6Latest
    2025-07-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.5
    2024-06-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.4
    2023-11-03 · diff ↗
  • 0.2.3
    2023-09-22
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("WALS")
Huynh, K. (2025). WALS: Weighted-Average Least Squares Model Averaging (Version 0.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.WALS

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for WALS version 0.2.6 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy