Can someone explain why the attached R-Studio Code, provided by the author, does not create the output like in his book?

Hello,

in Chapter 9.9 in the "Book Applied Economic Forecasting Using Time Series Method" by Ghysels, the US industrial production growth is modeled and forecasted using three different models in R-Studio. The result ist presented in the book. The R-Skript is provided by the author. However, every time I try running the skript by myself, I recieve a different result compared to the author. I tried a lot and I dont know what I am doing wrong, since I use the same code.

I would kindly ask to check the R-Code and give me an answer why the forecast differs from the one in the book, even though it should be the correct code, since it is provided by the author.


Thank you very much!

The data, code and results are attached.

 

  • Sirsir Sirsir
    0

    The tested models are AR, TAR, STAR

Answer

Answers can be viewed only if
  1. The questioner was satisfied and accepted the answer, or
  2. The answer was disputed, but the judge evaluated it as 100% correct.
View the answer
Mathe Mathe
3.2K
The answer is accepted.
Join Matchmaticians Affiliate Marketing Program to earn up to 50% commission on every question your affiliated users ask or answer.