Learn R Programming

NonlinearTSA (version 0.5.0)

Terasvirta1994test: Terasvirta (1994) nonlinearity test

Description

This function allows you to make Terasvirta (1994) nonlinearity test

Usage

Terasvirta1994test(x, d, maxp)

Arguments

x

series name,

d

delay parameter,

maxp

maximum p

Value

"Linearity" the value of the test statistic and the probability of the test statistic

"H01" the value of the test statistic and the probability of the test statistic

"H02" the value of the test statistic and the probability of the test statistic

"H03" the value of the test statistic and the probability of the test statistic

"H12" the value of the test statistic and the probability of the test statistic

References

Ter<U+00E4>svirta, T. (1994). Specification, estimation, and evaluation of smooth transition autoregressive models. Journal of the american Statistical association, 89(425), 208-218.

Burak Guris, R Uygulamal<U+0131> Dogrusal Olmayan Zaman Serileri Analizi, DER Yayinevi, 2020.

Examples

Run this code
# NOT RUN {
x <- rnorm(1000)
Terasvirta1994test(x, 3, 4)


data(IBM)
Terasvirta1994test(IBM, 4, 4)


# }

Run the code above in your browser using DataLab