Package: PAGFL
Title: Joint Estimation of Latent Groups and Group-Specific
        Coefficients in (Time-Varying) Panel Data Models
Version: 1.2.0
Authors@R: c(
    person("Paul", "Haimerl", email = "paul.haimerl@econ.au.dk", role = c("aut","cre"), comment = c(ORCID = "0000-0003-3198-8317")),
    person("Stephan", "Smeekes", email = "s.smeekes@maastrichtuniversity.nl", role = "ctb", comment = c(ORCID = "0000-0002-0157-639X")),
    person("Ines", "Wilms", email = "i.wilms@maastrichtuniversity.nl", role = "ctb", comment = c(ORCID = "0000-0003-3269-4601")),
    person("Ali", "Mehrabani", email = "ali.mehrabani@ku.edu", role = "ctb", comment = c(ORCID = "0000-0002-1848-5582")))
Maintainer: Paul Haimerl <paul.haimerl@econ.au.dk>
Description: 
    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>.
Depends: R (>= 3.5.0)
License: AGPL (>= 3)
Encoding: UTF-8
LinkingTo: Rcpp, RcppArmadillo, RcppParallel, RcppThread
Imports: Rcpp, lifecycle, ggplot2, RcppParallel, RhpcBLASctl, splines
BugReports: https://github.com/Paul-Haimerl/PAGFL/issues
URL: https://github.com/Paul-Haimerl/PAGFL
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.1
NeedsCompilation: yes
Packaged: 2026-12-01 12:27:53 UTC; au772358
Author: Paul Haimerl [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-3198-8317>),
  Stephan Smeekes [ctb] (ORCID: <https://orcid.org/0000-0002-0157-639X>),
  Ines Wilms [ctb] (ORCID: <https://orcid.org/0000-0003-3269-4601>),
  Ali Mehrabani [ctb] (ORCID: <https://orcid.org/0000-0002-1848-5582>)
Repository: CRAN
Date/Publication: 2026-12-01 12:50:01 UTC
