how to auto-update starting values in a loop?

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Novi
Posts: 44
Joined: Sun May 16, 2010 11:48 am

how to auto-update starting values in a loop?

Postby Novi » Sun May 16, 2010 12:01 pm

Hello everybody!
I am new in the forum so please excuse me if this topic was already covered by somebody else but I couldn't find it..
My question is the following: do you know if there is a method in Eviews to auto-update the starting parameters in a system estimation?
I make myself clearer: I want to write a loop where I constrain the starting values of each iteration to be estimated parameters of the system in the previous iteration, HOW CAN I DO THAT? as far as I know the "sys.append param" command allows only for numbers to be written as starting values, while I would like to tell the program to use as starting values the parameters which I stored in a vector from previous estimation...
Can somebody help??

Thanks in advance :)

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: how to auto-update starting values in a loop?

Postby EViews Gareth » Sun May 16, 2010 12:19 pm

If you don't include a param statement in your system, then the starting values will be whatever is currently in the coefficient vector at the time of estimation. Thus an easy way to set starting values is to simply set the values inside the coefficient vector(s). Also, after estimation, the coefficient vectors will be filled with the estimated values. Thus, in your case, you don't need to do anything at all, for each estimation your starting values will be equal to the previous iteration's estimated values.

Novi
Posts: 44
Joined: Sun May 16, 2010 11:48 am

Re: how to auto-update starting values in a loop?

Postby Novi » Mon May 17, 2010 9:09 am

Thanks!
That was easy...I just thought that worked for equations and not for systems...
thank you so much again*


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests