by lomacro » Wed Mar 22, 2017 11:25 am
Thank you very much for the reference, that's a quite interesting one. I haven't found anything really satisfying myself ( some authors replace it by a dividend shock on first profits...).
I have a related question, my issue is related to the empirical moments obtained when computing conditional welfare which are returned as NaN. I would like to check that most of the policy instruments have a reasonable volatility over my grid and therefore, I need well defined moments for each points on the grid.
Are those moments computed by the Stoch_simul(..., periods=1000) command the conditional variance ?
I am assuming that those are not well defined due to the conditioning set but extending the number of periods to 100000 and burning the first 10000 but that didn't help, I still got NaN and only the the theorical moments (those returned by the stoch_simul command without the number of periods defined) are well defined. Shouldn't the two approaches converge to the same moments ? Am I missing something?
I am searching for a way to obtained those unconditional moments without having to run twice Stoch_simul for each point on the grid (one to get the conditional welfare and one for the unconditional moments for this particular set of parameters). Pruning could also help but that might make the measure of welfare problematic (I haven't found any discussion of welfare ordering and pruning in the literature...).
I am also a bit puzzled about the policy rules computed with moments returned as NaN. Does it make sense with a second order approximation?
Could someone provide help ?
Thanks!