No Forecasted S.E.

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

tkennison
Posts: 7
Joined: Fri Apr 29, 2011 8:16 am

No Forecasted S.E.

Postby tkennison » Tue Feb 28, 2012 7:52 am

Hi,

When solving a single equation object for the forecast and standar error, I am getting the entire forecast over the forecast period, but I am getting the standard error in the first period of the forecast only. Do you know why this would be the case?

Many thanks,
Travis

See code (and picture) below:

%beginfcst = "2012q1"
%endfcst = "2019q4"

smpl %beginfcst %endfcst
eq_rle_{%current}.forecast rle_{%current} rle_SE
Attachments
eviews.JPG
eviews.JPG (81.02 KiB) Viewed 4101 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: No Forecasted S.E.

Postby EViews Gareth » Tue Feb 28, 2012 9:15 am

Hard to say without seeing the workfile/equation.

tkennison
Posts: 7
Joined: Fri Apr 29, 2011 8:16 am

Re: No Forecasted S.E.

Postby tkennison » Tue Feb 28, 2012 10:13 am

Hi Garrett,

My apologies, please see the below code and attached work file. Let me know if there is any other information I can provide.

Many thanks in advance,
Travis

Code: Select all

'############################################# 'VARIABLES '############################################# 'update number %current = "0112" %previous = "0811" 'dates %endhist = "2011q4" %beginfcst = "2012q1" %endfcst = "2019q4" %beginfcst_price = "2011" '############################################# 'SUBROUTINES '############################################# 'Run in the order listed call forecast 'forecast model, including standard error '############################################### subroutine forecast pageselect quarterly smpl @all if @isobject("eq_rle_" + %current) then else copy eq_rle_{%previous} eq_rle_{%current} endif 'forecast!! 'get Eviews forecast to compare to Excel forecast 'get standard error to produce confidence interval in Excel 'Riding Lawn Equipment smpl %beginfcst %endfcst eq_rle_{%current}.forecast rle_{%current} rle_SE 'graph to compare forecasts smpl 2005 @last graph gr_rle rle_{%current} rle_{%previous} show gr_rle smpl @all endsub '###############################################
Attachments
cm_0112.wf1
(981.68 KiB) Downloaded 220 times

tkennison
Posts: 7
Joined: Fri Apr 29, 2011 8:16 am

Re: No Forecasted S.E.

Postby tkennison » Tue Feb 28, 2012 10:14 am

Sorry, Gareth.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: No Forecasted S.E.

Postby EViews Gareth » Tue Feb 28, 2012 12:10 pm

If you download the latest patch, it should be fixed for you.

tkennison
Posts: 7
Joined: Fri Apr 29, 2011 8:16 am

Re: No Forecasted S.E.

Postby tkennison » Tue Feb 28, 2012 1:24 pm

Gareth,

Many thanks for the help!

Best regards,
Travis


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests