Skip to content

PAGFL

1.1.4Package record

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

0packages depend
2.8Kdownloads / year
96.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.4
  • Added references to new arXiv submission
  • Renamed tv_pagfl to fuse_time
  • Updated documentation
  • Slight cosmetic changes to figures
  • Added icon
  • Observations with NAs of irrelevant variables are no longer removed
  • Extended unit tests
  • Added R >= 3.5.0 dependency

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.4
READMEYes · 1,356 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.4Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
88%
Return-value docs
100%
Help pages citing references
83%

Downloads

2.8K
CRAN downloads in the past year
Rank #18,065 · ~8/day · ~230/mo
Daily download trend is not available in this view yet.
29230 days
70490 days
2.8K1 year
Compare downloads with other packages →
Also on359 r2u9 autocran

Repository

8Stars
3Forks
0Open issues
0Open PRs
7Releases
112Commits
4Commit identities
classificationpanel-data-modeltime-varying-coefficients
License file reads as AGPL-3.0 · 112 commits · Last activity 2026-05-12 · 0% stars, 30d · Default branch at 1.2.0, ahead of CRAN 1.1.4 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-26 · 62026-07-21 · 8
PracticesBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/paul-haimerl/pagfl on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows, and on R-devel

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing PAGFL adds 21 packages (11 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.

Depends (1)
R >= 3.5.0
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 1.0.0 (2024)
Contributor
Contributor · added in 1.1.0
Contributor · added in 1.1.0
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4Latest
    record
    2025-11-17 · current release · diff ↗ ·
    added 1 export
    fuse_time
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.3
    record
    2025-02-20 · diff ↗
  • 1.1.2
    record
    2024-11-09 · diff ↗
  • 1.1.1
    record
    2024-07-23 · diff ↗ ·
    added 2 exports
    grouped_plm, grouped_tv_plm
  • 1.1.0
    record
    2024-06-08 · diff ↗ ·
    added 3 exports
    pagfl, sim_tv_DGP, tv_pagfl
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.1
    record
    2024-02-17 · diff ↗
  • 1.0.0
    record
    2024-02-16
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-16
Total releases
7 / 2 yrs
License
AGPL (>= 3) OSI
Minimum R
≥ 3.5.0
Download size
849 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PAGFL")
Haimerl, P., Mehrabani, A., Smeekes, S., & Wilms, I. (2025). PAGFL: Joint Estimation of Latent Groups and Group-Specific Coefficients in (Time-Varying) Panel Data Models (Version 1.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.PAGFL

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PAGFL version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy