by shuang liu » Sun Apr 17, 2016 4:20 pm
Dear professor, thanks for your reply and that helps me a lot. I have modified the model and solved the problem. There is the new estimation figure. Could you please help me check the figure and see if there is something weird. And I got several new questions:
1.Why many variables don't come back to the steady state of 0.
2.I have seen your article "A Guide to Specifying Observation Equations for the Estimation of DSGE Models", and adjusted the data according to the article, but I still want to confirm if I use the right method.
a. Output: actually in my model(which is a model without a specified trend), I use two variables about output, total economic output and the output of the real estate sector. Firstly, I get the real output per capita, and then the data is seasonally adjusted(named y), taken the logarithm(named lny) and HP filtered(named hptrend_lny), so I use the difference between lny and hptrend_lny as the observation variables, named y_ob .
b. Inflation and interest rate: in the model, I use the gross inflation. Firstly, I get the gross inflation with the equation CPI(t)/CPI(t-1) , and then the data is seasonally adjusted(named pi),HP filtered(named hptrend_pi), so I use the difference between lnpi-ln(hptrend_pi) as pi_ob. As for the interest rate, I choose the 7-day inter-bank offered rate and use the same method to adjust the data. I find the mean of r_ob is not 0, but -0.03, so do I have to demean it and does the demeaned data suit the original taylor rule equation?
c. House price and land price: Actually, I think that the difference between the methods above is the order of taking logarithm and getting filtered. The article says that taking logs makes the resulting series scale invariant, which is important with exponentially growing variables. So I'm confused about how to deal with the data of house price, is it the same with inflation?
Actually, I have seen that "Never use an HP filter for detrending data for estimating a DSGE model" in your paper and the forum, and take the filter by one-side HP filter, but I didn't find out how to set the "one-side" in the EViews7.0 or 8.0 or 9.0. Could you please tell me how to run a one-side HP filter in EViews or Matlab?
3. In addition, I'm still confused about the form of the taylor rule. I use the equation R(t)=r_R*R(t-1)+(1-r_R)*(r_pi*pi(t-1)+r_y*(y(t-1)-y)) as the taylor rule. And in the linear model, the linear form of the taylor rule becomes R*R_hat=r_R*R*R_hat(-1)+)+(1-r_R)*(r_pi*pi*pi_hat(-1)+r_y*y*y_hat(-1)), where R, pi, y are the steady state of interest rate , gross inflation and output. I use R=1/beta and pi=1, but what's the value of y, should I use the mean of data series y or lny? I'm confused about it because there is much difference between y and lny.
Sorry to bother you with such basic problems and look forward to your reply sincerely.
- Attachments
-
- silvia_estimation.pdf
- (597.61 KiB) Downloaded 96 times