This paper presents version 3.0 of the wals command, which implements the weighted-average least squares estimator of Magnus et al. (2010, Journal of Econometrics 154, 139–153). Version 3.0 improves earlier versions of wals in several respects: a new syntax supporting factor variables, time-series operators, and weights; an enlarged set of prior distributions; extended quadrature methods for computing the posterior mean; new plug-in estimates of the sampling moments; simulation-based confidence intervals; and other options to control accuracy, computational speed, and output of wals. We also offer three new post-estimation commands: the predict command associated with wals; the lcwals command for estimating linear combinations of the parameters; and the margwals command for estimating smooth, possibly nonlinear, functions of the parameters at given values of regressors. Finally, we compare our new commands with two suites of Stata commands for tackling issues of model uncertainty.

Giuseppe De Luca, Jan R. Magnus (2025). Weighted-average least squares: Improvements and extensions. THE STATA JOURNAL.

Weighted-average least squares: Improvements and extensions

Giuseppe De Luca
Primo
Membro del Collaboration Group
;
2025-01-01

Abstract

This paper presents version 3.0 of the wals command, which implements the weighted-average least squares estimator of Magnus et al. (2010, Journal of Econometrics 154, 139–153). Version 3.0 improves earlier versions of wals in several respects: a new syntax supporting factor variables, time-series operators, and weights; an enlarged set of prior distributions; extended quadrature methods for computing the posterior mean; new plug-in estimates of the sampling moments; simulation-based confidence intervals; and other options to control accuracy, computational speed, and output of wals. We also offer three new post-estimation commands: the predict command associated with wals; the lcwals command for estimating linear combinations of the parameters; and the margwals command for estimating smooth, possibly nonlinear, functions of the parameters at given values of regressors. Finally, we compare our new commands with two suites of Stata commands for tackling issues of model uncertainty.
2025
Settore ECON-05/A - Econometria
Giuseppe De Luca, Jan R. Magnus (2025). Weighted-average least squares: Improvements and extensions. THE STATA JOURNAL.
File in questo prodotto:
File Dimensione Formato  
DeLuca_Magnus_2024a_v2.pdf

Solo gestori archvio

Descrizione: Articolo accettato
Tipologia: Versione Editoriale
Dimensione 606.6 kB
Formato Adobe PDF
606.6 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10447/674126
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact