View source: R/Utils.Segments.R
segments.GLS | R Documentation |
Procedure to minimize the GLS-SSR for 1 break point
segments.GLS(
y,
const = FALSE,
trend = FALSE,
breaks = 1,
first.break = NULL,
last.break = NULL,
trim = 0.15
)
y |
Variable of interest. |
const |
Whether there is a break in the constant. |
trend |
Whether there is a break in the trend. |
breaks |
Number of breaks. |
first.break |
First possible break point. |
last.break |
Last possible break point. |
trim |
Trim value to calculate |
The point of possible break.
Skrobotov, Anton. “On Trend Breaks and Initial Condition in Unit Root Testing.” Journal of Time Series Econometrics 10, no. 1 (2018): 1–15. https://doi.org/10.1515/jtse-2016-0014.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.