Extract forecasted values into excel spreadsheet
Posted: Tue Dec 29, 2015 1:46 pm
Hello, I'm running a model with several equations in order to forecast some variables. As an input I'm using a big excel file, where Eviews read the values, in this manner:
wfcreate(wf=model, page=model) q 1996q01 2016q04
cd "\\xxxxx\xxx....."
read(B3) var1 var2 var3 var4 var5 ....var30
Then, I have several equations for these multiple varibles and I solve the model
eq1.ls y x1 x2 x3
eq2.ls z v x2 x3 c
eq3.ls r x1 k j
Finally I solve the model
model bigmodel
for %eq eq1 eq2 eq3
bigmodel.merge {%eq}
next
Everything working and solved without problem, mi question is about extracting the forecasted values of some series into the excel spreadsheet that I used as input, for example, the variable Y has historical data , which in the excel spreadsheet in the range B3:B115, therefore I want the forecast of this variable to be inserted into the excel spreadsheet starting in B116 , so each time I run the whole model and get new forecast for the variables I want the forecast tto be inserted in the excel spreadsheet.
Any help is appreciated
wfcreate(wf=model, page=model) q 1996q01 2016q04
cd "\\xxxxx\xxx....."
read(B3) var1 var2 var3 var4 var5 ....var30
Then, I have several equations for these multiple varibles and I solve the model
eq1.ls y x1 x2 x3
eq2.ls z v x2 x3 c
eq3.ls r x1 k j
Finally I solve the model
model bigmodel
for %eq eq1 eq2 eq3
bigmodel.merge {%eq}
next
Everything working and solved without problem, mi question is about extracting the forecasted values of some series into the excel spreadsheet that I used as input, for example, the variable Y has historical data , which in the excel spreadsheet in the range B3:B115, therefore I want the forecast of this variable to be inserted into the excel spreadsheet starting in B116 , so each time I run the whole model and get new forecast for the variables I want the forecast tto be inserted in the excel spreadsheet.
Any help is appreciated