powered by
This function allows you to estimate SETAR model
SETAR_model(y, delay_order, lag_length, trim_value)
series name,
Delay order,
lag length
trimmed value, .15, .10, .5
"Model" Estimated model
"threshold" the value of threshold
Burak Guris, R Uygulamal<U+0131> Dogrusal Olmayan Zaman Serileri Analizi, DER Yayinevi, 2020.
# NOT RUN { # } # NOT RUN { x <- rnorm(100) SETAR_model(x, 1, 12, .15) data(IBM) SETAR_model(IBM, 1, 12, .05) # } # NOT RUN { # }
Run the code above in your browser using DataLab