Kalman Filter Equity Example

I am looking out for some material where I can study about Kalman Filter applied to Equity using Excel or R?

-

A great example of kalman filtering is in the Kyle Model. I have attached a presentation on the application of R to the kalman filter in the Kyle Model.

http://www.rinfinance.com/RinFinance2009/presentations/microstructure-tutorial.pdf

Basically in the Kyle Model, a market maker finds the likelihood an asset is ending up at a certain price given that a person is an informed trader. Given this, you update what the final price will be by each successive trade through a kalman filter

-
Thanks for your suggestion it seems like the link mentioned here is for microstructure-tutorial and not for kalman filter. Can you please share link for Kalman Filter. – Add Dec 15 '12 at 14:22
a Kalman Filter is built into the Kyle-model. Implementing the settings for the kyle model will give you a great example of how some market makers actually trade as well as some intuition of real financial markets using kalman filter – Andrew Dec 17 '12 at 15:01

A simple google search should get your started:

I like this one the best because it compares different packages:

and here couple more:

But I highly recommend you to also read up on unscented kalman filters and particle filters because they are much more applicable to financial time series (handle non-normality):

-
Some great resources there. I think I have a vague sense of how the particle filter works, but I don't find it very intuitive. That March 2003 talk says that PF is best for multi-modal or skewed pdfs (implying that EKF or UKF might be better otherwise). Any insight if you only want to use a Kalman filter with t distributed errors? – John Dec 6 '12 at 15:34
well my point was that a Kalman filter makes the assumption of normally distributed error terms and also that the equation must be linear (linear dynamic system) which is not in agreement with empirical evidence gathered from analyzing financial time series data. I remember there was a youtube lecture video implementing a particle filter on stock time series, estimating highs and lows for a momentum based strategy. A quick search did not get me anything. If I find it later then I will post the link – Matt Wolf Dec 6 '12 at 15:48
I read a bit about how to use Particle Filters for on line Bayesian estimation. Don't understand all the math yet, but that might be a good enough reason to use them. – John Dec 7 '12 at 22:40

The following paper gives you a step-by-step presentation of how to use the Kalman filter in an application in a pricing model framework for a spot and futures market. Everything is explained using Excel:

A Simplified Approach to Understanding the Kalman Filter Technique
by T. Arnold, M. Bertus and J. M. Godbey

-