forecasts using BVAR
Posted: Tue Mar 17, 2020 12:15 pm
Hi Tom
I am trying to forecast a variable y using BVAR. it is the dependent variable and given as log. However i want to generate forecast comparison statistics for antilog of lny. My commands are as follows:
This gives me forecast accuracy measures for lny. But how do i get the forecast accuracy measures for y. This would involve generating antilog of lny. I would appreciate any help in this.
Thanks and Regards
Deepika
I am trying to forecast a variable y using BVAR. it is the dependent variable and given as log. However i want to generate forecast comparison statistics for antilog of lny. My commands are as follows:
Code: Select all
OPEN DATA "C:\UsersData\Deepika\exchange rate paper of mam\data for exchange rate.xlsx"
CALENDAR(M) 1996:7
DATA(FORMAT=XLSX,ORG=COLUMNS) 1996:07 2013:12 lny x1 x2 x3
procedure runtheil
option choice type 1 symmetric general
option real tightness 0.2
option real decay 1
option real other 0.7
local integer time
system(model=bvar)
variables Lny x1 x2 x3
lags 1 to 2
det constant
specify(type=symmetric, lagtype=harmonic, tightness=.2, decay=1) .7
end(system)
theil(setup,model=bvar, steps=12, from=2007:01, to=2008:01)
estimate(noprint) 1996:07 2006:12
theil(print)
do time=2007:01;2008:01
Kalman
theil(print)
end do time
theil(dump)
END
@runtheil(tightness=.2,type=symmetric,decay=1,other=.7)Thanks and Regards
Deepika