Sampling from truncated prior distributions

Michel,

Is there a simple way to sample from a normal prior that is truncated? Or do I need to redefine parameters such that truncation is not necessary? This is not always easy to do.

Eric

Hi Eric,

no, at the moment, there is no way to draw from a truncated normal distribution to do simulation with stoch_simul.
I will add it in version 4.

Best

Michel

Michel,

Thanks. I was also wondering if you planned on adding a particle filter to the next version. It would facilitate the estimation of second-order solutions.

Eric

Yes, but it is a more distant horizon. I know that Jesus Fernandez-Villaverde and Juan Rubio-Ramirez are making progress as it is obvious in their recent paper “Estimating Macroeconomic Models: A likelihood Approach”. It will most likely help us.

Best

Michel