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

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.

Getting started

Package details

AuthorPaul Haimerl [aut, cre] (<https://orcid.org/0000-0003-3198-8317>), Stephan Smeekes [ctb] (<https://orcid.org/0000-0002-0157-639X>), Ines Wilms [ctb] (<https://orcid.org/0000-0003-3269-4601>), Ali Mehrabani [ctb] (<https://orcid.org/0000-0002-1848-5582>)
MaintainerPaul Haimerl <paul.haimerl@econ.au.dk>
LicenseAGPL (>= 3)
Version1.1.3
URL https://github.com/Paul-Haimerl/PAGFL
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("PAGFL")

Try the PAGFL package in your browser

Any scripts or data that you put into this service are public.

PAGFL documentation built on April 3, 2025, 7:25 p.m.