Replicating problem: dynare working paper No.42 Financial frictions in a DSGE model for Latvia

Hi there,

I am trying to replicate the dynare working paper NO.42 Financial frictions in a DSGE model for Latvia.

dynarewp042.rar (1.1 MB)

However, when I run the the following code in Matlab

dynare foreign_svar50 nostrict

I have the following errors:

Error using makedataset (line 108)
makedataset: I can’t find a datafile (with allowed extension m, mat, csv, xls or xlsx)!

Error in dynare_estimation_init (line 553)
[dataset_, dataset_info, newdatainterfaceflag] = makedataset(options_, options_.dsge_var*options_.dsge_varlag,

Error in dynare_estimation_1 (line 110)
dynare_estimation_init(var_list_, dname, [], M_, options_, oo_, estim_params_, bayestopt_);

Error in dynare_estimation (line 118)

Error in foreign_svar50.driver (line 422)

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

I have another problem when I run

dynare baseline241 nostrict

It shows the errors as follows:
Error using load
Unable to read file ‘foreign_svar50_oo_.mat’. No such file or directory.

Error in baseline241.driver (line 1934)
load foreign_svar50_oo_.mat;

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

Can anyone help with this? Thank you so much!


1 Like

From what I can see, the replication files are incomplete as the mat-files that are loaded in these files are missing. You may want to contact the authors.