On the fit of the NK model
Posted: Sat Jan 17, 2015 9:35 am
Howdy!
I am trying to gauge the fit of the NK model by generating data, and comparing it to data sample used in the SW(2007) model.
I have the NK model (using the code available on this website nk.mod), which I run to get observations for inflation, output and interest rate (using the get_simul_replications.m code). Then I run a simple script (co.m) which uploads SW(2007) data, and the data generated by the nk model, and plots them. Then we can compare the two data sets. As you can see I get a terrible fit, which is surprising, as the data set is not even close to each other.
The data file usd contains the SW(2007) data for output,inflation and interest rate (transformed data used for estimation -dy,pin fobs,robs)
Can anyone comment? Appreciate it!
I am trying to gauge the fit of the NK model by generating data, and comparing it to data sample used in the SW(2007) model.
I have the NK model (using the code available on this website nk.mod), which I run to get observations for inflation, output and interest rate (using the get_simul_replications.m code). Then I run a simple script (co.m) which uploads SW(2007) data, and the data generated by the nk model, and plots them. Then we can compare the two data sets. As you can see I get a terrible fit, which is surprising, as the data set is not even close to each other.
The data file usd contains the SW(2007) data for output,inflation and interest rate (transformed data used for estimation -dy,pin fobs,robs)
Can anyone comment? Appreciate it!