Code: Select all
command = equation & ".makeresid temp_resid"
app.Run(command)
command = "freeze(mode=overwrite,temp_resid2) temp_resid"
app.Run(command)
command = "temp_resid2.save " & output & "\\ACT_FIT_RES\\" & equation & ".makeresid"
app.Run(command)
however when I do it through the graphic user interface of Eviews I get the following output
Last updated: 05/30/11 - 14:31 Last updated: 05/30/11 - 14:31 Last updated: 05/30/11 - 14:31 Last updated: 05/30/11 - 14:31 Last updated: 05/30/11 - 14:31
XYZ - 12/04/04 NA NA NA NA NA
XYZ - 1/08/05 NA 0.327887 -0.331114 -0.225509 -0.00157
XYZ - 2/12/05 0.324257 -0.118165 -0.139507 -0.280549 0.064118
Why is this happening?XYZ - 12/04/04 NA
XYZ - 12/11/04 NA
XYZ - 12/18/04 NA
XYZ - 12/25/04 NA
XYZ - 1/01/05 NA
XYZ - 1/08/05 NA
XYZ - 1/15/05 0.327887
XYZ - 1/22/05 -0.331114
XYZ - 1/29/05 -0.225509
XYZ - 2/05/05 -0.001570
XYZ - 2/12/05 0.324257
XYZ - 2/19/05 -0.118165
XYZ - 2/26/05 -0.139507
XYZ - 3/05/05 -0.280549
What changes do i need to do to the vb script to get the output as i am getting in GUI?
Thanks in advance.
-Ravi
