Package: PAGFL 1.2.0
PAGFL: Joint Estimation of Latent Groups and Group-Specific Coefficients in (Time-Varying) 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 (FUSE-TIME), following Haimerl et al. (2025) <doi:10.48550/arXiv.2503.23165>.
Authors:
PAGFL_1.2.0.tar.gz
PAGFL_1.2.0.zip(r-4.7)PAGFL_1.2.0.zip(r-4.6)PAGFL_1.2.0.zip(r-4.5)
PAGFL_1.2.0.tgz(r-4.6-x86_64)PAGFL_1.2.0.tgz(r-4.6-arm64)PAGFL_1.2.0.tgz(r-4.5-x86_64)PAGFL_1.2.0.tgz(r-4.5-arm64)
PAGFL_1.2.0.tar.gz(r-4.7-arm64)PAGFL_1.2.0.tar.gz(r-4.7-x86_64)PAGFL_1.2.0.tar.gz(r-4.6-arm64)PAGFL_1.2.0.tar.gz(r-4.6-x86_64)
PAGFL_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
PAGFL/json (API)
NEWS
| # Install 'PAGFL' in R: |
| install.packages('PAGFL', repos = c('https://paul-haimerl.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/paul-haimerl/pagfl/issues
classificationpanel-data-modeltime-varying-coefficientsopenblascppopenmp
Last updated from:b2fd55eb0e. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 141 | ||
| linux-devel-x86_64 | OK | 140 | ||
| source / vignettes | OK | 207 | ||
| linux-release-arm64 | OK | 138 | ||
| linux-release-x86_64 | OK | 198 | ||
| macos-release-arm64 | OK | 109 | ||
| macos-release-x86_64 | OK | 180 | ||
| macos-oldrel-arm64 | OK | 119 | ||
| macos-oldrel-x86_64 | OK | 388 | ||
| windows-devel | OK | 174 | ||
| windows-release | OK | 169 | ||
| windows-oldrel | OK | 210 | ||
| wasm-release | OK | 114 |
Exports:fuse_timegrouped_plmgrouped_tv_plmpagflPAGFLsim_DGPsim_tv_DGPtv_pagfl
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppArmadilloRcppParallelRcppThreadRhpcBLASctlrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Fused Unobserved group Spline Estimation of TIME varying coefficients | coef.fusetime df.residual.fusetime fitted.fusetime formula.fusetime fuse_time print.fusetime residuals.fusetime summary.fusetime tv_pagfl |
| Grouped Panel Data Model | coef.gplm df.residual.gplm fitted.gplm formula.gplm grouped_plm print.gplm residuals.gplm summary.gplm |
| Grouped Time-varying Panel Data Model | coef.tv_gplm df.residual.tv_gplm fitted.tv_gplm formula.tv_gplm grouped_tv_plm print.tv_gplm residuals.tv_gplm summary.tv_gplm |
| Pairwise Adaptive Group Fused Lasso | coef.pagfl df.residual.pagfl fitted.pagfl formula.pagfl PAGFL pagfl print.pagfl residuals.pagfl summary.pagfl |
| Simulate a Panel With a Group Structure in the Slope Coefficients | sim_DGP |
| Simulate a Time-varying Panel With a Group Structure in the Slope Coefficients | sim_tv_DGP |
