Graph of forecast errors

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
bizi_rats_10
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm

Graph of forecast errors

Unread post 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
Attachments
Forecast_Univar_VAR_Errors.txt
code
(2.54 KiB) Downloaded 1164 times
Data1.txt
data
(4.06 KiB) Downloaded 1160 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Graph of forecast errors

Unread post 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.
bizi_rats_10
Posts: 10
Joined: Sun Jul 18, 2010 3:47 pm

Re: Graph of forecast errors

Unread post by bizi_rats_10 »

thanks so much for your clarification.
JC
Post Reply