Pilgrim, Charlie;
(2021)
piecewise-regression (aka segmented regression) in Python.
Journal of Open Source Software
, 6
(68)
, Article 3859. 10.21105/joss.03859.
Preview |
Text
10.21105.joss.03859.pdf - Published Version Download (247kB) | Preview |
Abstract
Piecewise regression (also known as segmented regression, broken-line regression, or breakpoint analysis) fits a linear regression model to data that includes one or more breakpoints where the gradient changes. The piecewise-regression Python package uses the approach described by Muggeo (Muggeo, 2003), where the breakpoint positions and the straight line models are simultaneously fit using an iterative method. This easy-to-use package includes an automatic comprehensive statistical analysis that gives confidence intervals for all model variables and hypothesis testing for the existence of breakpoints.
Type: | Article |
---|---|
Title: | piecewise-regression (aka segmented regression) in Python |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.21105/joss.03859 |
Publisher version: | https://doi.org/10.21105/joss.03859 |
Language: | English |
Additional information: | Authors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License (CC BY 4.0). |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Brain Sciences UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Brain Sciences > Div of Psychology and Lang Sciences UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Brain Sciences > Div of Psychology and Lang Sciences > Experimental Psychology |
URI: | https://discovery.ucl.ac.uk/id/eprint/10166091 |
Archive Staff Only
View Item |