State Space - Different results each time I run
Posted: Fri Nov 11, 2016 5:48 am
Hello,
I am attempting to apply a kalman filter (via state space object) to detrend the solow residual. To run the filter, I rely on HP-filtered series as proxies for the initialisation vector, to set the variances of the state variables, and to set the variances of some of the error terms. Because setting the variances of all error terms produces implausible results, I would like to leave the variance of E2 diffuse.
My problem is that I get different outputs depending on the sequence in which I run the filter. When I try to run the filter, setting the variances of E1 and E3, and leaving E2 diffuse, I get a message saying 'Failure to improve the log likelihood ...] However, when I first run the filter with all error variances specified (which produces convergence), and then go back and change the specification to set E2 to diffuse, convergence is achieved. Can anyone please suggest why this is the case?
I am attempting to apply a kalman filter (via state space object) to detrend the solow residual. To run the filter, I rely on HP-filtered series as proxies for the initialisation vector, to set the variances of the state variables, and to set the variances of some of the error terms. Because setting the variances of all error terms produces implausible results, I would like to leave the variance of E2 diffuse.
My problem is that I get different outputs depending on the sequence in which I run the filter. When I try to run the filter, setting the variances of E1 and E3, and leaving E2 diffuse, I get a message saying 'Failure to improve the log likelihood ...] However, when I first run the filter with all error variances specified (which produces convergence), and then go back and change the specification to set E2 to diffuse, convergence is achieved. Can anyone please suggest why this is the case?