AddLocalLevel(
state.specification,
y,
sigma.prior,
initial.state.prior,
sdy,
initial.y)
SdPrior
describing the prior distribution for the standard deviation of the
random walk increments.NormalPrior
, describing the prior distribution
of the the initial state vector (at time 1).y
is provided, or if all the required
prior distributions are supplied directly. y
is provided, or if the priors for the initial
state are all provided directly.Durbin and Koopman (2001), "Time series analysis by state space methods", Oxford University Press.
bsts
.
SdPrior
NormalPrior