EconPapers    
Economics at your fingertips  
 

Matlab code for the solution to Riccati matrix difference equations associated with the Kalman filter

Thomas Sargent

QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles

Abstract: This program uses the "doubling algorithm" to solve the Riccati matrix difference equations associated with the Kalman filter. A is nxn, C is kxn, Q is nxn, R is kxk. The program returns the gain K and the stationary covariance matrix of the one-step ahead errors in forecasting the state.

Language: Matlab
References: Add references at CitEc
Citations:

Downloads: (external link)
https://dge.repec.org/codes/sargent/doub.m program code (application/x-matlab)
none

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:dge:qmrbcd:22

Access Statistics for this software item

More software in QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles
Bibliographic data for series maintained by Christian Zimmermann ().

 
Page updated 2025-04-07
Handle: RePEc:dge:qmrbcd:22