S-Curve Fit for Changepoint Analysis

Estimation of changepoints using an "S-curve" approximation. Formation of confidence intervals for changepoint locations and magnitudes. Both abrupt and gradual changes can be modeled.


This package does changepoint analysis for both abrupt and gradual
change models, by fitting an S-curve using nonlinear least squares.

Currently just a single changepoint is analyzed, but this can easily be
generalized using the "binary segmentation" method.  Code for this will
be added in the near future.

Both single- and multiple-changepoint models are allowd.

In the case of abrupt models, an S-curve is used to approximate a step
function.  The user specifies a steep slope for this.  For gradual
models, the slope will be estimated by the algorithm.

Output consists of the changepoint location, the pre- and post-mean
levels, and for the gradual case, the slope.  Standard errors (and
covariance matrix) are supplied for all estimated parameters, by calling
vcov() on the output.



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("changeS")

1.0.1 by Norm Matloff, 3 years ago


https://github.com/matloff/changeS


Browse source code at https://github.com/cran/changeS


Authors: Lan Jiang [aut] , Collin Kennedy [aut] , Norm Matloff [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Depends on nls.multstart, ggplot2, stringr

Suggests knitr, rmarkdown


See at CRAN