How do I use this .MAT input file now? Do I replace it just in my Model8 file instead of “datafile=data1” I use “datafile=Slovenia” and in your code instead of “datafile=fs2000_data” I use again “datafile=Slovenia”?
What about in the second file that I need to run, “run.m”? I see no “datafile” command there, so where do I input the Slovenian data? Thank you.
Wow, so the following operation is done both by my run.m file and your paragraph?
“First, we try to estimate the DSGE model using a classical maximum likelihood approach to inference. Technically this is done by a Kalman filter approach. To run the Kalman filter procedure, initial values for the parameters of interest must be specified, however. Because likelihoods can have several peaks, we use multiple starting values. We do this to make sure that we indeed estimate the parameters that maximize the likelihood (or, in our case, minimize the negative log-likelihood, which is equivalent). To implement this, we set up a loop that performs 2,500 different draws of vectors of starting values. This indeed takes some time (several hours). Of course, you can reduce the number of draws and therefore the computational time. All this is done by running the script “run.m” placed in the folder “Searching for Starting Values - Full Sample”.”
No, because those variables are not defined in the context of our model. You need to read in the Excel file and assign its content to variables with the correct name.