MTAR_ECM {NonlinearTSA} | R Documentation |
This function allows you to estimate MTAR Vector Error Correction Model with threshold=0
MTAR_ECM(y, x, lags)
y |
series name, |
x |
series name |
lags |
lag length |
"Model" Estimated model
"AIC" Akaike information criteria
"BIC" Schwarz information criteria
Enders, W., & Siklos, P. L. (2001). Cointegration and threshold adjustment. Journal of Business & Economic Statistics, 19(2), 166-176.
Burak Guris, R Uygulamalı Dogrusal Olmayan Zaman Serileri Analizi, DER Yayinevi, 2020.
x <- cumsum(rnorm(1000))
y <- cumsum(rnorm(1000))
MTAR_ECM(x, y, lags = 6)
data(MarketPrices)
MTAR_ECM(MarketPrices[,1],MarketPrices[,2],lags = 2)