Page 1 of 1

Deterministic and stochastic shocks in simultaneous

PostPosted: Fri Nov 11, 2016 2:56 am
by L10ng1rl
Hello,

I'm working on a RBC model with a technological, a financial and a preference shock (all stochastic), but I would like to know if it is possible to generate a preference shock that for a certain time of the sample exhibits a stochastic behavior, and for remaining periods, behaves like a deterministic shock. Is it possible to begin with with the deterministic behavior by feeding specific initial values using histval? Thanks in advance for your attention, and I am able to provide more information about my model if you think it is pertinent.

Re: Deterministic and stochastic shocks in simultaneous

PostPosted: Sun Nov 13, 2016 2:23 pm
by jpfeifer
Dynare allows you to distinguish between stochastic surprise shocks (varexo) and known, anticipated shocks (varexo_det), see e.g. https://github.com/DynareTeam/dynare/blob/master/tests/forecast/Hansen_exo_det_forecast.mod. Alternatively, you can always go for a combination of surprise and anticipated news shocks.