IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
90 stars 41 forks source link

IRIS toolbox latest #285

Open TAMTA876 opened 3 years ago

TAMTA876 commented 3 years ago

Hi, I am using the latest IRIS toolbox and r2020b matlab. I am using the codes which were written in the older version of IRIS. Now, I am facing the problem of dbload function. I am importing the data, but the can't read it. Is there changed anything in the dbload function? I am running the code : dbload([dpath 'L.csv'], 'dateformat','YYYYFP'), should I modify it?

jaromir-benes commented 3 years ago

Hi - first of all, the dbload function is deprecated. Use the new databank.fromCSV instead. Its syntax is similar, see help databank.fromCSV. The same goes for dbsave --> databank.toCSV.

To look into you issues, could you please describe in more detail what it means that the function cannot read the data? Do you get an error message? Or an empty databank? Could you please also post the CSV file from which you're trying to read the data?

Best, Jaromir

On Mon, Nov 16, 2020 at 9:31 PM TAMTA876 notifications@github.com wrote:

Hi, I am using the latest IRIS toolbox and r2020b matlab. I am using the codes which were written in the older version of IRIS. Now, I am facing the problem of dbload function. I am importing the data, but the can't read it. Is there changed anything in the dbload function? I am running the code : dbload([dpath 'L.csv'], 'dateformat','YYYYFP'), should I modify it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKSIRLSUBENM44AQAYLSQGD2FANCNFSM4TXVEA6A .

TAMTA876 commented 3 years ago

First of all, thank you for answering. I just mean the following: I have some csv files imported in Matlab R202b, then I just try to run the data.m file, where I have all the commands to load the data, transform it and then save it in another results' file. I constantly got the error message to load the data. Now, I changed dbload by databank.fromCSV and it went without error message. But, now, another types of warning occurs :

Warning: IRIS Toolbox Warning @ x13:x13. *** Unable to read at least on the X13 output file(s). The most likely cause is that X13 failed to estimate an appropriate seasonal model or failed to converge. Run X13 with three output arguments to capture the X13 output and error messages.

X13 says: Estimation failed to converge during the automatic model identification procedure

In foreign_demand at 5 In data at 38 Reference to non-existent field 'GDP'.

Due to this error, I am not able to run the script for Kalman Filtration and forecasting. I would be grateful if you suggest me how to deal with this errors?

jaromir-benes commented 3 years ago

Hi, this looks like the CSV data file is not properly being read in, and the resulting databank and/or its time series is/are empty.

Please upload the CSV file and the script you use to load it so I can have a look into what's wrong.

Best Jaromir

On Mon, Nov 16, 2020 at 10:11 PM TAMTA876 notifications@github.com wrote:

First of all, thank you for answering. I just mean the following: I have some csv files imported in Matlab R202b, then I just try to run the data.m file, where I have all the commands to load the data, transform it and then save it in another results' file. I constantly got the error message to load the data. Now, I changed dbload by databank.fromCSV and it went without error message. But, now, another types of warning occurs :

Warning: IRIS Toolbox Warning @ x13:x13. *** Unable to read at least on the X13 output file(s). The most likely cause is that X13 failed to estimate an appropriate seasonal model or failed to converge. Run X13 with three output arguments to capture the X13 output and error messages.

X13 says: Estimation failed to converge during the automatic model identification procedure

In foreign_demand at 5 In data at 38 Reference to non-existent field 'GDP'.

Due to this error, I am not able to run the script for Kalman Filtration and forecasting. I would be grateful if you suggest me how to deal with this errors?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/285#issuecomment-728331881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKXIFKKURFEWE43FOXDSQGIRBANCNFSM4TXVEA6A .