{
  "_id": "6a213af0cd65a98ecbd28031",
  "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-06-04 08:39:42 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",
  "MD5sum": "b7ac7e784ea7d6ca36f7311ccd6e922e",
  "_user": "cran",
  "_type": "src",
  "_file": "chngpt_2024.11-15.tar.gz",
  "_fileid": "348d72ddc5768fde0b929fb0ee6e9b13117361947ccc02cdb5cb1d6eceb1e0f7",
  "_filesize": 535057,
  "_sha256": "348d72ddc5768fde0b929fb0ee6e9b13117361947ccc02cdb5cb1d6eceb1e0f7",
  "_created": "2026-06-04T08:39:42.000Z",
  "_published": "2026-06-04T08:44:32.110Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79481771844,
      "time": 196,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406956759"
    },
    {
      "job": 79481771879,
      "time": 224,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406964748"
    },
    {
      "job": 79481771835,
      "time": 192,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406955507"
    },
    {
      "job": 79481771807,
      "time": 217,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406963104"
    },
    {
      "job": 79481129397,
      "time": 228,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406883958"
    },
    {
      "job": 79481771900,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406933314"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26940649578",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/chngpt",
  "_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
  },
  "_maintainer": {
    "name": "Youyi Fong",
    "email": "youyifong@gmail.com",
    "login": "youyifong",
    "description": "",
    "uuid": 29523631
  },
  "_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",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1171,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chngpt"
  },
  "_mentions": 3,
  "_searchresults": 65,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/chngpt.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "rlang",
    "survival"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "chngpt-vignette.pdf.asis",
      "filename": "chngpt-vignette.pdf",
      "title": "Fitting Threshold Regression Models Using chngpt",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2017-08-28 17:43:12",
      "modified": "2017-08-28 17:43:12",
      "commits": 1
    }
  ],
  "_score": 5.488925274929888,
  "_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-06-04T08:42:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "a9218b9e6494bf161ed92cb43b506cb80697e62b3ac5905a16a20c769a01e802",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940649578"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-06-04T08:42:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "9c6bcf122f9cf7f11a407b404ebe90f095bae4dc900ad437b9bcba22646e69e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940649578"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-06-04T08:42:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "bc9cc80dd38316a0ea6cb9484d4fb44902b1fe59f53bf79f2e0a38d652ddc0d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940649578"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2024.11-15",
      "date": "2026-06-04T08:42:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "a9d7b01f8c101f3ea38a531471b944ee74da4f8b012ec4a2fc71de328a3c74e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940649578"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2024.11-15",
      "date": "2026-06-04T08:42:15.000Z",
      "arch": "emscripten",
      "commit": "5160bb503dd6342bbf8e7aada36804a9bc758cee",
      "fileid": "d4b0b6e7b12f5493ef3160943db44ec7ec338b88f84c6f8ea9960757656d72df",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940649578"
    }
  ]
}