View source: R/KPSS.2.breaks.R
KPSS.2.breaks.unknown | R Documentation |
Procedure to compute the KPSS test with two structural breaks
KPSS.2.breaks.unknown(y, model, max.lag = 0, kernel = "bartlett")
y |
A time series of interest. |
model |
A scalar equal to
|
max.lag |
A scalar, with the maximum order of the parametric correction. The final order of the parametric correction is selected using the BIC information criterion. |
kernel |
Kernel for calculating long-run variance
|
The break points are known
The code provided is the original GAUSS code ported to R.
See Carrion-i-Silvestre and Sansó (2007) for further details.
Value of test statistic.
Carrion-i-Silvestre, Josep Lluís, and Andreu Sansó. “Testing the Null of Cointegration with Structural Breaks.” Oxford Bulletin of Economics and Statistics 68, no. 5 (October 2006): 623–46. https://doi.org/10.1111/j.1468-0084.2006.00180.x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.