Description Usage Arguments Value References Examples
View source: R/Pascalau_2007_unit_root.R
This function allows you to make Pascalau(2007) nonlinear unit root test
1 | Pascalau_2007_unit_root(x, case, max_lags, lsm)
|
x |
series name, |
case |
if raw data 1, if demeaned data 2, if detrended data 3 |
max_lags |
maximum lag |
lsm |
lag selection methods if 1 AIC, if 2 BIC |
"Model" Estimated model
"Selected lag" the lag order
"Test statistic" the value of the test statistic
Pascalau, R. (2007). Testing for a unit root in the asymmetric nonlinear smooth transition framework. Department of Economics, Finance and Legal Studies University of Alabama Unpublished manuscript.
Burak Guris, R Uygulamalı Dogrusal Olmayan Zaman Serileri Analizi, DER Yayinevi, 2020.
1 2 3 4 5 6 7 8 9 10 | x <- rnorm(1000)
Pascalau_2007_unit_root(x, case = 1, max_lags = 6, lsm = 2)
y <- cumsum(rnorm(1000))
Pascalau_2007_unit_root(y, 2, 4, 1)
data(IBM)
Pascalau_2007_unit_root(x = IBM, case = 3, max_lags = 3, lsm = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.