PAGFL: Joint Estimation of Latent Groups and Group-Specific Coefficients in (Time-Varying) Panel Data Models

Latent group structures are common in panel data. Ignoring differences between groups can introduce bias, while estimating separate coefficients for every cross-sectional unit can be imprecise. The package implements the pairwise adaptive group fused Lasso (PAGFL) of Mehrabani (2023) <doi:10.1016/j.jeconom.2022.12.002>, which estimates latent groups and their coefficients jointly. It also implements FUSE-TIME, the extension to time-varying coefficients by Haimerl et al. (2026) <doi:10.1093/ectj/utag034>.

Version: 1.2.1
Depends: R (≥ 3.5.0)
Imports: Rcpp, lifecycle, ggplot2, RcppParallel, RhpcBLASctl, splines
LinkingTo: Rcpp, RcppArmadillo, RcppParallel, RcppThread
Suggests: testthat (≥ 3.0.0)
Published: 2026-12-02
DOI: 10.32614/CRAN.package.PAGFL
Author: Paul Haimerl ORCID iD [aut, cre], Stephan Smeekes ORCID iD [ctb], Ines Wilms ORCID iD [ctb], Ali Mehrabani ORCID iD [ctb]
Maintainer: Paul Haimerl <paul.haimerl at econ.au.dk>
BugReports: https://github.com/Paul-Haimerl/PAGFL/issues
License: AGPL (≥ 3)
URL: https://github.com/Paul-Haimerl/PAGFL
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: PAGFL results

Documentation:

Reference manual: PAGFL.html , PAGFL.pdf

Downloads:

Package source: PAGFL_1.2.1.tar.gz
Windows binaries: r-devel: PAGFL_1.1.4.zip, r-release: PAGFL_1.1.4.zip, r-oldrel: PAGFL_1.1.4.zip
macOS binaries: r-release (arm64): PAGFL_1.2.1.tgz, r-oldrel (arm64): PAGFL_1.2.1.tgz, r-release (x86_64): PAGFL_1.2.1.tgz, r-oldrel (x86_64): PAGFL_1.2.1.tgz
Old sources: PAGFL archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=PAGFL to link to this page.