Package: PAGFL
Title: Joint Estimation of Latent Groups and Group-Specific
        Coefficients in (Time-Varying) Panel Data Models
Version: 1.1.4
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 a common challenge in panel data analysis. Disregarding group-level heterogeneity can introduce bias. Conversely, estimating individual coefficients for each cross-sectional unit is inefficient and may lead to high uncertainty.
    This package addresses the issue of unobservable group structures by implementing the pairwise adaptive group fused Lasso (PAGFL) by Mehrabani (2023) <doi:10.1016/j.jeconom.2022.12.002>. PAGFL identifies latent group structures and group-specific coefficients in a single step.    
    On top of that, we extend the PAGFL to time-varying coefficient functions (FUSE-TIME), following Haimerl et al. (2025) <doi:10.48550/arXiv.2503.23165>.
Depends: R (>= 3.5.0)
License: AGPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.2
LinkingTo: Rcpp, RcppArmadillo, RcppParallel, RcppThread
Imports: Rcpp, lifecycle, ggplot2, RcppParallel
BugReports: https://github.com/Paul-Haimerl/PAGFL/issues
URL: https://github.com/Paul-Haimerl/PAGFL
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2025-11-17 14:42:22 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: 2025-11-17 21:51:43 UTC
Built: R 4.5.2; x86_64-w64-mingw32; 2025-12-23 03:49:39 UTC; windows
Archs: x64
