The state of the Markov chain for the Student's t-distribution gibbs sampler
Calculate the lagged difference between items in a Seq
Calculate the lagged difference between items in a Seq
a sequence of numeric values
a sequence of numeric values containing the once lagged difference
A single step of a Gibbs Sampler
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)
the observation matrix, a function from time => DenseMatrix[Double]
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
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
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
a sample of the DLM state
the observed values of the time series
the posterior distribution over the diagonal observation matrix
Sample the (square of the) scale of the Student's t distribution
Sample the state, incorporating the drawn variances for each observation
Sample the diagonal system matrix for an irregularly observed DLM
Sample the variances of the Normal distribution These are auxilliary variables required when calculating the one-step prediction in the Kalman Filter
Sample the variances of the Normal distribution These are auxilliary variables required when calculating the one-step prediction in the Kalman Filter
an array of observations of length N
the observation matrix
a sample from the state, using sampleStateT
the degrees of freedom of the Student's t-distribution
the (square of the) scale of the Student's t-distribution
a Rand distribution over the list of N variances
Perform Gibbs Sampling for the Student t-distributed model
A single step of the Student t-distribution Gibbs Sampler