Package: chngpt 2024.11-15

Youyi Fong

chngpt: Estimation and Hypothesis Testing for Threshold Regression

Threshold regression models are also called two-phase regression, broken-stick regression, split-point regression, structural change models, and regression kink models, with and without interaction terms. Methods for both continuous and discontinuous threshold models are included, but the support for the former is much greater. This package is described in Fong, Huang, Gilbert and Permar (2017) <doi:10.1186/s12859-017-1863-x> and the package vignette.

Authors:Youyi Fong [cre], Qianqian Chen [aut], Shuangcheng Hua [aut], Hyunju Son [aut], Adam Elder [aut], Tao Yang [aut], Zonglin He [aut], Simone Giannerini [aut]

chngpt_2024.11-15.tar.gz
chngpt_2024.11-15.tar.gz(r-4.5-noble)chngpt_2024.11-15.tar.gz(r-4.4-noble)
chngpt_2024.11-15.tgz(r-4.4-emscripten)chngpt_2024.11-15.tgz(r-4.3-emscripten)
chngpt.pdf |chngpt.html
chngpt/json (API)

# Install 'chngpt' in R:
install.packages('chngpt', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

5.27 score 3 stars 2 packages 55 scripts 1.3k downloads 3 mentions 21 exports 13 dependencies

Last updated 2 months agofrom:5160bb503d. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 25 2024
R-4.5-linux-x86_64OKDec 25 2024

Exports:antoch.testchngpt.testchngptmchngptm.xyconvert.coefdouble.hingehinge.testlincombperformance.unit.testplot.chngpt.testplot.chngptmplot.double.hingepredictxprint.chngptmsim.chngptsim.hingesim.mysim.pastorsim.threephasesim.twophase.ran.intethreshold.func

Dependencies:bootkyotillatticelme4MASSMatrixminqanlmenloptrRcppRcppEigenRhpcBLASctlsurvival

Fitting Threshold Regression Models Using chngpt

Rendered fromchngpt-vignette.pdf.asisusingR.rsp::asison Dec 25 2024.

Last update: 2017-08-28
Started: 2017-08-28

Readme and manuals

Help Manual

Help pageTopics
chngpt Packagechngpt
Threshold Model Hypothesis Testingantoch.test chngpt.test plot.chngpt.test
Threshold Models EstimationAIC.chngptm chngptm chngptm.xy coef.chngptm lincomb logLik.chngptm plot.chngptm predict.chngptm print.chngptm residuals.chngptm summary.chngptm vcov.chngptm
Simulation Study Parameterscoef.0.ls
Helper functionsconvert.coef predictx threshold.func
An Example Datasetdat.mtct
An Example Datasetdat.mtct.2
Fit Double Hinge Modelsdouble.hinge fitted.double.hinge plot.double.hinge residuals.double.hinge
A non-nested hypothesis testing problem for threshold regression modelshinge.test
Light Detection and Ranging Datalidar
Infant Nutrition Datanutrition
Perform unit testing for performance evaluation.performance.unit.test
Simulation Parameterssim.alphas
Simulation Functionsim.chngpt sim.threephase sim.twophase.ran.inte
Simulation functionsim.hinge
Simulate datasim.my
Simulate data according to one of the scenarios considered in Pastor-Barriuso et al 2003sim.pastor