View source: R/KPSS.2.breaks.R
KPSS.2.breaks | R Documentation |
Procedure to compute the KPSS test with two structural breaks
KPSS.2.breaks(y, model, break.point, max.lag, kernel)
y |
A time series of interest. |
model |
A scalar equal to
|
break.point |
Positions for the first and second structural breaks (respective to the origin which is 1). |
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 by Carrion-i-Silvestre and Sansó ported to R.
See Carrion-i-Silvestre and Sansó (2007) for further details.
A list of:
beta
: DOLS estimates of the coefficients,
tests
: SC test (coinKPSS-test),
resid
: Residuals of the model,
t.beta
: t
-statistics for beta
,
break_point
: Break points.
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.