# 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

12

## Answer

**Answers can be viewed only if**

- The questioner was satisfied and accepted the answer, or
- The answer was disputed, but the judge evaluated it as 100% correct.

Mathe

3K

The answer is accepted.

Join Matchmaticians Affiliate Marketing
Program to earn up to 50% commission on every question your affiliated users ask or answer.

- answered
- 1445 views
- $50.00

### Related Questions

- Introductory statistics, probability (standard distribution, binomial distribution)
- What is the normal probability distribution function?
- Maximum Likelihood Estimation
- Stats question
- Combinatorics questions- can someone please help?
- Probability and Statistics Question help please
- Proper Test Selection for Repeated Interval Data Collection?
- Statistics/percentage question

The tested models are AR, TAR, STAR