Dear professor, thanks for your reply, I try again and get the result as following,
- Code: Select all
OPTIMAL VALUE OF THE PARAMETERS:
gammaq 5.90495
gammaY 13.6422
gammapi 2.06038
Objective function : 0.404872
1. But the optimal value of parameters seems so large. For example, the three parameters here are the reaction coefficient in the Taylor-type interest rate rule, but compared to the calibration, they're so large. In addition, what's the meaning of the objection function, is 0.404872 the minimal vaule of the welfare loss?
2. As for your answer to the third question, I did confuse the conditional variance and the unconditional variance of inflation and output. Actually I use both of them in my thesis. For example, when I modify the value of certain parameter and want to study the effect of the parameter, I set the size of the interest rate shock and the housing price shock as 1 unit, respectively, and I get the data of the fluctuations of inflation and output in the subsquent 20 periods, then I calculate the standard deviation of the data, regard it as the conditional variance(or standard deviation) and attempt to find the optimal value of the parameter by comparing the sdt under different parameter calibration. Under some conditions, the changing directions of the std of output and inflation are the same, which increase the convenience of analyzing optimal parameters, but sometimes the changing directions are opposite, so I want to add an welfare loss function and get the unconditional variance to make further analysis. Above is my understanding of conditional variance and unconditional variance, could you please tell my if it is right?
3. There are still some details that I want to confirm.
a. For the housing price shocks, the value of the parameter is better when the standard deviation is smaller, which means a weaker economic fluction caused by 1 unit housing price shock. But for the interests shocks, is it right that the value of the parameter is better when the std is larger, which means a stronger regulation of interest rate policy?
b. For the unconditional variance, I think it represents the long-term volatility, so it's caused by a series of random shocks, not a single shock like 1 unit housing price shock or interest rate shock. Therefore, the smaller the std, the better the value of parameter. Is my understanding right?