Hi everyone,
I'm trying to find a function on R to run a structural break test in a model linear with AR1 error. Anyone knows how could I implement that?
Thank you.
Hi everyone,
I'm trying to find a function on R to run a structural break test in a model linear with AR1 error. Anyone knows how could I implement that?
Thank you.
Follow this page
https://www.rdocumentation.org/packages/gap/versions/1.2.1/topics/chow.test
or use this package:
formula is really basic:
chow.test(x, SB, nboot = 500, start = NULL, end = NULL, frequency = NULL, format = NULL, dateVector = NULL)
Thanks for your reply.
I have tried to use functions of the strucchange package but they do not work in models with autoregressive error term (using the ARIMA function). Regarding the chow test, it is not valid for models with autocorrelated erros.
I don't know your model and its data. I'm sorry to not help you
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.