Left side and right side don't match

Hi everyone,

I’ve these files that cannot run.

The error I get is:

Unable to perform assignment because the size of the left side is 70-by-70 and the size of the right side is 69-by-70.

Error in stochastic_solvers (line 211)
b(:,cols_b) = jacobia_(:,cols_j);

Error in resol (line 119)
[dr,info] = stochastic_solvers(dr,check_flag,M,options,oo);

Error in check (line 45)
[dr,info,M,~] = resol(1,M,options,oo);

Error in GK_equity_SW.driver (line 762)

Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);

I know this problem has already been raised on this forum but I still have no clue how to fix this. I’m a beginner.

I’m sending the file and if someone can fix it, please tell me the logic behind it, I try to learn as much as possible.

GK_equity_SW.mod (12.4 KB)
GK_equity_SW_steadystate.m (4.0 KB)
ss_fun_GK_equity_SW.m (3.0 KB)

Note that I’ve Dynare 5.5.

Have a nice day.

Charles

Hi Charles, I was able to run these codes, by just renaming delta parameter to cdelta. So it seems like it was some naming conflict. See if it works now at your end.
charles_j.zip (9.1 KB)

That is strange. I cannot reproduce the issue.

Thank you Deb, now it works perfectly.

Have a nice day.

Charles