Page 1 of 1

fcast error message - Unable to compute due to missing data

Posted: Wed Mar 02, 2016 10:58 am
by nilsvo
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

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

Posted: Wed Mar 02, 2016 11:28 am
by EViews Gareth
Would need to see the workfile

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

Posted: Wed Mar 02, 2016 2:10 pm
by nilsvo
.

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

Posted: Wed Mar 02, 2016 2:13 pm
by nilsvo
Did the workfile come through?
Ireland Data.WF1
(12.18 KiB) Downloaded 927 times

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

Posted: Wed Mar 02, 2016 2:32 pm
by EViews Gareth
You can't forecast over the estimation sample - you need actual data for the pre-forecast period.

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

Posted: Wed Mar 02, 2016 2:58 pm
by nilsvo
Right. Of course. Thank you very much. That works perfectly.
Nil