BookmarkSubscribeRSS Feed
SASingaKorean
Calcite | Level 5

Hi, I want to write a code for extended Kalman filter. I know SAS has subroutine such as KALCVF but this subroutine is for a standard linear Kalman filter. The observation equation that I am trying to deal with has non-linear and time-varying coefficients that depends on the value of the previous state variables and observation variables. Specifically, my extended Kalman filter is 

 

X_t = a X_t-1 + error (State Equation)

Y_t = f(Y_t-1, X_t-2) X_t-1 + error (Observation Equation),

 

where f is a quadratic function. 

 

I think there is no way to use subroutine for run this Kalman filter. Probably, I need to write a code from scratch. If anyone had similar experience, please help me with this problem. 

 

Thank you

 

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Discussion stats
  • 0 replies
  • 453 views
  • 0 likes
  • 1 in conversation