Prior-posterior plots

Dear all,

after the estimation Dynare produces prior-posterior plots. Instead of using these plots I want to write my own Matlab code that would produce subplots with prior and posterior distrubutions as well as the estimated mode. I just want to plot prior-posterior distributions of the estimated parameters in different order, with different line specification etc.

My question is: where are these results stored in Dynare after the estimation that allow me to produce my own plots?


I wrote this code to do exactly what you ask. It is rudimental but it worked.
hope it helps
PP4.m (12.4 KB)

Dear Federico,

thank you very much for sharing your code. It helps me a lot.