Package: chngpt 2024.11-15
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:
chngpt_2024.11-15.tar.gz
chngpt_2024.11-15.zip(r-4.5)chngpt_2024.11-15.zip(r-4.4)chngpt_2024.11-15.zip(r-4.3)
chngpt_2024.11-15.tgz(r-4.4-x86_64)chngpt_2024.11-15.tgz(r-4.4-arm64)chngpt_2024.11-15.tgz(r-4.3-x86_64)chngpt_2024.11-15.tgz(r-4.3-arm64)
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://youyifong.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/youyifong/chngpt/issues
- coef.0.ls - Simulation Study Parameters
- dat.mtct - An Example Dataset
- dat.mtct.2 - An Example Dataset
- lidar - Light Detection and Ranging Data
- nutrition - Infant Nutrition Data
- sim.alphas - Simulation Parameters
Last updated 8 days agofrom:8a00a31eb9. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 12 2024 |
R-4.5-win-x86_64 | OK | Nov 12 2024 |
R-4.5-linux-x86_64 | OK | Nov 12 2024 |
R-4.4-win-x86_64 | OK | Nov 12 2024 |
R-4.4-mac-x86_64 | OK | Nov 12 2024 |
R-4.4-mac-aarch64 | OK | Nov 12 2024 |
R-4.3-win-x86_64 | OK | Nov 12 2024 |
R-4.3-mac-x86_64 | OK | Nov 12 2024 |
R-4.3-mac-aarch64 | OK | Nov 12 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
chngpt Package | chngpt |
Threshold Model Hypothesis Testing | antoch.test chngpt.test plot.chngpt.test |
Threshold Models Estimation | AIC.chngptm chngptm chngptm.xy coef.chngptm lincomb logLik.chngptm plot.chngptm predict.chngptm print.chngptm residuals.chngptm summary.chngptm vcov.chngptm |
Simulation Study Parameters | coef.0.ls |
Helper functions | convert.coef predictx threshold.func |
An Example Dataset | dat.mtct |
An Example Dataset | dat.mtct.2 |
Fit Double Hinge Models | double.hinge fitted.double.hinge plot.double.hinge residuals.double.hinge |
A non-nested hypothesis testing problem for threshold regression models | hinge.test |
Light Detection and Ranging Data | lidar |
Infant Nutrition Data | nutrition |
Perform unit testing for performance evaluation. | performance.unit.test |
Simulation Parameters | sim.alphas |
Simulation Function | sim.chngpt sim.threephase sim.twophase.ran.inte |
Simulation function | sim.hinge |
Simulate data | sim.my |
Simulate data according to one of the scenarios considered in Pastor-Barriuso et al 2003 | sim.pastor |