Skip to content
Prev 4087 / 15274 Next

Hamilton Filters (and Kalman)

If you have run "install.packages('RSiteSearch')" recently, I 
suggest you do so.  This will support the following: 


library(RSiteSearch)
k <- RSiteSearch.function('Kalman')
HTML(k)


      This identifies 60 help pages in 19 different packages that 
include the word "Kalman".  Another term for Kalman techniques is 
"dynamic linear models".  We can search for this and combine it with "k" 
as follows: 


dlm <- RSiteSearch.function('dynamic linear model')
dlms <- RSiteSearch.function('dynamic linear models')
# ".. model" and ".. models" may each find things the other misses. 
k. <- k | dlm | dlms
HTML(k.)


      By default, this sorts the 111 hits to display first the help 
pages in the package with the most hits.  In this case, "cts" appeared 
first with 12 hits, followed by "dlm" with 9.  I'm not familiar with 
"cts", but I've used "dlm".  It includes a vignette that helps someone 
get started.  A more complete description will be available in the 
soon-to-appear Petris, Petrone, and Campagnoli (2009) Dynamic Linear 
Models with R (Springer;  
http://www.amazon.com/Dynamic-Linear-Models-R-Use/dp/0387772375/ref=sr_1_1?ie=UTF8&s=books&qid=1242751460&sr=1-1).  



      "Hamilton Filter" is mentioned in 7 different help page identified 
by the following:      

hf <- RSiteSearch.function('Hamilton Filter')
HTML(hf)


      Hope this helps. 
      Spencer
Brian G. Peterson wrote: