View source: R/PY.sequential.R
PY.sequential | R Documentation |
Sequential Perron-Yabu (2009) statistic for breaks at unknown date.
PY.sequential(
y,
const = FALSE,
breaks = 1,
criterion = "aic",
trim = 0.15,
max.lag = 1
)
y |
A time series of interest. |
const |
Allowing the break in constant. |
breaks |
A number of breaks. |
criterion |
Needed information criterion: aic, bic, hq or lwz. |
trim |
A trimming value for a possible break date bounds. |
max.lag |
The maximum possible lag in the model. |
The code provided is the original Ox code by Skrobotov (2018) ported to R.
An estimated Wald statistic.
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.