Page 1 of 1

problem on techno shock

PostPosted: Thu Jul 15, 2010 12:18 pm
by cel
Hi everybody,

I am implementing the non-linear BGG model and I am confused about what's happening to my technology shock...
Here is the idea:

The production function is:
Code: Select all
 y          = ((techno*l)^(1-alpha))*(k^(alpha));

where the variable techno is defined as:
Code: Select all
 (techno/technobar) - ((techno(-1)/technobar)^rhoTechno)*exp(eps_techno);

with technobar=1 and rhoTechno=0.95

in initval, I specified:
Code: Select all
techno      =  technobar;


and in shocks:
Code: Select all
shocks;
    var eps_techno = 0.1^2;
end;



And, it seems that the shock has no impact on the dynamics (variance decomposition = 0 and IRF are not plotted).

I don't see the problem.... The .mod file is enclosed.

Thanks a lot!

Re: problem on techno shock

PostPosted: Fri Jul 16, 2010 6:45 am
by jpfeifer
Sorry, but your mod-file does not run. Apart from a missing bracket in
Code: Select all
y          = (techno*l)^(1-alpha))*(k^(alpha))

I am not aware that Dynare is able to deal with log-normal cdfs. Hence
Code: Select all
logncdf

is not recognized. Judging from the manual, you may have to rewrite everything in terms of a
Code: Select all
normcdf


See page 12 of the manual.

Re: problem on techno shock

PostPosted: Fri Jul 16, 2010 7:59 am
by cel
Hi,
Thanks for the reply. yes, actually, the s.s computation is on another file and I have to use dynare V3.065 if I want to run cdf functions.
Actually, I found the problem, there were a mistake in the specification of the labor disutility function, it works with a CES-type utility function.
Thanks again,
best