I have a mod file where I estimate via Bayesian and then run stoch_simul to get the asymptotic var decompositions. The problem is that (when I use estimation and stoch_simul without variables afterwards) the estimation shows all endogenous vars but the stoch_simul part only shows me the theoretical moments/vardecompositions of some variables. When I write the variables I want to see after the estimation and stoch_simul commands, it works fine for the estimation part (relevant IRFs are shown) but for the stoch_simul part, it restricts the variables from that smaller unrestricted stoch_simul set.

I am using the new macro-language and the last two lines of the mod file are:

estimation(datafile=sector_PPI, mode_compute=0,mode_file=PPI_5sector_mode,load_mh_file,mh_jscale=0.32,nodiagnostic,mh_replic=0,mh_nblocks=2,bayesian_irf,irf=25)pi r c x gc;

stoch_simul(nograph)pi r c x gc;

Can anyone help?