problem with osr

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.

problem with osr

Postby otb » Thu Jun 19, 2008 3:51 pm

I'm having trouble with the optimal simple rule (using v.3). The example file that Michel had provided in this forum for osr runs just fine.

My program (which has 20 variables) runs with stoch_simul, but is giving me the following error message when I run osr.

I've checked for typos, that's not the issue. Has anyone encountered a similar problem? Any suggestions how it could be fixed?

Thanks a lot.


*******************
??? Index exceeds matrix dimensions.

Error in ==> osr_obj at 41
weights = weights(dr_.order_var,dr_.order_var);

Error in ==> osr1 at 24
[f,vx,info] = osr_obj(t0,params,weights);

Error in ==> osr at 37
[dr_,info] = osr1(params,W)

Error in ==> OP2 at 214
osr(var_list_,osr_params_,optim_weights_);

Error in ==> dynare at 26
evalin('base',fname) ;
otb
 
Posts: 26
Joined: Mon Apr 07, 2008 4:47 pm

Postby otb » Thu Jun 19, 2008 4:44 pm

I now tried running my program with v4, and it works. In the Version 4 page, it states that optimal policy doesn't work in v4 yet. I'm guessing that's no longer valid, but I still want to make sure.
otb
 
Posts: 26
Joined: Mon Apr 07, 2008 4:47 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests