{
  "_id": "6a23c121530b9bc726bdbf6c",
  "Package": "PSTR",
  "Type": "Package",
  "Title": "Panel Smooth Transition Regression Modelling",
  "Version": "2.1.0",
  "Authors@R": "person(given=\"Yukai\",family=\"Yang\",email=\"yukai.yang@statistik.uu.se\",role=c(\"aut\", \"cre\"),comment=c(ORCID=\"0000-0002-2623-8549\"))",
  "Description": "Implements the Panel Smooth Transition Regression (PSTR)\nframework for nonlinear panel data modelling. The modelling\nprocedure consists of three stages: Specification, Estimation\nand Evaluation. The package provides tools for model\nspecification testing, to do PSTR model estimation, and to do\nmodel evaluation. The implemented tests allow for cluster\ndependence and are heteroskedasticity-consistent. The wild\nbootstrap and wild cluster bootstrap tests are also\nimplemented. Parallel computation (optional) is supported for\ncomputationally intensive routines such as bootstrap tests.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/yukai-yang/PSTR",
  "BugReports": "https://github.com/yukai-yang/PSTR/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://yukai-yang.r-universe.dev",
  "Date/Publication": "2026-03-08 22:33:13 UTC",
  "RemoteUrl": "https://github.com/yukai-yang/pstr",
  "RemoteRef": "HEAD",
  "RemoteSha": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 06:33:58 UTC",
    "User": "root"
  },
  "Author": "Yukai Yang [aut, cre] (ORCID: <https://orcid.org/0000-0002-2623-8549>)",
  "Maintainer": "Yukai Yang <yukai.yang@statistik.uu.se>",
  "MD5sum": "2d4f26a673daae88b1802d57514584e4",
  "_user": "yukai-yang",
  "_type": "src",
  "_file": "PSTR_2.1.0.tar.gz",
  "_fileid": "d48817de3c860888a38fd70456093c1ffdff98d260e28f05fbfe3aeceaa24f75",
  "_filesize": 738076,
  "_sha256": "d48817de3c860888a38fd70456093c1ffdff98d260e28f05fbfe3aeceaa24f75",
  "_created": "2026-06-06T06:33:58.000Z",
  "_published": "2026-06-06T06:41:37.909Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79857942455,
      "time": 226,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452047246"
    },
    {
      "job": 79857942442,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452047359"
    },
    {
      "job": 79857942450,
      "time": 424,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452066975"
    },
    {
      "job": 79857942449,
      "time": 395,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452063705"
    },
    {
      "job": 79857612374,
      "time": 340,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452020628"
    },
    {
      "job": 79857942452,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452035593"
    },
    {
      "job": 79857942459,
      "time": 420,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452069495"
    },
    {
      "job": 79857942465,
      "time": 373,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452063916"
    },
    {
      "job": 79857942462,
      "time": 415,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452068794"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yukai-yang/pstr",
  "_commit": {
    "id": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
    "author": "Yukai Yang <yukai.yang@gmail.com>",
    "committer": "Yukai Yang <yukai.yang@gmail.com>",
    "message": "empirical application PSTR paper\n",
    "time": 1773009193
  },
  "_maintainer": {
    "name": "Yukai Yang",
    "email": "yukai.yang@statistik.uu.se",
    "login": "yukai-yang",
    "orcid": "0000-0002-2623-8549",
    "description": "臨 兵 闘 者 皆 陣 烈 在 前",
    "uuid": 7555828
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "yukai-yang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 69
    },
    {
      "week": "2026-09",
      "n": 17
    },
    {
      "week": "2026-10",
      "n": 27
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-02-28"
    },
    {
      "name": "v2.1.0",
      "date": "2026-03-08"
    }
  ],
  "_topics": [
    "bootstrap",
    "bootstrap-test",
    "evaluation",
    "heterogeneity",
    "linearity",
    "model-specifition",
    "modelling",
    "nonlinearity",
    "panel-data",
    "parallel-computing",
    "pstr-model",
    "regression",
    "smooth-transition",
    "transition-variables",
    "wild-bootstrap",
    "wild-cluster-bootstrap"
  ],
  "_stars": 23,
  "_contributors": [
    {
      "user": "yukai-yang",
      "count": 244,
      "uuid": 7555828
    },
    {
      "user": "wenjingwang",
      "count": 1,
      "uuid": 20100385
    }
  ],
  "_userbio": {
    "uuid": 7555828,
    "type": "user",
    "name": "Yukai Yang",
    "description": "臨 兵 闘 者 皆 陣 烈 在 前"
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PSTR"
  },
  "_devurl": "https://github.com/yukai-yang/pstr",
  "_searchresults": 33,
  "_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/PSTR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yukai-yang/pstr",
  "_realowner": "yukai-yang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2017-09-13"
    },
    {
      "version": "1.1.0",
      "date": "2017-09-25"
    },
    {
      "version": "1.2.1",
      "date": "2018-06-01"
    },
    {
      "version": "1.2.3",
      "date": "2018-12-09"
    },
    {
      "version": "1.2.4",
      "date": "2019-06-03"
    },
    {
      "version": "2.0.0",
      "date": "2026-02-27"
    }
  ],
  "_exports": [
    "EstPSTR",
    "EvalTest",
    "LinTest",
    "NewPSTR",
    "plot_coefficients",
    "plot_response",
    "plot_target",
    "plot_transition",
    "version",
    "WCB_HETest",
    "WCB_LinTest",
    "WCB_TVTest"
  ],
  "_datasets": [
    {
      "name": "Hansen99",
      "title": "A balanced panel of 565 US firms observed for the years 1973–1987",
      "object": "Hansen99",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "cusip",
        "year",
        "inva",
        "dt_75",
        "dt_76",
        "dt_77",
        "dt_78",
        "dt_79",
        "dt_80",
        "dt_81",
        "dt_82",
        "dt_83",
        "dt_84",
        "dt_85",
        "dt_86",
        "dt_87",
        "vala",
        "debta",
        "cfa",
        "sales"
      ],
      "rows": 7840,
      "table": true,
      "tojson": true
    },
    {
      "name": "sunspot",
      "title": "Transformed Wolf annual sunspot numbers for the years 1710-1979",
      "object": "sunspot",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "spot_0",
        "spot_1",
        "spot_2",
        "spot_3",
        "spot_4",
        "spot_5",
        "spot_6",
        "spot_7",
        "spot_8",
        "spot_9",
        "spot_10"
      ],
      "rows": 270,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "EstPSTR",
      "title": "Estimate a PSTR model by nonlinear least squares",
      "topics": [
        "EstPSTR"
      ]
    },
    {
      "page": "EvalTest",
      "title": "Evaluate an estimated PSTR model",
      "topics": [
        "EvalTest",
        "WCB_HETest",
        "WCB_TVTest"
      ]
    },
    {
      "page": "Hansen99",
      "title": "A balanced panel of 565 US firms observed for the years 1973–1987",
      "topics": [
        "Hansen99"
      ]
    },
    {
      "page": "LinTest",
      "title": "Linearity (homogeneity) tests for PSTR models",
      "topics": [
        "LinTest",
        "WCB_LinTest"
      ]
    },
    {
      "page": "NewPSTR",
      "title": "Create a PSTR model object",
      "topics": [
        "NewPSTR"
      ]
    },
    {
      "page": "plot_coefficients",
      "title": "Plot coefficients, standard errors, and p-values against the transition variable",
      "topics": [
        "plot_coefficients"
      ]
    },
    {
      "page": "plot_response",
      "title": "Plot the expected response against selected variables",
      "topics": [
        "plot_response"
      ]
    },
    {
      "page": "plot_target",
      "title": "Plot the surface of the target function for nonlinear least squares estimation",
      "topics": [
        "plot_target"
      ]
    },
    {
      "page": "plot_transition",
      "title": "Plot the transition function of an estimated PSTR model",
      "topics": [
        "plot_transition"
      ]
    },
    {
      "page": "print.PSTR",
      "title": "Print a PSTR model object",
      "topics": [
        "print.PSTR"
      ]
    },
    {
      "page": "sunspot",
      "title": "Transformed Wolf annual sunspot numbers for the years 1710-1979",
      "topics": [
        "sunspot"
      ]
    },
    {
      "page": "version",
      "title": "Show the version number of some information.",
      "topics": [
        "version"
      ]
    }
  ],
  "_readme": "https://github.com/yukai-yang/pstr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "pstr-vignette.Rmd",
      "filename": "pstr-vignette.html",
      "title": "Panel Smooth Transition Regression",
      "author": "Yukai Yang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "PSTR version 2.1.0 (Green Panel)",
        "How to install",
        "Example",
        "The data",
        "Initialization",
        "Specification",
        "Estimation",
        "Evaluation",
        "Plotting"
      ],
      "created": "2025-05-24 22:02:23",
      "modified": "2026-03-04 20:58:48",
      "commits": 6
    }
  ],
  "_score": 6.0563330349511615,
  "_indexed": true,
  "_nocasepkg": "pstr",
  "_universes": [
    "yukai-yang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-06T06:36:18.000Z",
      "distro": "noble",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "0277a87338f24d9b83c9e4c7366db051d6ea69180eaac6d6517baeaf50089608",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-06-06T06:36:23.000Z",
      "distro": "noble",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "cce30416cd80766070d92c6f3dffb2fb0abb8285e748baede8932d6c66e50d7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-06T06:36:29.000Z",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "7a00f2fab2298ad670a4dae4ac0b0d85754454e5a7989c32d9c26a1410c7d222",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-06-06T06:36:01.000Z",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "d573d1873b9b9ad7542539092d1dd5269f3dedb1b5566d4f33c1c620947ffab9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-06-06T06:36:18.000Z",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "cde967dcf9fe5745daa48a3161d57dae8677b11453e9e32401d8a1fb987002d0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-06T06:35:32.000Z",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "0d9a2a9701ee300bbe9e6aba8609309ef57d3631057abc822bf0c2dd469d2ec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-06T06:35:11.000Z",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "55896d94f900da10ccc493090dc2ba342bb0f7ce3eb01d019f7eeba0d8d77376",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-06-06T06:35:18.000Z",
      "commit": "4b9f5f018063448f4a69fe5ebf2a926e5ea2b241",
      "fileid": "d368f35e28afa16033cd0a0180e542c145f8cfbc508d1be0676ff20b672a0ef2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/27055002036"
    }
  ]
}