Skip to content
Prev 4088 / 15274 Next

Hamilton Filters (and Kalman)

Actually, there are a lot of implementations of Kalman filters in R. For the
Hamilton filter, see the MSVAR package for an implementation. You can look
at some of the packages that implement hidden markov models (e.g.
hmm.discnp,  hsmm, HiddenMarkov) which implement MS type models where there
are only exogenous variables (no lagged dependent variables).

-----Original Message-----
From: r-sig-finance-bounces at stat.math.ethz.ch
[mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of Brian G.
Peterson
Sent: Tuesday, May 19, 2009 9:13 AM
To: Matthias.Koberstein at hsbctrinkaus.de
Cc: r-sig-finance at stat.math.ethz.ch
Subject: Re: [R-SIG-Finance] Hamilton Filters (and Kalman)

after some recent casting about on the several Kalman implementations in 
R, I suggest you take a close look at FKF:

http://cran.r-project.org/web/packages/FKF/index.html

I have no experience with the Hamilton filter.  Please share any code 
you come up with to implement it with the community.

Regards,

  - Brian