Dear François,
The perturbation approach is not able to handle any kind constraint (positivity, probability less than one, ...) on the endogenous variables of a DSGE model. If you 'trick' dynare with max or min functions you introduce non differentiabilities and the Taylor approximation does not apply anymore. If instead you consider a logistic-like function, the S-shape pattern is lost when the model is linearized (the same if you choose a k-order local approximation).
Dynare simulates the approximated model using gaussian random numbers for the structural innovations. This can be seen at the end of the function
simult_.m:
- Code: Select all
oo_.exo_simul(:,i_exo_var) = randn(M_.maximum_lag+M_.maximum_lead+options_.periods,nxs)*chol_S;
Obviously you can truncate these innovations (modifying this matlab function). But a first problem is that the needed truncation should depend on the state of the economy (as a consequence innovations are not strong white noise). A second (more important) problem is that, when solving the model, the expectations are computed using non truncated distribution for the innovations. Consequently the expectations would not be consistent with the effective distribution of the innovations implied by the truncation.
I am not sure to understand how a finite a Markov Chain would help here... What do you have in mind ?
Best,
Stéphane.