{
  "_id": "6a1030b3acfb0bcc41c95cef",
  "Package": "Westerlund",
  "Type": "Package",
  "Title": "Panel Cointegration Tests Based on Westerlund (2007)",
  "Version": "0.1.3",
  "Authors@R": "c(\nperson(\n\"Bosco\", \"Hung\",\nemail = \"bosco.hung@st-annes.ox.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3073-303X\")\n)\n)",
  "Description": "Implements a functional approximation of the four panel\ncointegration tests developed by Westerlund (2007)\n<doi:10.1111/j.1468-0084.2007.00477.x>. The tests are based on\nstructural rather than residual dynamics and allow for\nheterogeneity in both the long-run cointegrating relationship\nand the short-run dynamics. The package includes logic for\nautomated lag and lead selection via AIC/BIC, Bartlett kernel\nlong-run variance estimation, and a bootstrap procedure to\nhandle cross-sectional dependence. It also includes a\nbootstrapping distribution visualization function for\ndiagnostic purposes.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/bosco-hung/WesterlundTest",
  "BugReports": "https://github.com/bosco-hung/WesterlundTest/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 09:26:41 UTC",
    "User": "root"
  },
  "Author": "Bosco Hung [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3073-303X>)",
  "Maintainer": "Bosco Hung <bosco.hung@st-annes.ox.ac.uk>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-12 15:00:15 UTC",
  "RemoteUrl": "https://github.com/cran/Westerlund",
  "RemoteRef": "HEAD",
  "RemoteSha": "2c94a7e0f598c3641312eb3e0b5fa3ce217c3fcc",
  "MD5sum": "3eebb0ef3baa546e8bb0521a69c001fe",
  "_user": "cran",
  "_type": "src",
  "_file": "Westerlund_0.1.3.tar.gz",
  "_fileid": "3b1ea7d291927f695d64b40f8b5d7e04d519d085a9f8d81d9b8085ef71d6f60f",
  "_filesize": 474287,
  "_sha256": "3b1ea7d291927f695d64b40f8b5d7e04d519d085a9f8d81d9b8085ef71d6f60f",
  "_created": "2026-05-12T09:26:41.000Z",
  "_published": "2026-05-22T10:32:19.518Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77362308264,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6940495357"
    },
    {
      "job": 77362308417,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940493253"
    },
    {
      "job": 77362307540,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6940443410"
    },
    {
      "job": 77362307448,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158412838"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25725501618",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/Westerlund",
  "_commit": {
    "id": "2c94a7e0f598c3641312eb3e0b5fa3ce217c3fcc",
    "author": "Bosco Hung <bosco.hung@st-annes.ox.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.3\n",
    "time": 1776006015
  },
  "_maintainer": {
    "name": "Bosco Hung",
    "email": "bosco.hung@st-annes.ox.ac.uk",
    "orcid": "0000-0003-3073-303X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-01-17"
    },
    {
      "name": "0.1.2",
      "date": "2026-02-07"
    },
    {
      "name": "0.1.3",
      "date": "2026-04-12"
    }
  ],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 579,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Westerlund"
  },
  "_devurl": "https://github.com/bosco-hung/westerlundtest",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/Westerlund.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bosco-hung/westerlundtest",
  "_realowner": "bosco-hung",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-01-17"
    },
    {
      "version": "0.1.2",
      "date": "2026-02-07"
    },
    {
      "version": "0.1.3",
      "date": "2026-04-12"
    }
  ],
  "_exports": [
    "calc_lrvar_bartlett",
    "DisplayWesterlund",
    "get_diff",
    "get_lag",
    "get_ts_val",
    "shiftNA",
    "westerlund_test",
    "westerlund_test_mg",
    "westerlund_test_reg",
    "WesterlundBootstrap",
    "WesterlundPlain"
  ],
  "_help": [
    {
      "page": "calc_lrvar_bartlett",
      "title": "Long-Run Variance Estimation with Bartlett Kernel",
      "topics": [
        "calc_lrvar_bartlett"
      ]
    },
    {
      "page": "DisplayWesterlund",
      "title": "Standardize and Display Westerlund ECM Panel Cointegration Test Results",
      "topics": [
        "DisplayWesterlund"
      ]
    },
    {
      "page": "get_diff",
      "title": "First Difference with Strict Time Indexing",
      "topics": [
        "get_diff"
      ]
    },
    {
      "page": "get_lag",
      "title": "Time-Indexed Lag Extraction with Explicit Gaps",
      "topics": [
        "get_lag"
      ]
    },
    {
      "page": "get_ts_val",
      "title": "Strict Time-Series Mapping with Explicit Gaps",
      "topics": [
        "get_ts_val"
      ]
    },
    {
      "page": "plot.westerlund_test",
      "title": "Plot Bootstrap Distributions for Westerlund ECM Panel Cointegration Tests",
      "topics": [
        "plot.westerlund_test"
      ]
    },
    {
      "page": "print.westerlund_test",
      "title": "Print Method for Westerlund ECM Panel Cointegration Tests",
      "topics": [
        "print.westerlund_test"
      ]
    },
    {
      "page": "shiftNA",
      "title": "NA-Padded Lag and Lead Operator",
      "topics": [
        "shiftNA"
      ]
    },
    {
      "page": "summary.westerlund_test",
      "title": "Summary Method for Westerlund ECM Panel Cointegration Tests",
      "topics": [
        "print.summary.westerlund_test",
        "summary.westerlund_test"
      ]
    },
    {
      "page": "westerlund_test",
      "title": "Westerlund ECM-Based Panel Cointegration Test",
      "topics": [
        "westerlund_test"
      ]
    },
    {
      "page": "westerlund_test_mg",
      "title": "Print Mean-Group ECM Output and Long-Run Relationship Tables",
      "topics": [
        "westerlund_test_mg"
      ]
    },
    {
      "page": "westerlund_test_reg",
      "title": "Formatted Coefficient Table for Westerlund Test Reporting",
      "topics": [
        "westerlund_test_reg"
      ]
    },
    {
      "page": "WesterlundBootstrap",
      "title": "Bootstrap Routine for Westerlund ECM Panel Cointegration Tests",
      "topics": [
        "WesterlundBootstrap"
      ]
    },
    {
      "page": "WesterlundPlain",
      "title": "Compute Raw Westerlund ECM Panel Cointegration Statistics (Plain Routine)",
      "topics": [
        "WesterlundPlain"
      ]
    }
  ],
  "_readme": "https://github.com/cran/Westerlund/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "my-vignette.Rmd",
      "filename": "my-vignette.html",
      "title": "Westerlund: Panel Cointegration Tests Based on Westerlund (2007)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The econometric model",
        "Hypothesis Testing Framework",
        "Code description",
        "Econometric Estimation Logic",
        "Unit-Level Estimation",
        "Long-Run Variance (HAC) Estimation",
        "Panel Statistics Construction",
        "Group Mean Statistics ($G$)",
        "Pooled Panel Statistics ($P$)",
        "Standardization and Display",
        "Bootstrap Inference",
        "Visualization",
        "Integration with the Other Packages",
        "Simple Implementation Examples",
        "Points to Note",
        "Randomization",
        "OLS Equations",
        "Floating Point Drifts",
        "Conclusion"
      ],
      "created": "2026-01-17 20:10:09",
      "modified": "2026-04-12 15:00:15",
      "commits": 3
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "westerlund",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://bosco-hung.r-universe.dev/Westerlund",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-12T09:29:03.000Z",
      "distro": "noble",
      "commit": "2c94a7e0f598c3641312eb3e0b5fa3ce217c3fcc",
      "fileid": "90bba639d315dcd4591429dc1c4760ff105d295fb60508f2cfbe4a3539c78b59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25725501618"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-12T09:28:57.000Z",
      "distro": "noble",
      "commit": "2c94a7e0f598c3641312eb3e0b5fa3ce217c3fcc",
      "fileid": "279e0a6f27b063b51de3f7899840710b289ec4b2dd7dd8d81e59a71152642bcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25725501618"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-22T10:32:01.000Z",
      "commit": "2c94a7e0f598c3641312eb3e0b5fa3ce217c3fcc",
      "fileid": "1615d2623b302e37f93e8b8ec359e274149c0d384042dc7a0f00cf239c70a750",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25725501618"
    }
  ]
}