Varying Param Initial conditions

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

cel
Posts: 35
Joined: Fri Jan 20, 2012 7:39 am

Varying Param Initial conditions

Postby cel » Sun Nov 11, 2012 12:49 pm

I'm estimating some non linear equations and naturally am finding that results are often pretty sensitive to the initial parameter conditions in the param statement.

I wonder therefore if anyone knows how to take all the parameters (or a subset) and simply, say, draw their value from a Normal distribution, estimate the eqn and then save those intial condiitions and some suitable metric (like R^2 or the loglik). Then do this repetedly in a loop.

I guess an important consideration would be an error handler since some of the drawn parameter vector would lead to non convergent solutions.

Thanks in advance!

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

Re: Varying Param Initial conditions

Postby EViews Gareth » Sun Nov 11, 2012 8:28 pm

Typing:

Code: Select all

nrnd(c)
will create standard normal random numbers in the C vector, which is used for starting values.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests