{
  "_id": "6ae2f6db3d0f299392dd0307",
  "Package": "chngpt",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "Version": "2024.11-15",
  "Title": "Estimation and Hypothesis Testing for Threshold Regression",
  "Authors@R": "c(person(\"Youyi\", \"Fong\", role = \"cre\", email = \"youyifong@gmail.com\"),\nperson(\"Qianqian\", \"Chen\", role = \"aut\", email = \"qc25@uw.edu\"),\nperson(\"Shuangcheng\", \"Hua\", role = \"aut\", email = \"shuangch.hua@gmail.com\"),\nperson(\"Hyunju\", \"Son\", role = \"aut\", email = \"hson@uw.edu\"),\nperson(\"Adam\", \"Elder\", role = \"aut\", email = \"eldera3@uw.edu\"),\nperson(\"Tao\", \"Yang\", role = \"aut\", email = \"tyang23@fredhutch.org\"),\nperson(\"Zonglin\", \"He\", role = \"aut\", email = \"nkhezl@gmail.com\"),\nperson(\"Simone\", \"Giannerini\", role = \"aut\", email = \"simone.giannerini@unibo.it\")\n)",
  "VignetteBuilder": "R.rsp",
  "Description": "Threshold regression models are also called two-phase\nregression, broken-stick regression, split-point regression,\nstructural change models, and regression kink models, with and\nwithout interaction terms. Methods for both continuous and\ndiscontinuous threshold models are included, but the support\nfor the former is much greater. This package is described in\nFong, Huang, Gilbert and Permar (2017)\n<DOI:10.1186/s12859-017-1863-x> and the package vignette.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-28 09:50:16 UTC",
    "User": "root"
  },
  "Author": "Youyi Fong [cre], Qianqian Chen [aut], Shuangcheng Hua [aut],\nHyunju Son [aut], Adam Elder [aut], Tao Yang [aut], Zonglin He\n[aut], Simone Giannerini [aut]",
  "Maintainer": "Youyi Fong <youyifong@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-11-12 20:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/chngpt",
  "RemoteRef": "HEAD",
  "RemoteSha": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
  "_user": "cran",
  "_type": "src",
  "_file": "chngpt_2024.11-15.tar.gz",
  "_fileid": "https://r2.ropensci.org/c9e5033b9cfbfb7ff6730115d8c18c046977c51c5631f2951c384e86a2062e94",
  "_filesize": 535091,
  "_sha256": "c9e5033b9cfbfb7ff6730115d8c18c046977c51c5631f2951c384e86a2062e94",
  "_expires": "2027-02-05T10:02:38.000Z",
  "_created": "2026-10-28T09:50:16.000Z",
  "_published": "2026-10-29T07:33:47.156Z",
  "_upstream": "https://github.com/cran/chngpt",
  "_status": "success",
  "_maintainer": {
    "name": "Youyi Fong",
    "email": "youyifong@gmail.com",
    "login": "youyifong",
    "description": "",
    "uuid": 29523631
  },
  "_jobs": [
    {
      "job": 123319410780,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12806537775"
    },
    {
      "job": 123319410176,
      "time": 564,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12806813038"
    },
    {
      "job": 123319410257,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12806254498"
    },
    {
      "job": 123319410278,
      "time": 338,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12807191289"
    },
    {
      "job": 123319409174,
      "time": 278,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12806214100"
    },
    {
      "job": 123319409368,
      "time": 677,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12807521382"
    },
    {
      "job": 123319410823,
      "time": 335,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12807315900"
    },
    {
      "job": 123319410385,
      "time": 171,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12806324599"
    },
    {
      "job": 123319410879,
      "time": 332,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12806981687"
    },
    {
      "job": 123319408845,
      "time": 203,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12880178455"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405",
  "_commit": {
    "id": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
    "author": "Youyi Fong <youyifong@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2024.11-15\n",
    "time": 1731444002
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "kyotil",
      "version": ">= 2020.10-12",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Imports"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    },
    {
      "package": "RUnit",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "youyifong",
      "count": 31,
      "uuid": 29523631
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1338,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chngpt"
  },
  "_mentions": 3,
  "_searchresults": 0,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/chngpt.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/youyifong/chngpt",
  "_realowner": "youyifong",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1-1",
      "date": "2013-09-09"
    },
    {
      "version": "0.1-2",
      "date": "2013-10-18"
    },
    {
      "version": "2014.3-5",
      "date": "2014-03-10"
    },
    {
      "version": "2014.5-29",
      "date": "2014-05-29"
    },
    {
      "version": "2014.12-2",
      "date": "2014-12-05"
    },
    {
      "version": "2015.9-5",
      "date": "2015-09-09"
    },
    {
      "version": "2016.7-9",
      "date": "2016-07-10"
    },
    {
      "version": "2016.7-31",
      "date": "2016-07-31"
    },
    {
      "version": "2017.08-28",
      "date": "2017-08-28"
    },
    {
      "version": "2017.10-9",
      "date": "2017-10-09"
    },
    {
      "version": "2017.12-3",
      "date": "2017-12-03"
    },
    {
      "version": "2017.12-26",
      "date": "2018-01-03"
    },
    {
      "version": "2018.1-3",
      "date": "2018-01-04"
    },
    {
      "version": "2018.3-20",
      "date": "2018-03-20"
    },
    {
      "version": "2018.3-29",
      "date": "2018-03-29"
    },
    {
      "version": "2018.5-2",
      "date": "2018-05-02"
    },
    {
      "version": "2018.6-2",
      "date": "2018-06-01"
    },
    {
      "version": "2018.7-25",
      "date": "2018-08-07"
    },
    {
      "version": "2018.10-17",
      "date": "2018-10-30"
    },
    {
      "version": "2019.3-6",
      "date": "2019-03-08"
    },
    {
      "version": "2019.3-8",
      "date": "2019-03-08"
    },
    {
      "version": "2019.3-12",
      "date": "2019-03-13"
    },
    {
      "version": "2019.8-28",
      "date": "2019-08-29"
    },
    {
      "version": "2019.9-2",
      "date": "2019-09-02"
    },
    {
      "version": "2019.11-21",
      "date": "2019-11-21"
    },
    {
      "version": "2019.11-26",
      "date": "2019-11-28"
    },
    {
      "version": "2019.11-30",
      "date": "2019-12-02"
    },
    {
      "version": "2020.2-26",
      "date": "2020-02-27"
    },
    {
      "version": "2020.5-13",
      "date": "2020-05-13"
    },
    {
      "version": "2020.5-21",
      "date": "2020-05-22"
    },
    {
      "version": "2020.8-29",
      "date": "2020-08-30"
    },
    {
      "version": "2020.10-12",
      "date": "2020-10-14"
    },
    {
      "version": "2021.5-12",
      "date": "2021-05-12"
    },
    {
      "version": "2022.3-15",
      "date": "2022-03-16"
    },
    {
      "version": "2022.4-6",
      "date": "2022-04-07"
    },
    {
      "version": "2023.1-30",
      "date": "2023-01-31"
    },
    {
      "version": "2023.11-28",
      "date": "2023-11-29"
    },
    {
      "version": "2023.11-29",
      "date": "2023-12-05"
    },
    {
      "version": "2024.11-15",
      "date": "2024-11-14"
    }
  ],
  "_exports": [
    "antoch.test",
    "chngpt.test",
    "chngptm",
    "chngptm.xy",
    "convert.coef",
    "double.hinge",
    "hinge.test",
    "lincomb",
    "performance.unit.test",
    "plot.chngpt.test",
    "plot.chngptm",
    "plot.double.hinge",
    "predictx",
    "print.chngptm",
    "sim.chngpt",
    "sim.hinge",
    "sim.my",
    "sim.pastor",
    "sim.threephase",
    "sim.twophase.ran.inte",
    "threshold.func"
  ],
  "_datasets": [
    {
      "name": "coef.0.ls",
      "title": "Simulation Study Parameters",
      "object": "coef.0.ls",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "dat.mtct",
      "title": "An Example Dataset",
      "object": "dat.mtct",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "birth",
        "NAb_SF162LS"
      ],
      "rows": 236,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat.mtct.2",
      "title": "An Example Dataset",
      "object": "dat.mtct",
      "class": [
        "data.frame"
      ],
      "fields": [
        "NAb_score",
        "V3_BioV3B"
      ],
      "rows": 248,
      "table": true,
      "tojson": true
    },
    {
      "name": "lidar",
      "title": "Light Detection and Ranging Data",
      "object": "lidar",
      "class": [
        "data.frame"
      ],
      "fields": [
        "range",
        "logratio"
      ],
      "rows": 221,
      "table": true,
      "tojson": true
    },
    {
      "name": "nutrition",
      "title": "Infant Nutrition Data",
      "object": "nutrition",
      "class": [
        "data.frame"
      ],
      "fields": [
        "woh",
        "age"
      ],
      "rows": 72,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim.alphas",
      "title": "Simulation Parameters",
      "object": "sim.alphas",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "chngpt",
      "title": "chngpt Package",
      "topics": [
        "chngpt"
      ]
    },
    {
      "page": "chngpt.test",
      "title": "Threshold Model Hypothesis Testing",
      "topics": [
        "antoch.test",
        "chngpt.test",
        "plot.chngpt.test"
      ]
    },
    {
      "page": "chngptm",
      "title": "Threshold Models Estimation",
      "topics": [
        "AIC.chngptm",
        "chngptm",
        "chngptm.xy",
        "coef.chngptm",
        "lincomb",
        "logLik.chngptm",
        "plot.chngptm",
        "predict.chngptm",
        "print.chngptm",
        "residuals.chngptm",
        "summary.chngptm",
        "vcov.chngptm"
      ]
    },
    {
      "page": "coef.0.ls",
      "title": "Simulation Study Parameters",
      "topics": [
        "coef.0.ls"
      ]
    },
    {
      "page": "convert.coef",
      "title": "Helper functions",
      "topics": [
        "convert.coef",
        "predictx",
        "threshold.func"
      ]
    },
    {
      "page": "dat.mtct",
      "title": "An Example Dataset",
      "topics": [
        "dat.mtct"
      ]
    },
    {
      "page": "dat.mtct.2",
      "title": "An Example Dataset",
      "topics": [
        "dat.mtct.2"
      ]
    },
    {
      "page": "double.hinge",
      "title": "Fit Double Hinge Models",
      "topics": [
        "double.hinge",
        "fitted.double.hinge",
        "plot.double.hinge",
        "residuals.double.hinge"
      ]
    },
    {
      "page": "hinge.test",
      "title": "A non-nested hypothesis testing problem for threshold regression models",
      "topics": [
        "hinge.test"
      ]
    },
    {
      "page": "lidar",
      "title": "Light Detection and Ranging Data",
      "topics": [
        "lidar"
      ]
    },
    {
      "page": "nutrition",
      "title": "Infant Nutrition Data",
      "topics": [
        "nutrition"
      ]
    },
    {
      "page": "performance.unit.test",
      "title": "Perform unit testing for performance evaluation.",
      "topics": [
        "performance.unit.test"
      ]
    },
    {
      "page": "sim.alphas",
      "title": "Simulation Parameters",
      "topics": [
        "sim.alphas"
      ]
    },
    {
      "page": "sim.chngpt",
      "title": "Simulation Function",
      "topics": [
        "sim.chngpt",
        "sim.threephase",
        "sim.twophase.ran.inte"
      ]
    },
    {
      "page": "sim.hinge",
      "title": "Simulation function",
      "topics": [
        "sim.hinge"
      ]
    },
    {
      "page": "sim.my",
      "title": "Simulate data",
      "topics": [
        "sim.my"
      ]
    },
    {
      "page": "sim.pastor",
      "title": "Simulate data according to one of the scenarios considered in Pastor-Barriuso et al 2003",
      "topics": [
        "sim.pastor"
      ]
    }
  ],
  "_readme": "https://github.com/cran/chngpt/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "kyotil",
    "lattice",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "RhpcBLASctl",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "chngpt-vignette.pdf.asis",
      "filename": "chngpt-vignette.pdf",
      "title": "Fitting Threshold Regression Models Using chngpt",
      "engine": "R.rsp::asis",
      "headings": [
        "Strength and weakness of this package",
        "Types of threshold effects supported",
        "Examples - estimation for fixed effects models",
        "Examples - estimation for random effects models",
        "Examples - testing for independent data",
        "Further considerations"
      ],
      "created": "2017-08-28 17:43:12",
      "modified": "2017-08-28 17:43:12",
      "commits": 1
    }
  ],
  "_score": 4.733911136646474,
  "_indexed": false,
  "_nocasepkg": "chngpt",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://youyifong.r-universe.dev/chngpt",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-10-28T09:52:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/3a15da5eb42f78abd52a35c534c3654558ed08583cf65fd0290e8478354a87ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-10-28T09:53:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/4e3ec7ea4f8180d1573000e45f2598e80f33d4318a0ba145de66c4a873e88c16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-10-28T09:52:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/8e68bbfdb0747f14e020c21fefda48d40c881c697090f38e8194370493d89d4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-10-28T09:54:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/b3048d930ac8de6702cd98b5cee481b4cb9504c30132a1eb9bc4d5683f5752be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2024.11-15",
      "date": "2026-10-28T10:01:54.000Z",
      "arch": "emscripten",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/f290213695b41a00e99afd433bb50e059e5b7f1309e5985190e335ffc5a1229b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2024.11-15",
      "date": "2026-10-28T09:54:30.000Z",
      "arch": "aarch64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/1e88c89e9793949938893ad3d0acf98b90eb522c0c49d7148d993d8ce82d80c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2024.11-15",
      "date": "2026-10-28T09:51:44.000Z",
      "arch": "x86_64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/a7fd1153251f619ad2f2edacfb78cafcfd348b6c7033a6d3c7e50b20a0cc857d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2024.11-15",
      "date": "2026-10-28T09:54:28.000Z",
      "arch": "aarch64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/4eabc47a71e2bd9e3ebfe8f97656e43e62535baffedb14b4a92c1cc774afefe3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2024.11-15",
      "date": "2026-10-29T07:28:38.000Z",
      "arch": "x86_64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "https://r2.ropensci.org/ef409801ed9663957310ab52bc57486b55e54184294d070c62fbedea83a90a63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40666809405"
    }
  ]
}