fcast error message - Unable to compute due to missing data

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

nilsvo
Posts: 4
Joined: Wed Mar 02, 2016 10:37 am

fcast error message - Unable to compute due to missing data

Postby nilsvo » Wed Mar 02, 2016 10:58 am

Hi, I am running the fcast add-in after structural VAR and getting an error message saying unable to compute due to missing data in "...(writes out the equation)....". My codes are:

for %y ir uk us
'' STRUCTURAL VAR
logmode hideprogline all
var {%y}_var.ls 1 4 g7rgdp_qch ushysp usrhpix_qch {%y}rgdp_d_qch {%y}rhpix_qch @ c
'Pattern matrix for short term restrictions
'Matrix A
matrix(5,5) pata
pata.fill(by=r) 1,0,0,0,0, na,1,0,0,0,na,na,1,0,0,na,na,na,1,0,na,na,na,na,1
'Matrix B
matrix(5,5) patb = 0
patb(1,1) = na
patb(2,2) = na
patb(3,3) = na
patb(4,4) = na
patb(5,5) = na
'Estimate Structural VAR
{%y}_var.svar(rtype=patsr,namea=pata,nameb=patb)
{%y}_var.fcast(g) _{%y}f _{%y}se
next

Can you please help? Thanks a lot.
Nil

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

Re: fcast error message - Unable to compute due to missing d

Postby EViews Gareth » Wed Mar 02, 2016 11:28 am

Would need to see the workfile

nilsvo
Posts: 4
Joined: Wed Mar 02, 2016 10:37 am

Re: fcast error message - Unable to compute due to missing d

Postby nilsvo » Wed Mar 02, 2016 2:10 pm

.
Last edited by nilsvo on Wed Mar 02, 2016 2:14 pm, edited 1 time in total.

nilsvo
Posts: 4
Joined: Wed Mar 02, 2016 10:37 am

Re: fcast error message - Unable to compute due to missing d

Postby nilsvo » Wed Mar 02, 2016 2:13 pm

Did the workfile come through?
Ireland Data.WF1
(12.18 KiB) Downloaded 925 times

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

Re: fcast error message - Unable to compute due to missing d

Postby EViews Gareth » Wed Mar 02, 2016 2:32 pm

You can't forecast over the estimation sample - you need actual data for the pre-forecast period.

nilsvo
Posts: 4
Joined: Wed Mar 02, 2016 10:37 am

Re: fcast error message - Unable to compute due to missing d

Postby nilsvo » Wed Mar 02, 2016 2:58 pm

Right. Of course. Thank you very much. That works perfectly.
Nil


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 2 guests