A Data Science Central Community
The Kalman filter has been extensively used in Science for various applications, from detecting missile targets to just any changing scenario that can be learned.
I'm trying to understand how Kalman Filter can be applied on Time Series data with Exogenous variables - in a nutshell, trying to replicate PROC UCM in excel.
State-space equation :
To those familiar with the Kalman filter, it essentially consists of the following two steps,
Predict:
Update:
Most of the text on Kalman only introduce univariate analysis, with no exogenous variables. And most applications in control engg seem to suit that as well.
What I'm stuck figuring is -
1. How can I update the H matrix with every observation? Pretty much, MMSE or ML can help me do this, but I'm just unable to do this with just one observation! The problem of recursive estimation with just one observation if I could say...
2. How can I bring in the estimation of betas of other exogenous variables that also affect the Y variable, so, I'm going to be understating the latent state variable to be just a constant base or linear trend.
Any help would be greatly appreciated, and if you have some good docs/sites that explain this better for the econometrician, please do pass it on.
Thanks,
Arun
Tags: Adaptive, Dynamic, Estimation, Exogenous, Filter, Filtering, H, Kalman, MMSE, Matrix, More…Models, Recursive, Regression, Series, Time, Variables
Arun,
As an Econometrician, why aren't you using a "Transfer Function" model?
Isn't Kalman Filtering a part of the Transfer Function models? Atleast, that's what I thought from all the research in the background..
Arun,
A Kalman Filter model is a State Space Transform of a Transfer Function model. It has been found to be useful when you have chunks of missing data and can incorporate transience in parameters. Strictly speaking, the models are similar but in practice a TF model properly formed can lead to the idenitification of unspcecified deterministic structure which is a generalization of the UCM approach. For example, pulse outliers, changes in trend/seasonality/trend/parameters/variance can exist and need to be modeled. The inclusion of lead and lags on the causals are also of importance.
The existence of multiple trends in a time series is as likely as multiple level shifts. Addressing these issues our software, Autobox , addresses these automatically. Send over your data and we will run it and send you back results. My email is [email protected]
© 2020 AnalyticBridge.com is a subsidiary and dedicated channel of Data Science Central LLC Powered by
Badges | Report an Issue | Privacy Policy | Terms of Service
Most Popular Content on DSC
To not miss this type of content in the future, subscribe to our newsletter.
Other popular resources
Archives: 2008-2014 | 2015-2016 | 2017-2019 | Book 1 | Book 2 | More
Most popular articles