Dear All,
I need your help. I need to compute the perfect-foresight transition path (deterministic simulation) between an initial steady state and a final one.
I was wondering whether it is possible to use the steady state function to load into dynare both steady states. I know I could use the initval and endval command right after the model block, but my model is complicated that I want to avoid doing that.
Here is the sketch (in a much simpler model) of the steady state function that I currently use to load the initial steady state.
function [ys,check1] = rbc_steadystate(junk,ys);
global M_
%LOAD PARAMETERS AND INITIAL STEADY STATE VALUES
load PARAM.mat
load SSrbc_INIT.mat
M_.params = [ BETA ; DELTA; GAMMA; NU;
PSI; RHOZ; SIGMAU ;];
check1 = 0 ;
xxx = [Crbc; Irbc; lambdarbc; Nrbc; Krbc; Yrbc; Wrbc;1];
ys = xxx;
Thanks in advance, any help is appreciated.