Académique Documents
Professionnel Documents
Culture Documents
Rozenn Dahyot
www.scss.tcd.ie/Rozenn.Dahyot
TCD 2016
Lab 5
Learning Outcomes
!*!!
Using the help file, explain this command line.
2. Modify this command line to fit an MA(1) to the time series *.
3. Visualise the forecasts and prediction intervals (1000 steps ahead)
5!*5!*!!
4. In the lecturenotes we have shown that the prediction interval at time n + 2 was:
q
yn+2 2s 21 + 1
and it can be shown that for time n + 3, it is (check it out yourself):
q
yn+3 2s 41 + 21 + 1
and it can be shown (by induction) that for time n + k, it is (check it out yourself):
q
yn+k 2s 12(k1) + 41 + 21 + 1
In light of this mathematical result, explain the form of the prediction intervals in the case:
5!*5!*!!