A single step of a Gibbs Sampler
Return a Markov chain using Gibbs Sampling to determine the values of the system and observation noise covariance matrices, W and V
Return a Markov chain using Gibbs Sampling to determine the values of the system and observation noise covariance matrices, W and V
the model containing the definition of the observation matrix F_t and system evolution matrix G_t
the prior distribution on the observation noise matrix, V
the prior distribution on the system noise matrix, W
the initial parameters of the Markov Chain
an array of Data containing the observed time series
a Process
Calculate the sum of squared differences between the one step forecast and the actual observation for each time sum((y_t - f_t)^2)
Calculate the sum of squared differences between the one step forecast and the actual observation for each time sum((y_t - f_t)^2)
a model specifying the observation and system evolution matrices
an array containing the state sampled from the backward sampling algorithm
an array containing the actual observations of the data
the sum of squared differences between the one step forecast and the actual observation for each time
Sample the (diagonal) observation noise covariance matrix from an Inverse Gamma distribution
Sample the (diagonal) observation noise covariance matrix from an Inverse Gamma distribution
an Inverse Gamma prior distribution for each variance element of the observation matrix
the DLM specification
a sample of the DLM state
the observed values of the time series
the posterior distribution over the diagonal observation matrix
Sample state
Sample the (diagonal) system noise covariance matrix from an inverse gamma