Estimation with deterministic break
Posted: Thu Mar 24, 2016 10:02 pm
I would like to estimate a linearized DSGE model with the following characteristic: I want to allow one parameter to take a value for the first part of the sample and a different one in the second part. To simplify things, I'm willing to assume that this change is not anticipated by the agents in the model, nor they expect the parameter to change again after the change occurs; and I know when this “break” has occurred in my sample. Furthermore, I don't even want to estimate this parameter that is changing, only the other parameters in the model that I'm willing to assume do not change in my sample.
While I know conceptually how the estimation should be performed in this case (get two solutions of the model, one for each parameter value; use the first solution to compute the likelihood for the first part of the sample and the other for the rest of the sample; sum both log-likelihoods; and maximize the sum), I want to know if there is a way to do this in Dynare. My understanding is that there is no option in the estimation command to do this. Am I right? Even in this case, it is not obvious to me how to go "inside" the dynare code to try to implement this. I would appreciate any help regarding how to do this (maybe an example of someone that has already modified the estimation command to have a better idea on where to start).
Thanks for your help!
While I know conceptually how the estimation should be performed in this case (get two solutions of the model, one for each parameter value; use the first solution to compute the likelihood for the first part of the sample and the other for the rest of the sample; sum both log-likelihoods; and maximize the sum), I want to know if there is a way to do this in Dynare. My understanding is that there is no option in the estimation command to do this. Am I right? Even in this case, it is not obvious to me how to go "inside" the dynare code to try to implement this. I would appreciate any help regarding how to do this (maybe an example of someone that has already modified the estimation command to have a better idea on where to start).
Thanks for your help!