Dear everyone,
at first, thanks for this great Add-in. At this moment I am trying to estimate a BFAVAR with two factors (extracted from a number of series X1 to X4) and with two Y series Y1 and Y2. The order of my BFAVAR is supposed to be the following: F1 F2 Y1 Y2. And I want to measure the response of Y2 to a shock of Y1.
My code: bfavar(factor=2, horizon=20, rep=1000, burn=200, ci=0.9) 3 x yx_nr tcode yx_name @ Y2 Y1
(x:matrix of X1 X2 X3 X4, yx_name: the names of Y1 Y2 X1 X2 X3 X4 and yx_nr: 5 6 1 2 3 4)
Is it possible to have more than one Y series? And is the code right if I want to measure the responses to a shock in Y1?
Are yx_name and yx_nr built the right way for this purpose?
(I use Eviews 9.5).
Thanks in advance!
Angelina
BFAVAR Add-In
Moderators: EViews Gareth, EViews Moderator, EViews Esther
Re: BFAVAR Add-In
Hi, thank you for great add-in. But I found "error 14" and "error 15" when running bfavar_ex.prg. Could anyone help me?
Re: BFAVAR Add-In
What is the version you use?
Re: BFAVAR Add-In
Thank you for your reply. I use version 11.What is the version you use?
(FYI: I also installed favar add-in and run favar_ex.prg successfully.)
Re: BFAVAR Add-In
I will try to update it. It will run for the version 9 or 10.
Re: BFAVAR Add-In
Thanks! I am looking forward to the update.I will try to update it. It will run for the version 9 or 10.
Re: BFAVAR Add-In
It is updated. The moderator will upload it soon.
Re: BFAVAR Add-In
Could someone please provide a tutorial regarding the transformation code and X and y variables ?
Tried to find BFAVAR in user manual but it is not there.
Awaiting your response.
Tried to find BFAVAR in user manual but it is not there.
Awaiting your response.
Re: BFAVAR Add-In
Code: Select all
' open the BBE data that is transformed to induce stationarity
wfopen(type=txt) nsbalpanel.txt delim=space
pagestruct(freq=m,start=1959)
'rename some variables
for !i=1 to 9
rename series0{!i} series{!i}
next
'do not standardize data. The package will standardize for you.
'Y variables
genr ffr=series77
'All variables (X) except Y variable (FFR)
group xdata
for !i=1 to 120
xdata.add series{!i}
next
xdata.drop series77
' Selection of key variables for impulse response analysis
'be carefull when you choose index number
' Y=ffr ordered last in the state space form, so its index 120
' remember -- with Y dropped from xdata, so -1 after 77. for exmaple, index(120)=120-1
vector xir =@fill(120, 16, 107, 77, 80, 95, 92, 74, 101, 17, 49, 50, 51, 26, 48, 117, 54, 62, 71, 119)
'Vector of transformation code of Y (ffr) variable + selection of key variables (xir)
'1 for no transformation
'4 for logarithm
'5 for first difference of logarithm
vector code =@fill(1, 5, 5, 1, 1, 5, 5, 5, 1, 1, 5, 5, 5, 1, 1, 5, 4, 1, 1, 1)
'Name of Y variables Y(ffr) + selected key variables (xir)
' Please first put a name of Y variable then selected variables
text yx_name
yx_name.append(file) yx_name.txt
' or append manually
' yx_name.append FFR
' yx_name.append IP
' yx_name.append CPI
'......
' yx_name.append Consumer Expectation
bfavar(factor=3, horizon=48, rep=800, burn=200, ci=0.9) 13 xdata xir code yx_name @ ffr
Re: BFAVAR Add-In
Please am currently using Eview12 after successfully add-in for BFAVAR, when i go to Add-in to open BFAVAR a dialog box open with error 20 encrypted programmed. Please any help to unravel this error message.
Thanks
Thanks
Re: BFAVAR Add-In
Did you update Eviews you use? Could you provide the workfile?
Re: BFAVAR Add-In
ThanksDid you update Eviews you use? Could you provide the workfile?
Re: BFAVAR Add-In
Dear EViews,
I have been facing a problem in running eviews addin for BFAVAR. When i am running the program file it is saying 13 (which is number of lag in the program) is called as "illegal or reserved in the prog file" (Screen shot is attached).
Kindly help me to resolve this issue.
Regards
Rakesh
I have been facing a problem in running eviews addin for BFAVAR. When i am running the program file it is saying 13 (which is number of lag in the program) is called as "illegal or reserved in the prog file" (Screen shot is attached).
Kindly help me to resolve this issue.
Regards
Rakesh
Who is online
Users browsing this forum: No registered users and 2 guests