Hi!
I need the distribution of steady states after Metropolis iterations. Is it possible to see (or find, or save somehow) the distribution of steady states?
Thank you
oo_.Metropolis_steady_state=NaN(size(oo_.steady_state,1),nblck*nruns(1));
[ST,I] = dbstack;
if strcmp(ST(2).name,'random_walk_metropolis_hastings_core')
j=evalin('caller','j');
b=evalin('caller','b');
nruns=evalin('caller','nruns(1)');
oo_.Metropolis_steady_state(:,(b-1)*nruns+j)=zeros(size(oo_.steady_state));
end
[T,R,SteadyState,info] = dynare_resolve('restrict');
if strcmp(ST(2).name,'random_walk_metropolis_hastings_core')
oo_.Metropolis_steady_state(:,(b-1)*nruns+j)=SteadyState;
end
which random_walk_metropolis_hastings_core.m
edit random_walk_metropolis_hastings_core.m
Users browsing this forum: No registered users and 5 guests