jmaih / RISE_toolbox

Solution and estimation of Markov Switching Rational Expectations / DSGE Models
BSD 3-Clause "New" or "Revised" License
104 stars 77 forks source link

LWZ 2013 #100

Closed gospurs666 closed 5 years ago

gospurs666 commented 5 years ago

Dear Junior,

Hope this email finds you well. I encounter the following error when I try to run the posterior sampling section of master_switch.m in LWZ2013:

Error using mcmc.process_draws/re_order_names (line 244) Index exceeds matrix dimensions.

Error in mcmc.process_draws (line 72) [N,chains,stud]=re_order_names();

Error in mh_sampler>do_one_chain/reload_options (line 559) [~,~,~,summary]=mcmc.process_draws(options.save.location,chain);

Error in mh_sampler>do_one_chain (line 202) [log_c,isave_batch,idraw,accept_ratio,bestSoFar]=reload_options(chain);

Error in mh_sampler (line 106) parfor(ichain=1:nchain,nworkers)

Could you tell me how to fix this problem? Thank you!

By the way, do you have any plan to offer courses in RISE recently? Please tell me if there is one and I would like to go there to learn from you. Thank you!

Best, Mike

jmaih commented 5 years ago

Hi Mike,

Will you, please, update RISE and try again?

With respect to courses, I seldom organize courses myself. Oftentimes what happens is that I get invited by various institutions around the world to teach. I think the next course I will organize myself will take place in 2020 but I have not started planning it yet.

If you send me an email, I can add your email to a mailing list and in that way you will know when there is a course coming up.

Cheers,

Junior

On Sat, Feb 23, 2019 at 2:09 AM gospurs666 notifications@github.com wrote:

Dear Junior,

Hope this email finds you well. I encounter the following error when I try to run the posterior sampling section of master_switch.m in LWZ2013:

Error using mcmc.process_draws/re_order_names (line 244) Index exceeds matrix dimensions.

Error in mcmc.process_draws (line 72) [N,chains,stud]=re_order_names();

Error in mh_sampler>do_one_chain/reload_options (line 559) [,,~,summary]=mcmc.process_draws(options.save.location,chain);

Error in mh_sampler>do_one_chain (line 202) [log_c,isave_batch,idraw,accept_ratio,bestSoFar]=reload_options(chain);

Error in mh_sampler (line 106) parfor(ichain=1:nchain,nworkers)

Could you tell me how to fix this problem? Thank you!

By the way, do you have any plan to offer courses in RISE recently? Please tell me if there is one and I would like to go there to learn from you. Thank you!

Best, Mike

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jmaih/RISE_toolbox/issues/100, or mute the thread https://github.com/notifications/unsubscribe-auth/ACagzzYiI8BNYMqx5WXUpw5a9sg_oJMaks5vQJS8gaJpZM4bNYTS .

gospurs666 commented 5 years ago

Thanks Junior!