View source: R/KPSS.N.breaks.R
KPSS.N.breaks.bootstrap | R Documentation |
Procedure to compute the KPSS test with multiple unknown structural breaks
KPSS.N.breaks.bootstrap(
y,
x,
model,
break.point,
const = FALSE,
trend = FALSE,
weakly.exog = TRUE,
lags.init,
leads.init,
max.lag,
kernel,
iter = 9999,
bootstrap = "sample",
criterion = "bic"
)
y |
A time series of interest. |
x |
A matrix of explanatory stochastic regressors. |
model |
A scalar or vector of
|
break.point |
Array of structural breaks. |
const |
Include constant if TRUE. |
trend |
Include trend if TRUE. |
weakly.exog |
Boolean where we specify whether the stochastic regressors are exogenous or not
|
lags.init , leads.init |
Scalars defininig the initial number of lags and leads for DOLS. |
max.lag |
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
|
iter |
Number of bootstrap iterations. |
bootstrap |
Type of bootstrapping:
|
criterion |
Information criterion for DOLS lags and leads selection: aic, bic or lwz. |
A list of:
test
: The value of KPSS test statistic,
p.value
: The estimates p-value,
bootstrapped
: Bootstrapped auxiliary statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.