View source: R/Utils.Segments.R
segments.OLS.2.breaks | R Documentation |
Procedure to minimize the SSR for 2 break points
segments.OLS.2.breaks(y, model)
y |
A time series of interest. |
model |
A scalar equal to
|
A list of
resid: (Tx1) vector of estimated OLS residuals,
tb1: The first break point,
tb2: The second break point.
Carrion-i-Silvestre, Josep Lluís, and Andreu Sansó. “The KPSS Test with Two Structural Breaks.” Spanish Economic Review 9, no. 2 (May 16, 2007): 105–27. https://doi.org/10.1007/s10108-006-9017-8.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.