Below is a sample program provided by EViews. The program could not fetch the “progdemp::hsf.”
What if I have an existing workfile with current HSN1F data from FRED? I would like to use the data from the existing workfile. If I were to create the relationship y = hsn1f, and would like to create a self-standing program file, how do I proceed so that I could use the program with the existing workfile?
' housing analysis
wfcreate(wf=myhouse) m 1968m3 1997m6
fetch progdemo::hsf
smpl 1968m5 1992m12
equation reg1.ls hsf c hsf(-1)
reg1.makeresid hsfres
smpl 1993m1 1997m6
reg1.forecast hsffit
freeze(hsfplot) hsffit.line
save
Basic Programming
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Who is online
Users browsing this forum: No registered users and 38 guests