it is done here is the message that I receive:
Error using load_m_file_data_legacy
Some variables are missing (A B CNR CR G IG IP KG KP LNR LR PI R RB T TRANS U W Y tau_c tau_k tau_l)!
Error in makedataset (line 126)
DynareDataset = load_m_file_data_legacy(datafile, DynareOptions.varobs);
Professor Johaness
I think my git is perfect
the main problem comes from my database the message that appears after launching the git is the following:
Error using makedataset
makedataset: I can’t find a datafile (with allowed extension m, mat, csv, xls or xlsx)!
Error in dynare_estimation (line 118)
dynare_estimation_1(var_list,dname);
Error in henri_ngah.driver (line 517)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);
explain me step by step how I can insert the database i tried the three methods : import the data, generate the data and generate livee data.
here is my git and my database base DSGE.xlsx (12.0 KB) mohamedS.mod (8.0 KB)
my data contains the variables Y C G IG Sm IP
but I still get this massage!
Error using load_m_file_data_legacy
Some variables are missing (C G IG IP Sm Y)!
Error in makedataset (line 126)
DynareDataset = load_m_file_data_legacy(datafile, DynareOptions.varobs);
You are not listening carefully. You need to specify xls_range=D1:I22. Also, you need to provide the most recent files that cause issues. Your last upload has a totally different set of varobs.
excuse me really, if I understand well I just import the database without generating a git and I place rangeD1:I22 and I specify the varobs in the same estimation git that is in the same line?
proffesor Johaness excuse me really
I’ll pass you my recent git and excel sheet
please try to correct the problem base DSGE.xlsx (12.0 KB) mohamedSALIM.mod (8.0 KB)
the variables in my excel sheet are Y C IG IP Sm G
I declared these last ones as varobs
but I still get the following message:
Error using load_m_file_data_legacy
Some variables are missing (C G IG IP Sm Y)!
Error in makedataset (line 126)
DynareDataset = load_m_file_data_legacy(datafile, DynareOptions.varobs);
good evening professor
I have tried but I still can’t do it. Please try to complete my git if you don’t mind of course.
thank you very much for your attention