# Time-varying parameter Kalman filter

조회 수: 16(최근 30일)
steve 2014년 1월 3일
답변: John Petersen 2014년 1월 4일
Hello,
I can't seem to find any good explanation or matlab implementation of a time-varying parameter Kalman filter.
I'm looking to estimate a time-varying coefficient model - I see this done in econometrics literature a fair bit but can find almost nothing written about it for matlab - I have found an example in R.
For example, the matlab helpguide to Kalman filtering (<http://www.mathworks.co.uk/help/control/ug/kalman-filtering.html#f0-1003572 here>) claims that it is possible to use implement a time-varying design but then provides an example in which the same time-invariant parameter matrices are used.
If I wanted to have a a time-dependent matrix C (same notation as mathworks example) what would I do? As an alternative to a regression (or rolling regression) I want to estimate a time-varying beta in the equation y(t) = C(t)*B(t). I'd have a state equation B(t) = B(t-1) + w(t).
Can anyone point me to a good example of how this is done?

댓글을 달려면 로그인하십시오.

### 답변(1개)

John Petersen 2014년 1월 4일
If your equations are linear then you can use the regular Kalman filter equations. Just put time (or delta time) where you need them in the matrix elements. If this isn't enough information, list your state and measurement equations or a simplified(or subset) version of them and I or someone else can help you. If your equations are nonlinear then you will need to use the Extended Kalman equations or unscented.

댓글을 달려면 로그인하십시오.

### 범주

Find more on State Estimation in Help Center and File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by