{
  "_id": "6a4c0f4a95416c4179536157",
  "Package": "PSTR",
  "Type": "Package",
  "Title": "Panel Smooth Transition Regression Modelling",
  "Version": "2.1.1",
  "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",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/yukai-yang/PSTR",
  "BugReports": "https://github.com/yukai-yang/PSTR/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://yukai-yang.r-universe.dev",
  "Date/Publication": "2026-07-06 19:09:22 UTC",
  "RemoteUrl": "https://github.com/yukai-yang/pstr",
  "RemoteRef": "HEAD",
  "RemoteSha": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-06 20:16:51 UTC",
    "User": "root"
  },
  "Author": "Yukai Yang [aut, cre] (ORCID: <https://orcid.org/0000-0002-2623-8549>)",
  "Maintainer": "Yukai Yang <yukai.yang@statistik.uu.se>",
  "_user": "yukai-yang",
  "_type": "src",
  "_file": "PSTR_2.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/6101dcac27a0dc04a669b316e08af6e41530eec57fcbc8efc7313a133b911bf6",
  "_filesize": 748254,
  "_sha256": "6101dcac27a0dc04a669b316e08af6e41530eec57fcbc8efc7313a133b911bf6",
  "_expires": "2026-10-14T20:25:44.000Z",
  "_created": "2026-07-06T20:16:51.000Z",
  "_published": "2026-07-06T20:25:46.321Z",
  "_jobs": [
    {
      "job": 85470513239,
      "time": 243,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8120570007"
    },
    {
      "job": 85470513226,
      "time": 240,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8120568938"
    },
    {
      "job": 85470513258,
      "time": 346,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8120607390"
    },
    {
      "job": 85470513221,
      "time": 416,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8120631883"
    },
    {
      "job": 85469545747,
      "time": 296,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8120476355"
    },
    {
      "job": 85470513211,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8120538291"
    },
    {
      "job": 85470513241,
      "time": 487,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8120658384"
    },
    {
      "job": 85470513276,
      "time": 431,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8120638059"
    },
    {
      "job": 85470513237,
      "time": 454,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8120646227"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963",
  "_status": "success",
  "_upstream": "https://github.com/yukai-yang/pstr",
  "_commit": {
    "id": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
    "author": "Yukai Yang <yukai.yang@gmail.com>",
    "committer": "Yukai Yang <yukai.yang@gmail.com>",
    "message": "keep changing version number\n",
    "time": 1783364962
  },
  "_maintainer": {
    "name": "Yukai Yang",
    "email": "yukai.yang@statistik.uu.se",
    "login": "yukai-yang",
    "orcid": "0000-0002-2623-8549",
    "description": "臨 兵 闘 者 皆 陣 烈 在 前",
    "uuid": 7555828
  },
  "_distro": "resolute",
  "_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
    },
    {
      "week": "2026-28",
      "n": 5
    }
  ],
  "_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": 249,
      "uuid": 7555828
    },
    {
      "user": "wenjingwang",
      "count": 1,
      "uuid": 20100385
    }
  ],
  "_userbio": {
    "uuid": 7555828,
    "type": "user",
    "name": "Yukai Yang",
    "followers": 55,
    "description": "臨 兵 闘 者 皆 陣 烈 在 前"
  },
  "_downloads": {
    "count": 427,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PSTR"
  },
  "_devurl": "https://github.com/yukai-yang/pstr",
  "_searchresults": 36,
  "_rbuild": "4.6.1",
  "_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.1 (Green Panel)",
        "How to install",
        "Example",
        "The data",
        "Initialization",
        "Specification",
        "Estimation",
        "Evaluation",
        "Plotting"
      ],
      "created": "2025-05-24 22:02:23",
      "modified": "2026-07-06 18:59:25",
      "commits": 7
    }
  ],
  "_score": 6.219060332448861,
  "_indexed": true,
  "_nocasepkg": "pstr",
  "_universes": [
    "yukai-yang"
  ],
  "_previous": "2.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-07-06T20:19:57.000Z",
      "distro": "resolute",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/99a16efa12df463d34199b80c015d6a1732c3f44752558aef446b1f3052b290d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-07-06T20:19:54.000Z",
      "distro": "resolute",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/8cfb594ff190ab59697c1a2b88caf04c09913aa066db8cccd7c45f0832e7794e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-07-06T20:18:46.000Z",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/2595eeab70e638083f13a6a1101350d0ddc4715adff84661691f29f4c81c5eec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-07-06T20:19:04.000Z",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/2ccefcfdf57dff2b7cdb016d57eb5c76e40a7461c8c565a19121410588572f3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.1",
      "date": "2026-07-06T20:19:55.000Z",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/7c84a905a085a904104ceea08a90347e1086a44c257b4e1144337b3523c08c0b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-07-06T20:18:08.000Z",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/d562be04c6c41f791ad707965b3fae714ad14d93329f131326c0c439c9ca6d38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-07-06T20:18:40.000Z",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/493ff54e37b31dc91008e71f2a1e480b38cd2fd53d6576fc532540a5cc2033ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-07-06T20:18:08.000Z",
      "commit": "7b103d75847ec3e4d7e461e31a237f22a18502e7",
      "fileid": "https://r2.ropensci.org/5be596e51f6aa8bc16ad788fce4ab8f6aa1199bc5f08018076efd1dc12a21b4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yukai-yang/actions/runs/28820139963"
    }
  ]
}