Skip to content

Weighted-Average Least Squares Model Averaging

0packages depend
2.3Kdownloads / year
75.2%test coverage
13/13flavors OK

Overview

About

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: 3.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.6
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · does not mention 0.2.6Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

2.3K
CRAN downloads in the past year
Rank #15,828 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
38030 days
78790 days
2.3K1 year
Compare downloads with other packages →
Also on72 r2u5 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
260Commits
1Commit identities
260 commits · Last activity 2025-07-11 · 0% stars, 30d
Responsiveness
How these are sampled
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

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

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

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.

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.

Datasets

People & History

People (1)
Author, Maintainer since 0.2.3 (2023)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.6Latest
    record
    2025-07-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.5
    record
    2024-06-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.4
    record
    2023-11-03 · diff ↗ ·
    added 1 export
    controlGLM
  • 0.2.3
    record
    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

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.

APA

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

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.

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