Serving the Quantitative Finance Community

 
User avatar
whenao
Topic Author
Posts: 0
Joined: August 3rd, 2005, 8:37 pm

My kalman filter's fit is too good

June 29th, 2009, 5:53 pm

Hi everyone; I have the following problem. I'm trying to fit a time series (linear regression with several dependent variables). And I'm using a Kalman filter; however... the fit is extremely good. What I mean is that the residuals are all extremely close to zero.While it would be great to get such a fit I think I'm doing something wrong. Is this OK? if you multiply the current varying coefficients times the current variables are you supposed to always get exactly the value in the dependent variable?If this is the case; I guess the best forecast for the time series would be to use the latest coefficients for future data?Plz help.
 
User avatar
Alekk
Posts: 0
Joined: September 14th, 2007, 4:39 pm

My kalman filter's fit is too good

June 30th, 2009, 12:48 pm

I would be surprised if you get a very good fit, especially with financial data. Could you give more details on your model ?
 
User avatar
Rez
Posts: 24
Joined: May 28th, 2003, 9:27 pm

My kalman filter's fit is too good

June 30th, 2009, 8:12 pm

residuals of what?If it is resids from the latent factor it might mean that the model is overidentified and therefore spurious.
 
User avatar
acken
Posts: 0
Joined: December 18th, 2003, 4:47 pm

My kalman filter's fit is too good

December 1st, 2009, 8:54 am

yes.. u get a good fit generally with KF. there are so many degrees of freedom potentially for each of the data point. further u are optimising in -sample. but out of sample, the forecasts will not be that good.
 
User avatar
Marine
Posts: 0
Joined: July 17th, 2003, 7:56 am

My kalman filter's fit is too good

December 3rd, 2009, 9:23 am

Add noise to your filter, you are probably setting 'Q' to zero. How are you determining your gain?