Suppose I have a dynamic linear model as defined in the dlm
-package for R, see Petris 2009.
$y_t = F_t θ_t + ν_t, ν_t$~$N(0,V_t)$
$θ_t = G_t θ_{t-1}+ω_t,ω_t$~$N(0,W_t)$.
A random walk without drift would be specified as $F_t=G_t=1$, resulting in
$y_t = θ_t + ν_t, ν_t$~$N(0,V_t)$
$θ_t = θ_{t-1}+ω_t,ω_t$~$N(0,W_t)$.
A “random walk with drift DLM” I would think of as
$y_t = θ_t + ν_t, ν_t$~$N(0,V_t)$
$θ_t = θ_{t-1}+d +ω_t,ω_t$~$N(0,W_t)$.
Can that be represented in the DLM framework defined as above? If so, how?
Possibly related: Random walk with drift are differences white noise? , as perhaps a such-specifiable DLM may be obtained by differencing the data.