You are confusing something. Dynare does not support Markov-Switching DSGE models yet. It only support SBVARs. You may want to take a look at Junior Maih’s RISE toolbox.

I am trying the rise box examples on Markov Switching and got some wrong information. Could you pls. help me to fix this problem?

thanks!

Lin

addpath c:\rise_toolbox\examples\MarkovSwitching\RamirezWaggonerZha2012
frwz_nk0=rise(‘frwz_nk’);
file2blocks:: (gentle warning): psi is also a matlab function
parse:: Model parsing . 0.1181 seconds
parse:: Steady State Model parsing . 0.0145 seconds
parse:: exogenous definitions block parsing . 0.0009 seconds

Now computing symbolic derivatives…

parse:: Derivatives of dynamic model wrt y(+0-), x and theta up to order 2. 3 equations and 7 variables :0.7143 seconds
parse:: 1st-order derivatives of static model wrt y(0). 3 equations and 3 variables :0.0793 seconds
parse:: 1st-order derivatives of static BGP model wrt y(0). 6 equations and 6 variables :0.1611 seconds
Error using dsge/frontier (line 46)
Not enough input arguments.

Error in rise_generic/set/set_all_options (line 273)
myoptions=utils.miscellaneous.mergestructures(myoptions,…

Error in rise_generic/set (line 93)
set_all_options()

Error in dsge/set (line 95)
obj=set@rise_generic(obj,varargin{:});

Error in dsge (line 226)
obj=set(obj,varargin{:});

Error in rise (line 66)
obj=obj@dsge(varargin{:});