View source: R/Utils.Segments.R
segments.OLS.N.breaks | R Documentation |
m + 1
optimal partitionsFind m + 1
optimal partitions
segments.OLS.N.breaks(y, x, m = 1, width = 2, SSR.data = NULL)
y |
(Tx1)-vector of the dependent variable. |
x |
(Txk)-vector of the explanatory stochastic regressors. |
m |
Number of breaks. |
width |
Minimum spacing between the breaks. |
SSR.data |
Optional matrix of recursive SSR's. |
A list of:
optimal SSR,
the vector of break points.
Bai, Jushan, and Pierre Perron. “Computation and Analysis of Multiple Structural Change Models.” Journal of Applied Econometrics 18, no. 1 (2003): 1–22. https://doi.org/10.1002/jae.659.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.