This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
members:aguilloux:enseignements:timeseries [2017/03/20 12:38] Agathe Guilloux |
members:aguilloux:enseignements:timeseries [2017/03/22 12:25] Agathe Guilloux |
||
---|---|---|---|
Line 22: | Line 22: | ||
- | Question 3,3 | ||
- | + We want to fit a sarima model to the seasonaly differenciated series. | ||
- | Execute the following code, should it be a difference between the two calls | ||
- | to the `auto.arima` function ? | ||
- | | ||
- | ```{r} | ||
- | |||
- | model_D1 =auto.arima(deaths , D=1) | ||
- | |||
- | deaths.diff = diff(deaths, 12) | ||
- | |||
- | model_diff = auto.arima(deaths.diff) | ||
- | |||
- | ``` |