Skip to content

WALS

Weighted-Average Least Squares Model Averaging

v0.2.6 · Jul 13, 2025 · GPL-2 | GPL-3

Description

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>.

Downloads

CRAN

209

Last 30 days

21436th

551

Last 90 days

2.2K

Last year

Trend: +50.4% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

23

Last 90 days

108

Last year

Trend: -35.7% (30d vs prior 30d)

autoCRAN

3

Last 7 days

13

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘WALS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: controlGLM
> ### Title: Control function for initial GLM fit
> ### Aliases: controlGLM
> 
> ### ** Examples
> 
> data("HMDA", package = "AER")
Error in find.package(package, lib.loc, verbose = verbose) : 
  there is no package called ‘AER’
Calls: data -> find.package
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies Formula MASS Rdpack(>= 2.1.3) WALS

Version History

5 tracked
new 0.2.6 Mar 10, 2026
updated 0.2.6 ← 0.2.5 diff Jul 13, 2025
updated 0.2.5 ← 0.2.4 diff Jun 20, 2024
updated 0.2.4 ← 0.2.3 diff Nov 2, 2023
new 0.2.3 Sep 21, 2023