Help with trying to run mod file

Hi,

I am new to dynare as I am using it for my masters dissertation but I stumbled across a problem that I needed advice on.

I tried to run my mod file, specifying the location. It then gave me three options either to use all the endogenous variables, observed or stop dynare and change mod file. I specified the first option however it states many errors and I dont know how I can overcome it

Any help would be highly appreciated

'UK2018_SWFA (5).mod (11.8 KB)

Hana

A follow up to my question

This is the output it produces which I don’t understand because prior I was able to locate the mod file

Error using load
Unable to read file ‘UK_SWFA_mode’. No such file or directory.
Error in dynare_estimation_init (line 167)
mode_file = load(options_.mode_file);
Error in dynare_estimation_1 (line 116)
dynare_estimation_init(var_list_, dname, [], M_, options_, oo_, estim_params_, bayestopt_);
Error in dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);
Error in UK2018_SWFA_a (line 613)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 235)
evalin(‘base’,fname) ;

You are loading a mode-file that does not seems to be present.

Dear Professor,

I am using a mod file “UK_SWFA.mod” . I also set the path so dynare is aware of the existence of the file so I don’t understand why its presenting the file name as “mode”. Could this be a syntax error?

The mode-file is different from the mod-file. The former is a .mat-file storing the parameter vector maximizing the posterior density. It is called in your estimation-command after mode_file=.