MDF.CHLT | R Documentation |
MDF test for a single break and possible heteroscedasticity
MDF.CHLT(y, max.lag = 10, trim = 0.15, iter = 499)
y |
A time series of interest. |
max.lag |
The maximum possible lag. |
trim |
Trimming parameter for lag selection |
iter |
Number of bootstrap iterations. |
The code provided is the original GAUSS code by Cavaliere et al. ported to R.
An object of type mdfCHLT
. It's a list of four sublists
each containing:
The value of MZ_\alpha
, MSB
, MZ_t
, or ADF
,
The asymptotic c.v.,
The bootstrapped c.v.
Cavaliere, Giuseppe, David I. Harvey, Stephen J. Leybourne, and A.M. Robert Taylor. “Testing for Unit Roots in the Presence of a Possible Break in Trend and Nonstationary Volatility.” Econometric Theory 27, no. 5 (October 2011): 957–91. https://doi.org/10.1017/S0266466610000605.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.