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
[aut, cre],
Stephan Smeekes
[ctb],
Ines Wilms [ctb],
Ali Mehrabani
[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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=PAGFL
to link to this page.