Page 1 of 1

Graph of forecast errors

Posted: Tue Sep 13, 2011 10:58 am
by bizi_rats_10
Hi all,

I am having problem producing graphs that compares errors between the original series and the forecasts series. Can any one help me to figure this out?
See attachments for data and code.

Regards,

JC

Re: Graph of forecast errors

Posted: Tue Sep 13, 2011 11:34 am
by TomDoan
You might want to read up on the use of VECTORS of SERIES, as we really strongly discourage use of "numbered" series. The problem you're running into is that you're running off the end of the block for the numbered series (your ALLOCATE ended in 2010:9:7, but your last forecast works with 2010:9:14) which breaks the correspondence between %X and the series. It looks as if changing this line:

allocate 100 2010:9:14

will make the program work.

Re: Graph of forecast errors

Posted: Tue Sep 13, 2011 12:17 pm
by bizi_rats_10
thanks so much for your clarification.
JC