{
  "_id": "6a102f51acfb0bcc41c94d66",
  "Package": "PAGFL",
  "Title": "Joint Estimation of Latent Groups and Group-Specific\nCoefficients in (Time-Varying) Panel Data Models",
  "Version": "1.2.0",
  "Authors@R": "c(\nperson(\"Paul\", \"Haimerl\", email = \"paul.haimerl@econ.au.dk\", role = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0003-3198-8317\")),\nperson(\"Stephan\", \"Smeekes\", email = \"s.smeekes@maastrichtuniversity.nl\", role = \"ctb\", comment = c(ORCID = \"0000-0002-0157-639X\")),\nperson(\"Ines\", \"Wilms\", email = \"i.wilms@maastrichtuniversity.nl\", role = \"ctb\", comment = c(ORCID = \"0000-0003-3269-4601\")),\nperson(\"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\ndata analysis. Disregarding group-level heterogeneity can\nintroduce bias. Conversely, estimating individual coefficients\nfor each cross-sectional unit is inefficient and may lead to\nhigh uncertainty. This package addresses the issue of\nunobservable group structures by implementing the pairwise\nadaptive group fused Lasso (PAGFL) by Mehrabani (2023)\n<doi:10.1016/j.jeconom.2022.12.002>. PAGFL identifies latent\ngroup structures and group-specific coefficients in a single\nstep. On top of that, we extend the PAGFL to time-varying\ncoefficient functions (FUSE-TIME), following Haimerl et al.\n(2025) <doi:10.48550/arXiv.2503.23165>.",
  "License": "AGPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "BugReports": "https://github.com/Paul-Haimerl/PAGFL/issues",
  "URL": "https://github.com/Paul-Haimerl/PAGFL",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://paul-haimerl.r-universe.dev",
  "Date/Publication": "2026-05-12 11:58:44 UTC",
  "RemoteUrl": "https://github.com/paul-haimerl/pagfl",
  "RemoteRef": "HEAD",
  "RemoteSha": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-12 14:13:14 UTC",
    "User": "root"
  },
  "Author": "Paul Haimerl [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3198-8317>),\nStephan Smeekes [ctb] (ORCID: <https://orcid.org/0000-0002-0157-639X>),\nInes Wilms [ctb] (ORCID: <https://orcid.org/0000-0003-3269-4601>),\nAli Mehrabani [ctb] (ORCID: <https://orcid.org/0000-0002-1848-5582>)",
  "MD5sum": "a6c77e0326d005d4ba32063efbcb5723",
  "_user": "paul-haimerl",
  "_type": "src",
  "_file": "PAGFL_1.2.0.tar.gz",
  "_fileid": "a4217efa9165f5c07ef21b3895908b2ac7baf34eb61020a9e1466e212244e5de",
  "_filesize": 1200969,
  "_sha256": "a4217efa9165f5c07ef21b3895908b2ac7baf34eb61020a9e1466e212244e5de",
  "_created": "2026-05-12T14:13:14.000Z",
  "_published": "2026-05-22T10:26:25.732Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361430741,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946581095"
    },
    {
      "job": 77361430229,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946579895"
    },
    {
      "job": 77361430789,
      "time": 138,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946579103"
    },
    {
      "job": 77361430563,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946609541"
    },
    {
      "job": 77361430727,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946583852"
    },
    {
      "job": 77361430823,
      "time": 388,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946692395"
    },
    {
      "job": 77361430574,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946574648"
    },
    {
      "job": 77361430162,
      "time": 180,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946613607"
    },
    {
      "job": 77361429757,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946521489"
    },
    {
      "job": 77361429800,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158309422"
    },
    {
      "job": 77361430584,
      "time": 174,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946593327"
    },
    {
      "job": 77361430335,
      "time": 210,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946609199"
    },
    {
      "job": 77361430550,
      "time": 169,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946591370"
    }
  ],
  "_buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/paul-haimerl/pagfl",
  "_commit": {
    "id": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
    "author": "Paul-Haimerl <paul.haimerl@econ.au.dk>",
    "committer": "Paul-Haimerl <paul.haimerl@econ.au.dk>",
    "message": "deleted legacy test\n",
    "time": 1778587124
  },
  "_maintainer": {
    "name": "Paul Haimerl",
    "email": "paul.haimerl@econ.au.dk",
    "login": "paul-haimerl",
    "orcid": "0000-0003-3198-8317",
    "uuid": 85031171
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "paul-haimerl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 6
    },
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v1.1.4",
      "date": "2025-12-07"
    }
  ],
  "_topics": [
    "classification",
    "panel-data-model",
    "time-varying-coefficients",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "paul-haimerl",
      "count": 107,
      "uuid": 85031171
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 85031171,
    "type": "user",
    "name": "Paul Haimerl",
    "description": "PhD Fellow Econometrics"
  },
  "_downloads": {
    "count": 173,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PAGFL"
  },
  "_devurl": "https://github.com/paul-haimerl/pagfl",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PAGFL.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/paul-haimerl/pagfl",
  "_realowner": "paul-haimerl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-02-16"
    },
    {
      "version": "1.0.1",
      "date": "2024-02-17"
    },
    {
      "version": "1.1.0",
      "date": "2024-06-08"
    },
    {
      "version": "1.1.1",
      "date": "2024-07-23"
    },
    {
      "version": "1.1.2",
      "date": "2024-11-09"
    },
    {
      "version": "1.1.3",
      "date": "2025-02-20"
    },
    {
      "version": "1.1.4",
      "date": "2025-11-18"
    }
  ],
  "_exports": [
    "fuse_time",
    "grouped_plm",
    "grouped_tv_plm",
    "pagfl",
    "PAGFL",
    "sim_DGP",
    "sim_tv_DGP",
    "tv_pagfl"
  ],
  "_help": [
    {
      "page": "fuse_time",
      "title": "Fused Unobserved group Spline Estimation of TIME varying coefficients",
      "topics": [
        "coef.fusetime",
        "df.residual.fusetime",
        "fitted.fusetime",
        "formula.fusetime",
        "fuse_time",
        "print.fusetime",
        "residuals.fusetime",
        "summary.fusetime",
        "tv_pagfl"
      ]
    },
    {
      "page": "grouped_plm",
      "title": "Grouped Panel Data Model",
      "topics": [
        "coef.gplm",
        "df.residual.gplm",
        "fitted.gplm",
        "formula.gplm",
        "grouped_plm",
        "print.gplm",
        "residuals.gplm",
        "summary.gplm"
      ]
    },
    {
      "page": "grouped_tv_plm",
      "title": "Grouped Time-varying Panel Data Model",
      "topics": [
        "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"
      ]
    },
    {
      "page": "PAGFL",
      "title": "Pairwise Adaptive Group Fused Lasso",
      "topics": [
        "coef.pagfl",
        "df.residual.pagfl",
        "fitted.pagfl",
        "formula.pagfl",
        "PAGFL",
        "pagfl",
        "print.pagfl",
        "residuals.pagfl",
        "summary.pagfl"
      ]
    },
    {
      "page": "sim_DGP",
      "title": "Simulate a Panel With a Group Structure in the Slope Coefficients",
      "topics": [
        "sim_DGP"
      ]
    },
    {
      "page": "sim_tv_DGP",
      "title": "Simulate a Time-varying Panel With a Group Structure in the Slope Coefficients",
      "topics": [
        "sim_tv_DGP"
      ]
    }
  ],
  "_readme": "https://github.com/paul-haimerl/pagfl/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "RcppThread",
    "RhpcBLASctl",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 4.389166084364533,
  "_indexed": true,
  "_nocasepkg": "pagfl",
  "_universes": [
    "paul-haimerl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "dbbb0141d1b50ed008a1abb2653ab048cd86b7d54d28629636da47ac59c1ec5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "a59b1fcd649f8607f6d7b4fce1d5441dc2f799e48eff9a2370d32c9151dcda79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "16a06feeb03f40a035636e48ad94df92268373e8921ede0af73a2744fda7aaec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-12T14:16:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "a1a27ad38bbcfe8d79c6970a794231d10f1d01d5283db01ce70a2bee5d2c7dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:56.000Z",
      "arch": "aarch64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "31bf87b2b2f690ae25b474dc458eea8fbe69a145eafae542476c877ebb0f7793",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-12T14:18:44.000Z",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "009182bad14a99ed496ec87f5e4ceb12981e30539bf1de6a0d54d3ed349dc558",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:34.000Z",
      "arch": "aarch64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "40e03b522bf9cc48d9da88e0af1cca69920ed1a68ac2f57cdb196758ee8541d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-12T14:16:48.000Z",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "33c7208853a3e568dc17bfc505def13696c29687d6cebf2be35f99b70631bfaa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:21.000Z",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "505f6d4ef312dac1200e725a7c7629dc5ada9df133ba54223c63485b78dacb45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:20.000Z",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "aa423ced0bebfce9b1323878f99823550de2880e3b4e2df767f9c6c8481a0049",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-12T14:15:10.000Z",
      "arch": "x86_64",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "39ebc359212f1504606d8b4d634fe5ff3589b1d97c5100402202bab2d51a5fef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-05-22T10:25:54.000Z",
      "arch": "emscripten",
      "commit": "b2fd55eb0e063d395ac99b7da5580e7c0c713563",
      "fileid": "0e348d38b3c4b89928ebc5055cdd69d895b2a80cbffd46447cb0d17cffc94dba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/paul-haimerl/actions/runs/25739967338"
    }
  ]
}