KP | R Documentation |
Kejrival-Perron procedure of breaks number detection
KP(y, const = FALSE, breaks = 1, criterion = "aic", trim = 0.15)
y |
An input series of interest. |
const |
Whether the break in constant is allowed. |
breaks |
Number of breaks. |
criterion |
Needed information criterion: aic, bic, hq or lwz. |
trim |
A trimming value for a possible break date bounds. |
The code provided is the original Ox code by Skrobotov (2018) ported to R.
The estimated optimal break point.
Kejriwal, Mohitosh, and Pierre Perron. “A Sequential Procedure to Determine the Number of Breaks in Trend with an Integrated or Stationary Noise Component: Determination of Number of Breaks in Trend.” Journal of Time Series Analysis 31, no. 5 (September 2010): 305–28. https://doi.org/10.1111/j.1467-9892.2010.00666.x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.