I have simulated a two country rbc model as in Kim and Kim (http://web.cas.suffolk.edu/faculty/hkim/paper/transfer6.pdf ) and now I would like to measure how conditional welfare changes, changing a certain parameter (controlled by government) as they do in the paper.
As suggested here (viewtopic.php?f=2&t=5495) i have added the following formula in the linearized model:
- Code: Select all
welfare = u + beta*welfare(+1)
where u is the linearized utility function.
- Code: Select all
u =theta*(1-sigma)*c+(1-theta)*(1-sigma)*(lss/(1-lss))*l;
and simulated for 100000 periods.
- Code: Select all
stoch_simul(order=2,irf=100000,nograph);
But what i get in the oo_.mean is that the welfare mean is 0, as all the other variables.
Of course I'm missing something, maybe has something to do with the fact that my model is linear and i am using the linearized version of the utility function?
Thanks in advance!