Dot indexing is not supported for variables of this type

Hi, I am stuck with the following error when I run my dynare code

nonlinear_exo.mod (8.6 KB)
nonlinear_ss.m (3.5 KB)

dynare nonlinear_exo.mod

Using 64-bit preprocessor
Starting Dynare (version 4.6.4).
Calling Dynare with arguments: none
Starting preprocessing of the model file ...
Found 37 equation(s).
Evaluating expressions...done
Computing static model derivatives (order 1).
Computing dynamic model derivatives (order 1).
Processing outputs ...
done
Preprocessing completed.
 Dot indexing is not supported for variables of this type.
 Error in set_param_value (line 22)
 i = strmatch(pname,M_.param_names,'exact');
 Error in nonlinear_exo.driver (line 496)
 set_param_value('sigm',sigm);
 Error in dynare (line 293)
 evalin('base',[fname '.driver']) ;

Can anyone tell me what’s problem in this case and how to fix it?
Is the problem due to error when running the model or something I mistyped when loading the parameters?

By the way, what I was trying to replicate was Sims, Wu, and Zhang (2021, RESTUD) “The four equation New Keynesian model”

I hope to get a hand!

Please also provide the file param_nonlinear_exo

param_nonlinear_exo.mat (2.6 KB)

Is this what you ask? Thanks for your attention!

Thank you. The problem is the housekeeping part in your model, this is not needed. So just get rid of the

close all;
clear all;
warning off;

part and the code runs. Now, you can tackle the indeterminacy problem.

Best

1 Like