helske / KFAS

KFAS: R Package for Exponential Family State Space Models
64 stars 17 forks source link

Exogenous variable #70

Closed AdamElderfield closed 3 years ago

AdamElderfield commented 3 years ago

Hi,

Could you please provide an example of how exogenous variables are handled in the observation and/or state equations for a custom state space model? I can't seem to find any reference or examples here. KFAS seems to be directly influenced by Durbin and Koopman, can matrix z be treated as time varying as in their book (page 61, section 3.6.2) and coefficient be state variables? Or is there the ability to use the intercept to capture exogenous variables?