Markov_switching duration parameter explanation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Markov_switching duration parameter explanation

Postby davidkelley » Tue Nov 12, 2013 5:31 pm

Would someone be able to briefly explain what the option in the markov_swithching command labeled "duration" actually refers to? Are we somehow restricting the state variable so that a state lasts multiple periods before it is allowed to potentially switch states?

If an answer to the above question doesn't imply that a value of 1 is nonsensical for this duration parameter, would someone also be able to explain why giving a duration of 1 gives the following error:

Code: Select all
CreateMarkovStateVariable_Single(): Error in restrictions
Error in MS-SBVAR MEX file.

Error using mexErrCheck (line 41)
Error encountered in: ms_sbvar_create_init_file.
Error in ms_sbvar_setup (line 443)
mexErrCheck('ms_sbvar_create_init_file',err);
Error in ms_estimation (line 40)
    ms_sbvar_setup(options_);
Error in lag4 (line 66)
[options_, oo_] = ms_estimation(M_, options_, oo_);
Error in dynare (line 120)
evalin('base',fname) ;

Thanks in advance. I apologize if I've missed this question already being answered elsewhere.
davidkelley
 
Posts: 13
Joined: Tue Apr 30, 2013 10:36 pm
Location: Evanstion, IL

Re: Markov_switching duration parameter explanation

Postby davidkelley » Wed Nov 13, 2013 9:58 pm

After spending the requisite time with SWZ, it is apparent to me that the parameter refers to the priors on the Markov chain and not a restriction.

Might I recommend substantial edits to the reference manual, seeing as it doesn't mention that this argument has anything to do with priors? Also, it is giving the syntax incorrectly (using the old command "states" instead of "regimes").
davidkelley
 
Posts: 13
Joined: Tue Apr 30, 2013 10:36 pm
Location: Evanstion, IL

Re: Markov_switching duration parameter explanation

Postby jpfeifer » Thu Nov 14, 2013 9:36 am

Thanks a lot for pointing this out. We will deal with it.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Markov_switching duration parameter explanation

Postby davidkelley » Thu Nov 14, 2013 5:58 pm

Thank you.

In the meantime, is there still a way to specify a prior with different durations for each state of a Markov chain? Or was that functionality lost when the 'state' command was dropped?
davidkelley
 
Posts: 13
Joined: Tue Apr 30, 2013 10:36 pm
Location: Evanstion, IL


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests