powered by
This function allows you to make Mc.Leod.Li nonlinearity test
Mc.Leod.Li(y, lag)
series name,
lag parameter,
"lag stat pvalue" the lag order, the value of the test statistic and the probability of test statistic, respectively.
Burak Guris, R Uygulamal<U+0131> Dogrusal Olmayan Zaman Serileri Analizi, DER Yayinevi, 2020.
# NOT RUN { x <- rnorm(1000) Mc.Leod.Li(x, 10) data(IBM) Mc.Leod.Li(IBM,4) # }
Run the code above in your browser using DataLab